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

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-07-27 22:59:19-0700
New Revision: 15384

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

Log:
Issue 4994: Add support for read-only extents

Modified: trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java?view=diff&rev=15384&p1=trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java&p2=trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java&r1=15383&r2=15384
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java	(original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/ModelManagementHelper.java	2008-07-27 22:59:19-0700
@@ -414,4 +414,15 @@
      */
     Collection getAllContents(Object namespace);
 
+    /**
+     * Return the true if the model element is read only (ie not modifiable).
+     * Note that this differs from
+     * {@link Facade#isReadOnly(Object)) which refers to <em>instances</em> of a
+     * given model (M0 level) as opposed to the model itself (M1).
+     * 
+     * @param element a UML Element
+     * @return true if the element is readonly
+     * @since 0.26
+     */
+    boolean isReadOnly(Object element);
 }
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.