svn commit: r18779 - trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bobtarling
Date: 2010-09-26 02:53:38-0700
New Revision: 18779
Modified:
trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java
Log:
Code no longer used
Modified: trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java?view=diff&pathrev=18779&r1=18778&r2=18779
==============================================================================
--- trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java (original)
+++ trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/ui/RowSelector.java 2010-09-26 02:53:38-0700
@@ -57,15 +57,12 @@
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JToolBar;
-import javax.swing.JTree;
import javax.swing.ListModel;
import javax.swing.SwingUtilities;
import javax.swing.event.ListDataEvent;
import javax.swing.event.ListDataListener;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
-import javax.swing.plaf.TreeUI;
-import javax.swing.plaf.basic.BasicTreeUI;
import javax.swing.table.TableCellEditor;
import org.apache.log4j.Logger;
@@ -107,16 +104,6 @@
private static final long serialVersionUID = 3937183621483536749L;
/**
- * The icon to use when the control is expanded
- */
- private static Icon expandedIcon;
-
- /**
- * The icon to use when the control is collapsed
- */
- private static Icon collapsedIcon;
-
- /**
* The model element that is the target of this control
*/
private final Object target;
@@ -128,24 +115,6 @@
private final ArrayList actions;
- static {
- // Extract the icon that is used by the tree control
- // for the current look and feel
- final JTree dummyTree = new JTree();
-
- final TreeUI tu = dummyTree.getUI();
-
- if (tu instanceof BasicTreeUI) {
- final BasicTreeUI btu = (BasicTreeUI) tu;
- expandedIcon = btu.getExpandedIcon();
- collapsedIcon = btu.getCollapsedIcon();
- } else {
- // TODO: We want some default icons of our own here
- expandedIcon = null;
- collapsedIcon = null;
- }
- }
-
/**
* The scrollpane that will contain the list
*/
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2664723
To unsubscribe from this discussion, e-mail: [[email protected]].