svn commit: r18734 - trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLComboBoxNavigator.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-09-12 23:57:09-0700
New Revision: 18734

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

Log:
Delete unused code

Modified: trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLComboBoxNavigator.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLComboBoxNavigator.java?view=diff&pathrev=18734&r1=18733&r2=18734
==============================================================================
--- trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLComboBoxNavigator.java	(original)
+++ trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/UMLComboBoxNavigator.java	2010-09-12 23:57:09-0700
@@ -45,21 +45,15 @@
 import java.awt.event.ItemListener;
 import java.util.List;
 
-import javax.swing.AbstractListModel;
 import javax.swing.Action;
 import javax.swing.ComboBoxModel;
 import javax.swing.ImageIcon;
 import javax.swing.JButton;
 import javax.swing.JComboBox;
 import javax.swing.JPanel;
-import javax.swing.JToolBar;
 
 import org.argouml.application.helpers.ResourceLoaderWrapper;
 import org.argouml.ui.targetmanager.TargetManager;
-import org.tigris.swidgets.FlexiGridLayout;
-import org.tigris.toolbar.ToolBarFactory;
-import org.tigris.toolbar.toolbutton.PopupToolBoxButton;
-import org.tigris.toolbar.toolbutton.ToolButton;
 
 /**
  * This class implements a panel that adds a navigation button to the right of
@@ -71,6 +65,11 @@
 public class UMLComboBoxNavigator extends UmlControl implements ActionListener,
         ItemListener {
 
+    /**
+     * The UID
+     */
+    private static final long serialVersionUID = -4076669106516586439L;
+
     private static ImageIcon icon = ResourceLoaderWrapper
             .lookupIconResource("ComboNav");
 
@@ -106,22 +105,6 @@
             if (!actions.isEmpty()) {
                 final JPanel buttonPanel =
                 	createSingleButtonPanel(actions);
-//                    new JPanel(new FlexiGridLayout(2, 1, FlexiGridLayout.ROWCOLPREFERRED));
-//        		final ToolButton tb;
-//            	if (actions.size() == 1) {
-//            		tb = new ToolButton(actions.get(0));
-//            	} else {
-//                    PopupToolBoxButton ptb = new PopupToolBoxButton(actions.get(0), actions.size(), 1, true);
-//                    for (Action action : actions) {
-//                        ptb.add(action);
-//                    }
-//                    tb = ptb;
-//            	}
-//                final ToolBarFactory tbf = new ToolBarFactory(new Object[] {});
-//                JToolBar toolbar = tbf.createToolBar();
-//                toolbar.setRollover(true);
-//        		toolbar.add(tb);
-//                buttonPanel.add(toolbar);
                 add(buttonPanel, BorderLayout.WEST);
                 
             }

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

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.