Open Root Node

I have added a custom keymap for creating a new root node based of the containing root node concept. After creation, I would like to have the editor window open up the newly created root node for editing. All of the options I have found for the editorContext have dealt with selecting new nodes and cells that are in the current window / part of the current root. I would like to change to a new root, opening up a new tab in the editor.

Comment actions Permalink

NavigationSupport.getInstance().openNode(Project project, SNode node, boolean focus, boolean select)

Comment actions Permalink

That worked. Thanks!


Please sign in to leave a comment.