Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Philipp Spohr
YoshikoWrapper
Commits
23c55d02
Commit
23c55d02
authored
Nov 30, 2017
by
Philipp Spohr
Browse files
more work
parent
040c4379
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/de/hhu/ba/yoshikoWrapper/CyActivator.java
View file @
23c55d02
...
...
@@ -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
());
...
...
src/main/java/de/hhu/ba/yoshikoWrapper/taskFactories/CommandTaskFactory.java
View file @
23c55d02
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
ext
en
d
s
Abstract
TaskFactory
{
public
class
CommandTaskFactory
implem
en
t
s
TaskFactory
{
private
final
YoshikoCommand
command
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment