svn commit: r13475 - trunk/src/model/src/org/argouml/model

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-09-01 20:25:12-0700
New Revision: 13475

Modified:
   trunk/src/model/src/org/argouml/model/Model.java
   trunk/src/model/src/org/argouml/model/ModelImplementation.java

Log:
Mark getCommandStack as deprecated so it doesn't get used.

Modified: trunk/src/model/src/org/argouml/model/Model.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/Model.java?view=diff&rev=13475&p1=trunk/src/model/src/org/argouml/model/Model.java&p2=trunk/src/model/src/org/argouml/model/Model.java&r1=13474&r2=13475
==============================================================================
--- trunk/src/model/src/org/argouml/model/Model.java	(original)
+++ trunk/src/model/src/org/argouml/model/Model.java	2007-09-01 20:25:12-0700
@@ -559,7 +559,10 @@
      * Get the command stack.
      * 
      * @return the command stack
+     * @deprecated - do not use. This will be replaced by a command stack
+     *             managed by ArgoUML, not the Model subsystem.
      */
+    @Deprecated
     public static CommandStack getCommandStack() {
         return impl.getCommandStack();
     }

Modified: trunk/src/model/src/org/argouml/model/ModelImplementation.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/ModelImplementation.java?view=diff&rev=13475&p1=trunk/src/model/src/org/argouml/model/ModelImplementation.java&p2=trunk/src/model/src/org/argouml/model/ModelImplementation.java&r1=13474&r2=13475
==============================================================================
--- trunk/src/model/src/org/argouml/model/ModelImplementation.java	(original)
+++ trunk/src/model/src/org/argouml/model/ModelImplementation.java	2007-09-01 20:25:12-0700
@@ -324,7 +324,10 @@
      * Get the command stack.
      * 
      * @return the command stack
+     * @deprecated - do not use. This will be replaced by a command stack
+     *             managed by ArgoUML, not the Model subsystem.
      */
+    @Deprecated
     CommandStack getCommandStack();
 
 }
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.