Author: pwang
Date: 2011-04-08 15:12:15 -0700 (Fri, 08 Apr 2011)
New Revision: 24726

Modified:
   
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/AbstractToolBarComponent.java
   
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/ToolBarComponent.java
Log:
Clean up

Modified: 
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/AbstractToolBarComponent.java
===================================================================
--- 
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/AbstractToolBarComponent.java
       2011-04-08 20:30:08 UTC (rev 24725)
+++ 
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/AbstractToolBarComponent.java
       2011-04-08 22:12:15 UTC (rev 24726)
@@ -3,13 +3,9 @@
 
 public abstract class AbstractToolBarComponent implements ToolBarComponent{
 
-       protected float toolbarGravity = 100.0f; // end of toolbar
+       protected float toolbarGravity = 100.0f;
+       protected boolean isEnabled = true;
        
-
-       //public AbstractToolBarComponent(){
-               
-       //}
-       
        public void setToolBarGravity(float gravity) {
                toolbarGravity = gravity;
        }

Modified: 
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/ToolBarComponent.java
===================================================================
--- 
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/ToolBarComponent.java
       2011-04-08 20:30:08 UTC (rev 24725)
+++ 
core3/swing-application-api/trunk/src/main/java/org/cytoscape/application/swing/ToolBarComponent.java
       2011-04-08 22:12:15 UTC (rev 24726)
@@ -14,31 +14,11 @@
         * Returns the gravity used to place this component in the toolbar.
         * @return The gravity used to place this component in the toolbar.
         */
-       float getToolBarGravity();
+       public float getToolBarGravity();
        
        /**
         * Returns the Component to be added to the ToolBar. 
         * @return The Component to be added to the ToolBar. 
         */
-       Component getComponent();
-
-       /**
-        * Returns the name of the CytoPanel that this component should be 
added to.
-        * @return the name of the CytoPanel that this component should be 
added to.
-        */
-       //CytoPanelName getCytoPanelName();
-
-       /**
-        * Returns the title of the tab within the CytoPanel for this component.
-        * @return the title of the tab within the CytoPanel for this component.
-        */
-       //String getTitle();
-
-       /**
-        * Returns the Icon to be used along with the title in the tab for this
-        * this component. May be null!
-        * @return the Icon to be used along with the title in the tab for this
-        * this component. May be null!
-        */
-       //Icon getIcon();
+       public Component getComponent();
 }
\ No newline at end of file

-- 
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