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

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-11-12 14:15:04-0800
New Revision: 16032

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

Log:
Deprecate setCurrentNamespace and getCurrentNamespace

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&rev=16032&p1=trunk/src/argouml-app/src/org/argouml/kernel/Project.java&p2=trunk/src/argouml-app/src/org/argouml/kernel/Project.java&r1=16031&r2=16032
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/kernel/Project.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/kernel/Project.java	2008-11-12 14:15:04-0800
@@ -390,12 +390,22 @@
 
     /**
      * @param m the namespace
+    * @deprecated for 0.27.2 by tfmorris. Since we can now have multiple top
+     *             level packages in the project, there is no concept of a
+     *             single current namespace. To add a new top-level package, use
+     *             {@link #getRoots()}.add(Object).
      */
+    @Deprecated
     public void setCurrentNamespace(final Object m);
 
     /**
      * @return the namespace
+     * @deprecated for 0.27.2 by tfmorris. Since we can now have multiple top
+     *             level packages in the project, there is no concept of a
+     *             single current namespace. Callers should use
+     *             {@link #getRoots()} and be prepared to handle multiple roots.
      */
+    @Deprecated
     public Object getCurrentNamespace();
 
 
@@ -610,7 +620,7 @@
      * Returns the uUIDRefs.
      * @return HashMap
      */
-    public Map getUUIDRefs();
+    public Map<String, Object> getUUIDRefs();
 
     /**
      * Sets the searchpath.
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.