Author: mmichaud
Date: 2009-06-11 10:41:44 -0700 (Thu, 11 Jun 2009)
New Revision: 16926
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/BooleanHandler.java
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/utils/XorPanel.java
Log:
[]
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/BooleanHandler.java
===================================================================
---
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/BooleanHandler.java
2009-06-11 17:15:34 UTC (rev 16925)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/BooleanHandler.java
2009-06-11 17:41:44 UTC (rev 16926)
@@ -12,8 +12,6 @@
import org.cytoscape.work.Tunable;
import org.cytoscape.work.Tunable.Param;
-
-
public class BooleanHandler extends AbstractGuiHandler {
private JCheckBox jcb;
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
===================================================================
---
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
2009-06-11 17:15:34 UTC (rev 16925)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/GuiHandlerFactory.java
2009-06-11 17:41:44 UTC (rev 16926)
@@ -25,11 +25,6 @@
import org.cytoscape.work.util.ListSingleSelection;
-
-
-
-
-
/**
* Provides a factory to create <code>Guihandler</code> depending on their type
* A <code>Guihandler</code> is simply a <code>Handler</code> with the GUI
aspect to display the handled object to the user in a proper way.
@@ -58,6 +53,21 @@
/**
+ * To get a <code>Handler</code> for a get and set Methods annotated as
<code>Tunable</code>
+ *
+ * @param gmethod the annotated get method
+ * @param smethod the annotated set method
+ * @param o object of the <code>Handler</code>
+ * @param tg tunable of the get method of the
<code>Handler</code>
+ * @param ts tunable of the set method of
the<code>Handler</code>
+ * @return a <code>Guihandler</code> object depending on the Method's
type
+ */
+ public Guihandler getHandler(Method gmethod,Method smethod, Object o,
Tunable tg, Tunable ts) {
+ return null;
+ }
+
+
+ /**
* To get a <code>Handler</code> for a Method annotated as
<code>Tunable</code>
*
* @param m the annotated method
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/utils/XorPanel.java
===================================================================
---
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/utils/XorPanel.java
2009-06-11 17:15:34 UTC (rev 16925)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/tunables/utils/XorPanel.java
2009-06-11 17:41:44 UTC (rev 16926)
@@ -15,10 +15,10 @@
import org.cytoscape.work.Handler;
import org.cytoscape.work.HandlerListener;
import org.cytoscape.work.Tunable;
-
import org.cytoscape.work.internal.tunables.Guihandler;
+...@suppresswarnings("serial")
public class XorPanel extends JPanel {
@@ -115,6 +115,22 @@
// TODO Auto-generated method stub
return false;
}
+ public Method getGetMethod() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+ public Tunable getGetTunable() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+ public Method getSetMethod() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+ public Tunable getSetTunable() {
+ // TODO Auto-generated method stub
+ return null;
+ }
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---