Author: mes
Date: 2010-02-09 15:33:36 -0800 (Tue, 09 Feb 2010)
New Revision: 19277

Modified:
   cytoscape/trunk/src/cytoscape/actions/CytoPanelAction.java
Log:
removed some deprecated code

Modified: cytoscape/trunk/src/cytoscape/actions/CytoPanelAction.java
===================================================================
--- cytoscape/trunk/src/cytoscape/actions/CytoPanelAction.java  2010-02-09 
22:51:41 UTC (rev 19276)
+++ cytoscape/trunk/src/cytoscape/actions/CytoPanelAction.java  2010-02-09 
23:33:36 UTC (rev 19277)
@@ -61,13 +61,6 @@
        protected String title;
        protected int position;
 
-       /**
-        * @deprecated Use other constructor instead. Will be removed 4/2008.
-        */
-       public CytoPanelAction(JCheckBoxMenuItem menuItem, CytoPanel cytoPanel) 
{
-               this(cytoPanel.getTitle(), cytoPanel.getCompassDirection(), 
menuItem.isSelected());
-       }
-
        public CytoPanelAction(CytoPanelName cp, boolean show) {
                this(cp.getTitle(), cp.getCompassDirection(), show);
        }
@@ -98,11 +91,9 @@
 
                if (curState == CytoPanelState.HIDE) {
                        
Cytoscape.getDesktop().getCytoPanel(position).setState(CytoPanelState.DOCK);
-                       //putValue(Action.NAME, HIDE + " " + title);
 
                } else {
                        
Cytoscape.getDesktop().getCytoPanel(position).setState(CytoPanelState.HIDE);
-                       //putValue(Action.NAME, SHOW + " " + title);
                }
        } 
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to