Commit 23c55d02 authored by Philipp Spohr's avatar Philipp Spohr
Browse files

more work

parent 040c4379
......@@ -112,7 +112,6 @@ public class CyActivator extends AbstractCyActivator {
}
//Register commands / CyRest
TaskFactory commandTaskFactory = new CommandTaskFactory(YoshikoCommand.PERFORM_ALGORITHM);
Properties props = new Properties();
props.setProperty(COMMAND_NAMESPACE, "yoshiko");
......@@ -120,8 +119,6 @@ public class CyActivator extends AbstractCyActivator {
props.setProperty(COMMAND_DESCRIPTION,"TEST PERFORM ALGORITHM");
registerService(context, commandTaskFactory, TaskFactory.class, props);
//Initialize and register main panel
MainPanel mainPanel = new MainPanel();
registerService(context,mainPanel,CytoPanelComponent.class, new Properties());
......
package de.hhu.ba.yoshikoWrapper.taskFactories;
import org.cytoscape.work.AbstractTaskFactory;
import org.cytoscape.work.TaskFactory;
import org.cytoscape.work.TaskIterator;
import de.hhu.ba.yoshikoWrapper.tasks.AlgorithmTask;
public class CommandTaskFactory extends AbstractTaskFactory{
public class CommandTaskFactory implements TaskFactory{
private final YoshikoCommand command;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment