Author: pwang
Date: 2011-04-04 13:59:31 -0700 (Mon, 04 Apr 2011)
New Revision: 24659

Modified:
   
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/GUITunableInterceptor.java
Log:
Add a new method to API

Modified: 
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/GUITunableInterceptor.java
===================================================================
--- 
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/GUITunableInterceptor.java
        2011-04-04 20:57:21 UTC (rev 24658)
+++ 
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/GUITunableInterceptor.java
        2011-04-04 20:59:31 UTC (rev 24659)
@@ -1,7 +1,7 @@
 package org.cytoscape.work.swing;
 
 
-import java.util.Map;
+import java.awt.Window;
 import javax.swing.JPanel;
 
 import org.cytoscape.work.TunableInterceptor;
@@ -29,13 +29,18 @@
        JPanel getUI(Object... obs);
 
        /**
-        * Use to add the Tunables' JPanels to an external JPanel that has been 
defined 
+        * Use to add the Tunable's JPanels to an external JPanel that has been 
defined 
         * in another class.
         * @param parent An Object that has to be an instance of a 
<code>JPanel</code>.
         * @throws IllegalArgumentException If the Object o is not a JPanel, it 
can not be 
         * set as the parent for the others : they will be displayed to the 
user in a 
         * <code>JOptionPanel</code>.
         */
-       void setParent(final JPanel parent);
+       void setTunablePanel(final JPanel parent);
        
+       /*
+        * Used to set the top level parent (window) of Tunable dialog
+        * @param topParent An UI component, usually it is the desktop window 
of Cytoscape
+        */
+       public void setParent(Window win);
 }

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