I'd be interested in keeping up with this conversation. We do the same thing in 
JEX to expose ImageJ commands (that are headless and have a menu path) as 
functions. Exposing some Ops would be great too. Will you be at the imagej 
conference that I could pick your brain on related questions?

Cheers,

Jay

On Aug 19, 2015, at 2:19 PM, Christian Dietz 
<christian.di...@uni-konstanz.de<mailto:christian.di...@uni-konstanz.de>> wrote:


Sorry, I was not really precise: all Commands which are declared as headless 
and have a menu path.

And yes: like this we could select the ops which are exposed as nodes.

Am 19.08.2015 8:00 nachm. schrieb Curtis Rueden 
<ctrue...@wisc.edu<mailto:ctrue...@wisc.edu>>:
Hi Christian,

> currently, we can automatically create nodes from Commands and not
> from ops.

But all Ops are Commands...?

> From a technical point of view it would be easy to adapt this
> mechanism to Ops, but I am not sure if we want that (as you dont want
> to create a node for each and every atomar op). I hope we will
> find a nice strategy when to expose an Op as a KNIME node.

Possible solutions:
* Expose all Commands (including Ops) that declare a menu path.
* Expose Commands which have (or do not have) a particular attribute key. We 
use this for ImageJ1, adding a "no-legacy" attribute for commands which should 
not be exposed from the legacy ImageJ1 user interface.

Regards,
Curtis

On Wed, Aug 19, 2015 at 12:36 PM, Christian Dietz 
<christian.di...@uni-konstanz.de<mailto:christian.di...@uni-konstanz.de>> wrote:
Hi Brian,

currently, we can automatically create nodes from Commands and not from ops. 
From a technical point of view it would be easy to adapt this mechanism to Ops, 
but I am not sure if we want that (as you dont want to create a node for each 
and every atomar op). I hope we will find a nice strategy when to expose an Op 
as a KNIME node.

Anyway, Commands can be installed if the imagej2 extension is also installed 
within KNIME. I can send you more details next Monday, when I'm back from 
vacation.

Hope this helps,

Christian

Am 19.08.2015 5:58 nachm. schrieb Brian Northan 
<bnort...@gmail.com<mailto:bnort...@gmail.com>>:
>
> Hi
>
> I have a question for the KNIME folks.
>
> My understanding is that KNIME can auto-generate a node for every class that 
> implements an op.  Is this correct??  And if so does the current release of 
> KNIME recognize ops??  Or do I need a development version??
>
> How does one install an op to KNIME??  Do you just place the .jar file in a 
> certain directory??  Or do you have to go through the 'install KNIME 
> extensions' option??  Or something else??
>
> Thanks
>
> Brian
_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net<mailto:ImageJ-devel@imagej.net>
http://imagej.net/mailman/listinfo/imagej-devel

_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net<mailto:ImageJ-devel@imagej.net>
http://imagej.net/mailman/listinfo/imagej-devel

_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to