The easiest way is to add dependencies to the plugin.xml
file in a new project, and then in the package explorer view browse the plugin-dependencies for the relevant jar file. For the 'base' nodes within KNIME(e.g. the File Readers, row/column manipulators), you need org.knime.base
, for the datatypes, org.knime.core
. Most of the other KNIME-supplied plugins have IDs starting org.knime.*
Also, if you create a new java class and import a KNIME class then you can Ctrl+click in it's class name in the java editor to show the source directly.
There are also some instructions at - https://tech.knime.org/forum/knime-developers/source-code-of-the-existing-nodes#comment-47455 It's worth noting that you even need the SDK to do this - you can do it with a regular KNIME install. I guess it depends exactly what you are wanting to do with the source