svn commit: r13129 - trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-07-23 23:36:47-0700
New Revision: 13129

Modified:
   trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java

Log:
Issue 4812 - Fix toolbelt for StereotypeDefinition

Modified: trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java?view=diff&rev=13129&p1=trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java&p2=trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java&r1=13128&r2=13129
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java	(original)
+++ trunk/src_new/org/argouml/uml/diagram/static_structure/ui/SelectionStereotype.java	2007-07-23 23:36:47-0700
@@ -128,8 +128,8 @@
     @Override
     protected Icon[] getIcons() {
         // In the DeploymentDiagram there are no Generalizations
-        if (!(Globals.curEditor().getGraphModel() 
-                instanceof DeploymentDiagramGraphModel)) {
+        if (Globals.curEditor().getGraphModel() 
+                instanceof DeploymentDiagramGraphModel) {
             return null;
         }
         return icons;
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.