Author: mes
Date: 2011-11-23 16:47:09 -0800 (Wed, 23 Nov 2011)
New Revision: 27597
Added:
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleGUITunableHandlerFactory.java
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleSubmenuTunableHandlerFactory.java
Removed:
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicGUITunableHandlerFactory.java
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicSubmenuTunableHandlerFactory.java
Modified:
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/CyActivator.java
Log:
Renamed some final classes
Deleted:
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicGUITunableHandlerFactory.java
===================================================================
---
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicGUITunableHandlerFactory.java
2011-11-24 00:44:32 UTC (rev 27596)
+++
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicGUITunableHandlerFactory.java
2011-11-24 00:47:09 UTC (rev 27597)
@@ -1,25 +0,0 @@
-package org.cytoscape.work.swing;
-
-import org.cytoscape.work.BasicTunableHandlerFactory;
-
-
-/**
- * A specialization for GUITunableHandlers.
- * @param <T>
- * @CyAPI.Final.Class
- */
-public final class BasicGUITunableHandlerFactory<T extends GUITunableHandler>
extends BasicTunableHandlerFactory<T> implements GUITunableHandlerFactory<T> {
-
- /**
- * Constructs this BasicGUITunableHandlerFactory.
- * @param specificHandlerType The class of the specific handler to be
constructed
- * to handle the matching classes. For instance FloatHandler.class
might be specified
- * to handle values with a Float type.
- * @param classesToMatch One or more class types that will be handled
by this handler.
- * For example the FloatHandler might handle both Float.class and
float.class.
- */
- public BasicGUITunableHandlerFactory(Class<T> specificHandlerType,
Class<?>... classesToMatch ) {
- super(specificHandlerType, classesToMatch);
- }
-
-}
Deleted:
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicSubmenuTunableHandlerFactory.java
===================================================================
---
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicSubmenuTunableHandlerFactory.java
2011-11-24 00:44:32 UTC (rev 27596)
+++
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicSubmenuTunableHandlerFactory.java
2011-11-24 00:47:09 UTC (rev 27597)
@@ -1,24 +0,0 @@
-package org.cytoscape.work.swing;
-
-import org.cytoscape.work.BasicTunableHandlerFactory;
-
-/**
- * A specialization for SubmenuTunableHandlers.
- * @param <T>
- * @CyAPI.Final.Class
- */
-public final class BasicSubmenuTunableHandlerFactory<T extends
SubmenuTunableHandler> extends BasicTunableHandlerFactory<T> implements
SubmenuTunableHandlerFactory<T> {
-
- /**
- * Constructs this BasicSubmenuTunableHandlerFactory.
- * @param specificHandlerType The class of the specific handler to be
constructed
- * to handle the matching classes. For instance FloatHandler.class
might be specified
- * to handle values with a Float type.
- * @param classesToMatch One or more class types that will be handled
by this handler.
- * For example the FloatHandler might handle both Float.class and
float.class.
- */
- public BasicSubmenuTunableHandlerFactory(Class<T> specificHandlerType,
Class<?>... classesToMatch ) {
- super(specificHandlerType, classesToMatch);
- }
-
-}
Copied:
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleGUITunableHandlerFactory.java
(from rev 27587,
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicGUITunableHandlerFactory.java)
===================================================================
---
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleGUITunableHandlerFactory.java
(rev 0)
+++
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleGUITunableHandlerFactory.java
2011-11-24 00:47:09 UTC (rev 27597)
@@ -0,0 +1,25 @@
+package org.cytoscape.work.swing;
+
+import org.cytoscape.work.BasicTunableHandlerFactory;
+
+
+/**
+ * A specialization for GUITunableHandlers.
+ * @param <T>
+ * @CyAPI.Final.Class
+ */
+public final class SimpleGUITunableHandlerFactory<T extends GUITunableHandler>
extends BasicTunableHandlerFactory<T> implements GUITunableHandlerFactory<T> {
+
+ /**
+ * Constructs this BasicGUITunableHandlerFactory.
+ * @param specificHandlerType The class of the specific handler to be
constructed
+ * to handle the matching classes. For instance FloatHandler.class
might be specified
+ * to handle values with a Float type.
+ * @param classesToMatch One or more class types that will be handled
by this handler.
+ * For example the FloatHandler might handle both Float.class and
float.class.
+ */
+ public SimpleGUITunableHandlerFactory(Class<T> specificHandlerType,
Class<?>... classesToMatch ) {
+ super(specificHandlerType, classesToMatch);
+ }
+
+}
Copied:
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleSubmenuTunableHandlerFactory.java
(from rev 27587,
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/BasicSubmenuTunableHandlerFactory.java)
===================================================================
---
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleSubmenuTunableHandlerFactory.java
(rev 0)
+++
core3/api/trunk/work-swing-api/src/main/java/org/cytoscape/work/swing/SimpleSubmenuTunableHandlerFactory.java
2011-11-24 00:47:09 UTC (rev 27597)
@@ -0,0 +1,24 @@
+package org.cytoscape.work.swing;
+
+import org.cytoscape.work.BasicTunableHandlerFactory;
+
+/**
+ * A specialization for SubmenuTunableHandlers.
+ * @param <T>
+ * @CyAPI.Final.Class
+ */
+public final class SimpleSubmenuTunableHandlerFactory<T extends
SubmenuTunableHandler> extends BasicTunableHandlerFactory<T> implements
SubmenuTunableHandlerFactory<T> {
+
+ /**
+ * Constructs this BasicSubmenuTunableHandlerFactory.
+ * @param specificHandlerType The class of the specific handler to be
constructed
+ * to handle the matching classes. For instance FloatHandler.class
might be specified
+ * to handle values with a Float type.
+ * @param classesToMatch One or more class types that will be handled
by this handler.
+ * For example the FloatHandler might handle both Float.class and
float.class.
+ */
+ public SimpleSubmenuTunableHandlerFactory(Class<T> specificHandlerType,
Class<?>... classesToMatch ) {
+ super(specificHandlerType, classesToMatch);
+ }
+
+}
Modified:
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/CyActivator.java
===================================================================
---
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/CyActivator.java
2011-11-24 00:44:32 UTC (rev 27596)
+++
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/CyActivator.java
2011-11-24 00:47:09 UTC (rev 27597)
@@ -15,7 +15,7 @@
import org.cytoscape.work.internal.UndoSupportImpl;
import org.cytoscape.work.internal.tunables.utils.SupportedFileTypesManager;
-import org.cytoscape.work.swing.BasicGUITunableHandlerFactory;
+import org.cytoscape.work.swing.SimpleGUITunableHandlerFactory;
import org.cytoscape.work.TaskManager;
import org.cytoscape.work.SynchronousTaskManager;
import org.cytoscape.work.undo.UndoSupport;
@@ -53,7 +53,7 @@
UndoSupportImpl undoSupport = new UndoSupportImpl();
JDialogTunableMutator jDialogTunableMutator = new
JDialogTunableMutator();
JPanelTunableMutator jPanelTunableMutator = new
JPanelTunableMutator();
- BasicSubmenuTunableHandlerFactory
submenuListSingleSelectionHandlerFactory = new
BasicSubmenuTunableHandlerFactory(SubmenuTunableHandlerImpl.class,ListSingleSelection.class);
+ SimpleSubmenuTunableHandlerFactory
submenuListSingleSelectionHandlerFactory = new
SimpleSubmenuTunableHandlerFactory(SubmenuTunableHandlerImpl.class,ListSingleSelection.class);
JDialogTaskManager jDialogTaskManager = new
JDialogTaskManager(jDialogTunableMutator);
@@ -63,18 +63,18 @@
SubmenuTaskManager submenuTaskManager = new
SubmenuTaskManagerImpl(submenuTunableMutator,jDialogTaskManager);
SupportedFileTypesManager supportedFileTypesManager = new
SupportedFileTypesManager();
- BasicGUITunableHandlerFactory booleanHandlerFactory = new
BasicGUITunableHandlerFactory(BooleanHandler.class, Boolean.class,
boolean.class);
- BasicGUITunableHandlerFactory integerHandlerFactory = new
BasicGUITunableHandlerFactory(IntegerHandler.class, Integer.class, int.class);
- BasicGUITunableHandlerFactory floatHandlerFactory = new
BasicGUITunableHandlerFactory(FloatHandler.class, Float.class, float.class);
- BasicGUITunableHandlerFactory doubleHandlerFactory = new
BasicGUITunableHandlerFactory(DoubleHandler.class, Double.class, double.class);
- BasicGUITunableHandlerFactory longHandlerFactory = new
BasicGUITunableHandlerFactory(LongHandler.class, Long.class, long.class);
- BasicGUITunableHandlerFactory stringHandlerFactory = new
BasicGUITunableHandlerFactory(StringHandler.class,String.class);
- BasicGUITunableHandlerFactory boundedIntegerHandlerFactory =
new BasicGUITunableHandlerFactory(BoundedHandler.class,BoundedInteger.class);
- BasicGUITunableHandlerFactory boundedFloatHandlerFactory = new
BasicGUITunableHandlerFactory(BoundedHandler.class,BoundedFloat.class);
- BasicGUITunableHandlerFactory boundedDoubleHandlerFactory = new
BasicGUITunableHandlerFactory(BoundedHandler.class,BoundedDouble.class);
- BasicGUITunableHandlerFactory boundedLongHandlerFactory = new
BasicGUITunableHandlerFactory(BoundedHandler.class,BoundedLong.class);
- BasicGUITunableHandlerFactory listSingleSelectionHandlerFactory
= new
BasicGUITunableHandlerFactory(ListSingleHandler.class,ListSingleSelection.class);
- BasicGUITunableHandlerFactory
listMultipleSelectionHandlerFactory = new
BasicGUITunableHandlerFactory(ListMultipleHandler.class,ListMultipleSelection.class);
+ SimpleGUITunableHandlerFactory booleanHandlerFactory = new
SimpleGUITunableHandlerFactory(BooleanHandler.class, Boolean.class,
boolean.class);
+ SimpleGUITunableHandlerFactory integerHandlerFactory = new
SimpleGUITunableHandlerFactory(IntegerHandler.class, Integer.class, int.class);
+ SimpleGUITunableHandlerFactory floatHandlerFactory = new
SimpleGUITunableHandlerFactory(FloatHandler.class, Float.class, float.class);
+ SimpleGUITunableHandlerFactory doubleHandlerFactory = new
SimpleGUITunableHandlerFactory(DoubleHandler.class, Double.class, double.class);
+ SimpleGUITunableHandlerFactory longHandlerFactory = new
SimpleGUITunableHandlerFactory(LongHandler.class, Long.class, long.class);
+ SimpleGUITunableHandlerFactory stringHandlerFactory = new
SimpleGUITunableHandlerFactory(StringHandler.class,String.class);
+ SimpleGUITunableHandlerFactory boundedIntegerHandlerFactory =
new SimpleGUITunableHandlerFactory(BoundedHandler.class,BoundedInteger.class);
+ SimpleGUITunableHandlerFactory boundedFloatHandlerFactory = new
SimpleGUITunableHandlerFactory(BoundedHandler.class,BoundedFloat.class);
+ SimpleGUITunableHandlerFactory boundedDoubleHandlerFactory =
new SimpleGUITunableHandlerFactory(BoundedHandler.class,BoundedDouble.class);
+ SimpleGUITunableHandlerFactory boundedLongHandlerFactory = new
SimpleGUITunableHandlerFactory(BoundedHandler.class,BoundedLong.class);
+ SimpleGUITunableHandlerFactory
listSingleSelectionHandlerFactory = new
SimpleGUITunableHandlerFactory(ListSingleHandler.class,ListSingleSelection.class);
+ SimpleGUITunableHandlerFactory
listMultipleSelectionHandlerFactory = new
SimpleGUITunableHandlerFactory(ListMultipleHandler.class,ListMultipleSelection.class);
URLHandlerFactory urlHandlerFactory = new
URLHandlerFactory(bookmarkServiceRef,bookmarksUtilServiceRef);
FileHandlerFactory fileHandlerFactory = new
FileHandlerFactory(fileUtilRef,supportedFileTypesManager);
--
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.