svn commit: r12615 - trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2007-05-13 15:04:33-0700
New Revision: 12615

Modified:
   trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java

Log:
Allow a FigPool to have no owner

Modified: trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java?view=diff&rev=12615&p1=trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java&p2=trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java&r1=12614&r2=12615
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java	(original)
+++ trunk/src_new/org/argouml/uml/diagram/ArgoDiagram.java	2007-05-13 15:04:33-0700
@@ -34,6 +34,7 @@
 import org.argouml.kernel.Project;
 import org.argouml.kernel.ProjectManager;
 import org.argouml.model.Model;
+import org.argouml.uml.diagram.activity.ui.FigPool;
 import org.argouml.uml.diagram.static_structure.ui.FigComment;
 import org.argouml.uml.diagram.ui.FigEdgeModelElement;
 import org.argouml.uml.diagram.ui.FigNodeModelElement;
@@ -357,7 +358,7 @@
                 f.removeFromDiagram();
             }
         } else if ((f instanceof FigNode || f instanceof FigEdge)
-                && f.getOwner() == null) {
+                && f.getOwner() == null && !(f instanceof FigPool)) {
             if (figDescription == null) {
                 figDescription = figDescription(f);
                 report.append(figDescription);
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.