Showing source code of existing KNIME nodes

Hello everyone,

I'm new to KNIME, but I want to take a look at the source code of the nodes "Document Vector" and "Distance Matrix Calculate" and I will try to add some features to the code.

In order to do that I downloaded KNIME SDK for windows. But caused by the lack of administration rights in the company I'm working for, I have had to download the zip version.

Could somebody please give me an explanation for beginners.

Thank you very much.

KNIME-Learner

1) In the SDK version install the required plugins (if these aren't default/already installed)

2) Create a new KNIME node using the wizard: File -> New -> Other -> KNIME -> Create a new KNIME Node-Extension

3) Add the plugin containing the node you wish to change as a dependancy in the plugin.xml. Under dependencies click add and search for the package you think the node is in. For example I added org.openscience.cdk.knime to see the CDK nodes. 

4) In the project you made this will now be listed under "Plug-in Dependencies" and if you have isntalled the source as well you will be able to browse the source.

Making changes is tricky. You will have to copy and paste the code out into a new node is my understanding. You may be able to extend and overide in some cases?

Hello swebb,

nice to hear from you again! :-)

I've been sick yesterday. Thats why my reply comes that late.
Unfortunately, I won't be able to test your description untill Monday. But I'm sure it will work!

Thank you very much.

KNIME-Learner

Hello swebb,

today I have been able to test your description. Therefore I also added org.openscience.cdk.knime in the Package name field. Unfortunately I am not able to see "Plug-in Dependencies" in my created project. Have I done something wrong?

Hello swebb,

today I have finally been able to test your description. Therefore I also added org.openscience.cdk.knime in the Package name field of the new project. Unfortunately, there is no "Plug-in Dependencies" in my created project. Have I done something wrong?

In the attachement of this post you can see the overview of my two created projects.

Thank you for your help.

KNIME-Learner

Why would you like to use the KNIME explorer view for this task? Usually Package Explorer or similar Java development related views are preferred.

Cheers, gabor

Hello,

evem, when I use the Package Explorer View, I do not have "Plug-In Dependencies".

Can somebody help me?

Are your projects plugin projects? (You can convert them to plugin projects using the context menu| Configure | Convert to Plug-in Projects... menu.)

Helo,
Could you show where is the source code for stemming node please
Thank you very much
Best Regards

How to find the plugin which contains the node that we want to change ?

In the node description there is a footer, which gives an idea where to search, like:

This node is contained in KNIME Base Nodes provided by KNIME GmbH, Konstanz, Germany.