Author: ruschein
Date: 2010-08-04 15:10:49 -0700 (Wed, 04 Aug 2010)
New Revision: 21200
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractHandler.java
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
core3/work-api/trunk/src/main/java/org/cytoscape/work/Handler.java
core3/work-api/trunk/src/main/java/org/cytoscape/work/TunableInterceptor.java
Log:
General cleanup.
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractHandler.java
===================================================================
--- core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractHandler.java
2010-08-04 20:48:56 UTC (rev 21199)
+++ core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractHandler.java
2010-08-04 22:10:49 UTC (rev 21200)
@@ -1,5 +1,6 @@
package org.cytoscape.work;
+
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
@@ -10,14 +11,12 @@
* Abstract handler for tunables. It provides constructor for Fields and
Methods that have been detected by <code>AbstractTunableInterceptor</code>,
* basic methods to access to the handler components, and to manage the
listeners for handler events.
*
- * This is a super class for <code>AbstractGuiHandler</code> and
<code>AbstractPropHandler</code>.
+ * This is a super class for <code>AbstractGUIHandler</code> and
<code>AbstractPropHandler</code>.
*
* @author pasteur
*
*/
-
public abstract class AbstractHandler implements Handler {
-
/**
* Field that needs to be intercepted
*
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
===================================================================
---
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
2010-08-04 20:48:56 UTC (rev 21199)
+++
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
2010-08-04 22:10:49 UTC (rev 21200)
@@ -1,13 +1,6 @@
/*
- Copyright (c) 2008, The Cytoscape Consortium (www.cytoscape.org)
+ Copyright (c) 2008, 2010, The Cytoscape Consortium (www.cytoscape.org)
- The Cytoscape Consortium is:
- - Institute for Systems Biology
- - University of California San Diego
- - Memorial Sloan-Kettering Cancer Center
- - Institut Pasteur
- - Agilent Technologies
-
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of the License, or
@@ -91,7 +84,7 @@
/**
* Creates a new AbstractTunableInterceptor object.
*
- * @param tunableHandlerFactory Factory of <code>Handlers</code> = can
be <code>GuiHandlerFactory</code> to make the GUI with the
<code>Handlers</code>,
+ * @param tunableHandlerFactory Factory of <code>Handlers</code> = can
be <code>GUIHandlerFactory</code> to make the GUI with the
<code>Handlers</code>,
* <code>CLHandlerFactory</code> to get the <code>Handlers</code>
that will create the <i>Options</i> for the <code>Tasks</code> runnable through
the CommandLine Interface,
* or <code>PropHandlerFactory</code> to get the <code>Handlers</code>
for Properties.
*/
Modified: core3/work-api/trunk/src/main/java/org/cytoscape/work/Handler.java
===================================================================
--- core3/work-api/trunk/src/main/java/org/cytoscape/work/Handler.java
2010-08-04 20:48:56 UTC (rev 21199)
+++ core3/work-api/trunk/src/main/java/org/cytoscape/work/Handler.java
2010-08-04 22:10:49 UTC (rev 21200)
@@ -8,7 +8,7 @@
* This interface specifies all the methods that will be applied to a
<code>Handler</code>.
*
* <p><pre>
- * The <code>Handler</code> can be used for the construction of the GUI (by
using the <code>Guihandler</code>),
+ * The <code>Handler</code> can be used for the construction of the GUI (by
using the <code>GUIHandler</code>),
* or can also be used to get parameters from the command line (by using the
<code>CLHandler</code>),
* and also to get the properties for each <code>Tunable</code> object through
its <code>Handlers</code>.
*
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/TunableInterceptor.java
===================================================================
---
core3/work-api/trunk/src/main/java/org/cytoscape/work/TunableInterceptor.java
2010-08-04 20:48:56 UTC (rev 21199)
+++
core3/work-api/trunk/src/main/java/org/cytoscape/work/TunableInterceptor.java
2010-08-04 22:10:49 UTC (rev 21200)
@@ -36,7 +36,7 @@
/**
* Display the identified tunables to a user in order to allow her/him
to modify their values.
* <p><pre>
- * Create the UI with JPanels for each <code>Guihandler</code>, and
display it to the user :
+ * Create the UI with JPanels for each <code>GUIHandler</code>, and
display it to the user :
* 1) In a <i>parent</i> JPanel if <code>setParent()</code> method
has been called before
* The new values will be applied to the original Objects
depending on the action that has been associated to the Buttons provided by
this panel.
*
@@ -60,9 +60,9 @@
/**
* Used to update tunable's values w/ the values as provided by a user.
- * This method will set the value for the Object of each
<code>Guihandler</code> taken from the <code>Map</code> that is containing the
+ * This method will set the value for the Object of each
<code>GUIHandler</code> taken from the <code>Map</code> that is containing the
* <code>Handlers</code>.<br>
- * Important : the value of the <code>Guihandler</code> will be set
only if its JPanel is valid.
+ * Important : the value of the <code>GUIHandler</code> will be set
only if its JPanel is valid.
* @return boolean The success or failure of the validation of
<code>Tunables</code>' values depending on <code>validate</code> method from
<code>TunableValidator</code> interface.
* <p><pre>
* True if the validation of <code>Tunables</code> values is a success
: the following tasks can then be executed
--
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.