Author: mkirby
Date: 2012-05-25 15:01:54 -0700 (Fri, 25 May 2012)
New Revision: 29367
Removed:
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/sync/
core3/impl/trunk/work-swing-impl/impl/src/test/java/org/cytoscape/work/internal/
Modified:
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/CyActivator.java
Log:
mkirby: Moved sync package and tests to work-impl.
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
2012-05-25 21:39:45 UTC (rev 29366)
+++
core3/impl/trunk/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/CyActivator.java
2012-05-25 22:01:54 UTC (rev 29367)
@@ -15,11 +15,6 @@
import org.cytoscape.work.TunableHandlerFactory;
import org.cytoscape.work.TunableRecorder;
import org.cytoscape.work.TunableSetter;
-import org.cytoscape.work.internal.sync.SyncTaskManager;
-import org.cytoscape.work.internal.sync.SyncTunableHandlerFactory;
-import org.cytoscape.work.internal.sync.SyncTunableMutator;
-import org.cytoscape.work.internal.sync.TunableSetterImpl;
-import org.cytoscape.work.internal.sync.TunableRecorderManager;
import org.cytoscape.work.internal.task.JDialogTaskManager;
import org.cytoscape.work.internal.task.JPanelTaskManager;
import org.cytoscape.work.internal.tunables.BooleanHandler;
@@ -103,10 +98,6 @@
FileHandlerFactory fileHandlerFactory = new
FileHandlerFactory(fileUtilRef,supportedFileTypesManager);
- SyncTunableMutator syncTunableMutator = new
SyncTunableMutator();
- SyncTunableHandlerFactory syncTunableHandlerFactory = new
SyncTunableHandlerFactory();
- SyncTaskManager syncTaskManager = new
SyncTaskManager(syncTunableMutator);
-
Properties undoSupportProps = new Properties();
registerService(bc,undoSupport,UndoSupport.class,
undoSupportProps);
registerService(bc,undoSupport,SwingUndoSupport.class,
undoSupportProps);
@@ -116,7 +107,6 @@
registerService(bc,jPanelTaskManager,PanelTaskManager.class,
new Properties());
- registerAllServices(bc,syncTaskManager, new Properties());
registerService(bc,integerHandlerFactory,GUITunableHandlerFactory.class, new
Properties());
registerService(bc,floatHandlerFactory,GUITunableHandlerFactory.class, new
Properties());
@@ -133,24 +123,13 @@
registerService(bc,fileHandlerFactory,GUITunableHandlerFactory.class, new
Properties());
registerService(bc,urlHandlerFactory,GUITunableHandlerFactory.class, new
Properties());
- Properties syncFactoryProp = new Properties();
- registerService(bc,syncTunableHandlerFactory,
TunableHandlerFactory.class, syncFactoryProp);
- // This is a hack: directly add factory to the service.
-
syncTunableMutator.addTunableHandlerFactory(syncTunableHandlerFactory,
syncFactoryProp);
-
registerServiceListener(bc,supportedFileTypesManager,"addInputStreamTaskFactory","removeInputStreamTaskFactory",InputStreamTaskFactory.class);
registerServiceListener(bc,supportedFileTypesManager,"addCyWriterTaskFactory","removeCyWriterTaskFactory",CyWriterFactory.class);
registerServiceListener(bc,jDialogTaskManager,"addTunableRecorder","removeTunableRecorder",TunableRecorder.class);
-
registerServiceListener(bc,syncTaskManager,"addTunableRecorder","removeTunableRecorder",TunableRecorder.class);
registerServiceListener(bc,jPanelTunableMutator,"addTunableHandlerFactory","removeTunableHandlerFactory",GUITunableHandlerFactory.class,
TunableHandlerFactory.class);
registerServiceListener(bc,jDialogTunableMutator,"addTunableHandlerFactory","removeTunableHandlerFactory",GUITunableHandlerFactory.class,
TunableHandlerFactory.class);
- TunableRecorderManager trm = new TunableRecorderManager();
-
registerServiceListener(bc,trm,"addTunableRecorder","removeTunableRecorder",TunableRecorder.class);
-
- TunableSetterImpl tsi = new
TunableSetterImpl(syncTunableMutator,trm);
- registerService(bc,tsi,TunableSetter.class, new Properties());
}
}
--
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.