How can I add my element to context menu?

I want to check the result on the window created on my own.
So I think it is necessary to add my element to context menu like the attached image.
How can I do this?

Thank you.

Hi @koheitomita,

do you want to create a view for your node?

You can do this as follows:

  1. create a new node view class:
    See this example code:knime-base/CrosstabNodeView.java at master · knime/knime-base · GitHub

  2. register it in the nodefactory class:
    knime-base/CrosstabNodeFactory.java at master · knime/knime-base · GitHub

  3. add a description in the nodefactory.xml
    knime-base/CrosstabNodeFactory.xml at master · knime/knime-base · GitHub

best,
Gabriel

2 Likes

Hi @gab1one

Thank you for your reply!

I will check the above contents and try.

Regards,
Kohei

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.