svn commit: r18576 - 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-25 13:46:50-0700
New Revision: 18576

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

Log:
Allow icons to display for tool buttons

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=18576&r1=18575&r2=18576
==============================================================================
--- 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-25 13:46:50-0700
@@ -76,14 +76,12 @@
         for (Object meta : edgeTools) {
             actions[i++] = getCreateEdgeAction(
                     meta, 
-                    "button.new-" 
-                    + Model.getMetaTypes().getName(meta).toLowerCase());
+                    Model.getMetaTypes().getName(meta));
         }
         for (Object meta : nodeTools) {
             actions[i++] = getCreateNodeAction(
                     meta, 
-                    "button.new-" 
-                    + Model.getMetaTypes().getName(meta).toLowerCase());
+                    Model.getMetaTypes().getName(meta));
         }
         return actions;
     }

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

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.