svn commit: r13878 - trunk/src/model/src/org/argouml/model/ModelManagementHelper.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-12-08 02:08:21-0800
New Revision: 13878

Modified:
   trunk/src/model/src/org/argouml/model/ModelManagementHelper.java

Log:
Add getElement() variant which starts at the repository root.

Modified: trunk/src/model/src/org/argouml/model/ModelManagementHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/ModelManagementHelper.java?view=diff&rev=13878&p1=trunk/src/model/src/org/argouml/model/ModelManagementHelper.java&p2=trunk/src/model/src/org/argouml/model/ModelManagementHelper.java&r1=13877&r2=13878
==============================================================================
--- trunk/src/model/src/org/argouml/model/ModelManagementHelper.java	(original)
+++ trunk/src/model/src/org/argouml/model/ModelManagementHelper.java	2007-12-08 02:08:21-0800
@@ -123,6 +123,14 @@
     Collection getAllPossibleImports(Object pack);
 
     /**
+     * Get the modelelement with the given path, starting at the root of repository.
+     *
+     * @param path the given path
+     * @return the modelelement looked for, or null if not found
+     */
+    Object getElement(List<String> path);
+    
+    /**
      * Get the modelelement a given path below a given root-namespace.
      *
      * @param path the given path
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.