svn commit: r17544 - trunk/src/argouml-core-model/src/org/argouml/model

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2009-11-24 18:52:00-0800
New Revision: 17544

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

Log:
Allow move functionality for more controls

Modified: trunk/src/argouml-core-model/src/org/argouml/model/AbstractUmlHelperDecorator.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/AbstractUmlHelperDecorator.java?view=diff&pathrev=17544&r1=17543&r2=17544
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/AbstractUmlHelperDecorator.java	(original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/AbstractUmlHelperDecorator.java	2009-11-24 18:52:00-0800
@@ -69,8 +69,8 @@
     /*
      * @see org.argouml.model.UmlHelper#move(java.lang.Object, org.argouml.model.UmlHelper.Direction)
      */
-    public void move(Object element, Direction direction) {
-        impl.move(element, direction);
+    public void move(Object parent, Object element, Direction direction) {
+        impl.move(parent, element, direction);
     }
 
 }

Modified: trunk/src/argouml-core-model/src/org/argouml/model/UmlHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/UmlHelper.java?view=diff&pathrev=17544&r1=17543&r2=17544
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/UmlHelper.java	(original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/UmlHelper.java	2009-11-24 18:52:00-0800
@@ -79,9 +79,9 @@
      * This is used to change the ordering of elements that are already
      * in some container. E.g. attributes within a class. They can be moved
      * up, down or to top or bottom. 
-     * 
+     * @param parent TODO
      * @param element the element to move
      * @param direction the direction of movement
      */
-    void move(Object element, Direction direction);
+    void move(Object parent, Object element, Direction direction);
 }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2424054

To unsubscribe from this discussion, e-mail: [[email protected]].
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.