svn commit: r16657 - trunk/src/argouml-app/src/org/argouml/kernel/Project.java

Michiel van der Wulp <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2009-01-19 08:04:24-0800
New Revision: 16657

Modified:
   trunk/src/argouml-app/src/org/argouml/kernel/Project.java

Log:
Documented the input from Tom from the dev list.

Modified: trunk/src/argouml-app/src/org/argouml/kernel/Project.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/kernel/Project.java?view=diff&pathrev=16657&r1=16656&r2=16657
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/kernel/Project.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/kernel/Project.java	2009-01-19 08:04:24-0800
@@ -551,7 +551,11 @@
      * @deprecated for 0.27.2 by tfmorris for all uses other than argo.tee. The
      *             active diagram is a concept associated with the current
      *             editing window, not a project. It can be retrieved from
-     *          {@link org.argouml.uml.diagram.DiagramUtils#getActiveDiagram()}.
+     *          {@link org.argouml.uml.diagram.DiagramUtils#getActiveDiagram()},
+     *          which will get the diagram for the window 
+     *          that last contained the mouse (from GEF).
+     *          Alternatively, to get the diagram from a Fig, use 
+     *          ((LayerPerspective) getLayer()).getDiagram().
      */
     @Deprecated
     public ArgoDiagram getActiveDiagram();

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

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.