svn commit: r17571 - trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2009-12-01 10:38:17-0800
New Revision: 17571

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

Log:
Remove my previous code for JList toolbars - the latest solution is far better

Modified: trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java?view=diff&pathrev=17571&r1=17570&r2=17571
==============================================================================
--- trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java	(original)
+++ trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java	2009-12-01 10:38:17-0800
@@ -247,16 +247,6 @@
             label.setLabelFor(list);
             panel.add(label);
             panel.add(list);
-            if (list instanceof ScrollList) {
-                final ListModel m = ((ScrollList) list).getListModel();
-                if (m instanceof UMLModelElementListModel) {
-                    final List<Action> actions = ((UMLModelElementListModel) m).getActions();
-                    final ToolBarFactory tbf = new ToolBarFactory(actions);
-                    final JToolBar tb = tbf.createToolBar();
-                    tb.setBackground(Color.green);
-                    panel.add(tb);
-                }
-            }
         }
     }

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

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.