svn commit: r18572 - trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-07-24 16:03:22-0700
New Revision: 18572

Modified:
   trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java

Log:
The i18n labels are typically lower case

Modified: trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java?view=diff&pathrev=18572&r1=18571&r2=18572
==============================================================================
--- trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java	(original)
+++ trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/BaseDiagram.java	2010-07-24 16:03:22-0700
@@ -68,15 +68,22 @@
     @Override
     protected Object[] getUmlActions() {
         
-        Object[] edgeTools = getNewEdgeTypes();
-        Object[] nodeTools = getNewNodeTypes();
-        Object[] actions = new Object[edgeTools.length + nodeTools.length];
+        final Object[] edgeTools = getNewEdgeTypes();
+        final Object[] nodeTools = getNewNodeTypes();
+        final Object[] actions =
+            new Object[edgeTools.length + nodeTools.length];
         int i = 0;
         for (Object meta : edgeTools) {
-            actions[i++] = getCreateEdgeAction(meta, "button.new-" + Model.getMetaTypes().getName(meta));
+            actions[i++] = getCreateEdgeAction(
+                    meta, 
+                    "button.new-" 
+                    + Model.getMetaTypes().getName(meta).toLowerCase());
         }
         for (Object meta : nodeTools) {
-            actions[i++] = getCreateNodeAction(meta, "button.new-" + Model.getMetaTypes().getName(meta));
+            actions[i++] = getCreateNodeAction(
+                    meta, 
+                    "button.new-" 
+                    + Model.getMetaTypes().getName(meta).toLowerCase());
         }
         return actions;
     }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2637769

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.