svn commit: r17083 - trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLModelElementListModel.java

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2009-04-08 16:44:13-0700
New Revision: 17083

Modified:
   trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLModelElementListModel.java

Log:
TODO: Where I'll continue on return from holiday

Modified: trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLModelElementListModel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLModelElementListModel.java?view=diff&pathrev=17083&r1=17082&r2=17083
==============================================================================
--- trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLModelElementListModel.java	(original)
+++ trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLModelElementListModel.java	2009-04-08 16:44:13-0700
@@ -48,6 +48,7 @@
 import org.argouml.uml.ui.AbstractActionRemoveElement;
 import org.tigris.gef.base.Diagram;
 import org.tigris.gef.presentation.Fig;
+import org.tigris.toolbar.ToolBar;
 
 /**
  * The model for a list that contains ModelElements. The state of the Element is
@@ -579,6 +580,19 @@
         return false;
     }
     
+    /**
+     * Get a toolbar containing all the actions available on this JList.
+     * @return the toolbar.
+     */
+    public ToolBar getToolbar() {
+        // TODO: First implementation will be to call buildPopop
+        // and extract all the contained actions. The toolbar will
+        // be built to the same structure.
+        // The toolbar will be displayed to the left of the JList
+        // under the label.
+        return null;
+    }
+    
     protected boolean hasPopup() {
         return false;
     }

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

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.