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

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2009-01-09 14:36:36-0800
New Revision: 16559

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

Log:
Update Javadoc.  No code changes.

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=16559&r1=16558&r2=16559
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java	2009-01-09 14:36:36-0800
@@ -73,11 +73,11 @@
     private List edges = new ArrayList();
 
     /**
-     * The "home" UML model of this diagram, not all ModelElements in this
-     * graph are in the home model, but if they are added and don't
-     * already have a model, they are placed in the "home model".
-     * Also, elements from other models will have their FigNodes add a
-     * line to say what their model is.
+     * The owning namespace or "home model" of this diagram, not all
+     * ModelElements in this graph are in the home model, but if they are added
+     * and don't already have a model, they are placed in the "home model".
+     * Also, elements from other models will have their FigNodes add a line to
+     * say what their model is.
      */
     private Object homeModel;
 
@@ -180,7 +180,7 @@
     }
 
     /**
-     * Get the homemodel.
+     * Get the namespace, also known as homemodel, which owns the diagram.
      *
      * @return the homemodel
      */
@@ -189,7 +189,9 @@
     }
 
     /**
-     * Set the homemodel.
+     * Set the namespace or homemodel of the diagram.  This will become the
+     * default namespace for any model elements which are created on 
+     * the diagram.
      *
      * @param ns the namespace
      */
@@ -459,7 +461,8 @@
                             toStyle,
                             unidirectional,
                             namespace);
-        	LOG.info("Created " + connection + " between " + fromElement + " and " + toElement);
+        	LOG.info("Created " + connection + " between " 
+        	        + fromElement + " and " + toElement);
             } catch (UmlException ex) {
                 // fail silently as we expect users to accidentally drop
                 // on to wrong component

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

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.