-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
2,119 additions
and
1,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?eclipse version="3.0"?> | ||
<plugin> | ||
<extension | ||
point="org.knime.workbench.repository.nodes"> | ||
</extension> | ||
<extension | ||
point="org.knime.workbench.repository.nodesets"> | ||
<nodeset | ||
default-category-icon="org.knime.scijava.commands.nodes.SciJavaNodeSetFactory" | ||
deprecated="false" | ||
factory-class="org.knime.scijava.commands.nodes.SciJavaNodeSetFactory" | ||
id="SciJavaNodeSet (TMP)"> | ||
</nodeset> | ||
</extension> | ||
</plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# @double value | ||
# @OUTPUT double greeting | ||
|
||
greeting = value | ||
|
||
print greeting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
; @Integer(label="My integer",description="Input integer.",value=17) test-int | ||
; @OUTPUT Integer output-int | ||
|
||
(def output-int test-int) |
7 changes: 7 additions & 0 deletions
7
org.knime.scijava.commands/src/org/knime/scijava/commands/CellOutput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.knime.scijava.commands; | ||
|
||
import org.knime.core.data.DataCell; | ||
|
||
public interface CellOutput { | ||
void push(final DataCell[] cells); | ||
} |
47 changes: 0 additions & 47 deletions
47
org.knime.scijava.commands/src/org/knime/scijava/commands/DefaultKnimeExecutionService.java
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
org.knime.scijava.commands/src/org/knime/scijava/commands/KNIMEExecutionService.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
org.knime.scijava.commands/src/org/knime/scijava/commands/KNIMESciJavaConstants.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
org.knime.scijava.commands/src/org/knime/scijava/commands/MultiOutputListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.knime.scijava.commands; | ||
|
||
public interface MultiOutputListener { | ||
public void notifyListener(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
org.knime.scijava.commands/src/org/knime/scijava/commands/SciJavaTestCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
package org.knime.scijava.commands; | ||
|
||
import org.scijava.ItemIO; | ||
import org.scijava.command.Command; | ||
import org.scijava.plugin.Parameter; | ||
import org.scijava.plugin.Plugin; | ||
|
||
@Plugin(type = Command.class, headless = true, label = "Test Command") | ||
public class SciJavaTestCommand implements Command { | ||
|
||
@Parameter | ||
private MultiOutputListener rowOutput; | ||
|
||
@Parameter(label = "From Text", style = StyleHook.COLUMNSELECTION) | ||
private String fromText; | ||
|
||
@Parameter(label = "From Int") | ||
private int fromInt; | ||
|
||
@Parameter(type = ItemIO.OUTPUT, label = "Output Int") | ||
private int outInt; | ||
|
||
@Override | ||
public void run() { | ||
for (int i = 0; i < fromInt; i++) { | ||
outInt = i; | ||
rowOutput.notifyListener(); | ||
} | ||
} | ||
|
||
|
||
} |
5 changes: 5 additions & 0 deletions
5
org.knime.scijava.commands/src/org/knime/scijava/commands/StyleHook.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.knime.scijava.commands; | ||
|
||
public interface StyleHook { | ||
public final static String COLUMNSELECTION = "colSel"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.