svn commit: r19129 - trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2011-03-24 11:32:24-0700
New Revision: 19129

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java

Log:
Only check dependencies for NamedElements (that is all elements in UML1.4 but restricted in UML2)

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java?view=diff&pathrev=19129&r1=19128&r2=19129
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java	2011-03-24 11:32:24-0700
@@ -401,7 +401,7 @@
      * @see org.tigris.gef.graph.MutableGraphModel#addNodeRelatedEdges(java.lang.Object)
      */
     public void addNodeRelatedEdges(Object node) {
-        if (Model.getFacade().isAModelElement(node)) {
+        if (Model.getFacade().isANamedElement(node)) {
             List specs =
                 new ArrayList(Model.getFacade().getClientDependencies(node));
             specs.addAll(Model.getFacade().getSupplierDependencies(node));

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

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.