Author: bobtarling
Date: 2007-05-26 10:40:24-0700
New Revision: 12665
Modified:
trunk/src/model/src/org/argouml/model/AbstractActivityGraphsHelperDecorator.java
trunk/src/model/src/org/argouml/model/ActivityGraphsHelper.java
Log:
Move elements between partitions when moved between swimlanes
Modified: trunk/src/model/src/org/argouml/model/AbstractActivityGraphsHelperDecorator.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/AbstractActivityGraphsHelperDecorator.java?view=diff&rev=12665&p1=trunk/src/model/src/org/argouml/model/AbstractActivityGraphsHelperDecorator.java&p2=trunk/src/model/src/org/argouml/model/AbstractActivityGraphsHelperDecorator.java&r1=12664&r2=12665
==============================================================================
--- trunk/src/model/src/org/argouml/model/AbstractActivityGraphsHelperDecorator.java (original)
+++ trunk/src/model/src/org/argouml/model/AbstractActivityGraphsHelperDecorator.java 2007-05-26 10:40:24-0700
@@ -85,6 +85,14 @@
impl.setContents(partition, newContents);
}
+ public void addContent(Object partition, Object modelElement) {
+ impl.addContent(partition, modelElement);
+ }
+
+ public void removeContent(Object partition, Object modelElement) {
+ impl.removeContent(partition, modelElement);
+ }
+
public void setSynch(Object objectFlowState, boolean isSynch) {
impl.setSynch(objectFlowState, isSynch);
}
Modified: trunk/src/model/src/org/argouml/model/ActivityGraphsHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/ActivityGraphsHelper.java?view=diff&rev=12665&p1=trunk/src/model/src/org/argouml/model/ActivityGraphsHelper.java&p2=trunk/src/model/src/org/argouml/model/ActivityGraphsHelper.java&r1=12664&r2=12665
==============================================================================
--- trunk/src/model/src/org/argouml/model/ActivityGraphsHelper.java (original)
+++ trunk/src/model/src/org/argouml/model/ActivityGraphsHelper.java 2007-05-26 10:40:24-0700
@@ -103,6 +103,20 @@
* @param newContents the new contents of the partition (modelelements)
*/
void setContents(Object partition, Collection newContents);
+
+ /**
+ * Add a model element to a partition
+ * @param partition the partition to contain the model element
+ * @param modeElement the model element to place in the partition
+ */
+ void addContent(Object partition, Object modeElement);
+
+ /**
+ * Remove a model element from a partition
+ * @param partition the partition currently containing the model element
+ * @param modeElement the model element to be removed from the partition
+ */
+ void removeContent(Object partition, Object modeElement);
/**
* Set the isSynch attribute of an ObjectFlowState.
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.