Class TreeViewNodeEditor

    • Constructor Detail

      • TreeViewNodeEditor

        public TreeViewNodeEditor()
    • Method Detail

      • getTreeView

        public TreeView getTreeView()
      • getTextInput

        public TextInput getTextInput()
      • endEdit

        public void endEdit​(boolean result)
        Description copied from interface: TreeView.NodeEditor
        Terminates an edit operation.
        Specified by:
        endEdit in interface TreeView.NodeEditor
        Parameters:
        result - true to perform the edit; false to cancel it.
      • isEditing

        public boolean isEditing()
        Specified by:
        isEditing in interface TreeView.NodeEditor
        Returns:
        Whether an edit is currently in progress.
      • open

        public void open​(Display display,
                         Window owner)
        Description copied from class: Window
        Opens the window.

        Note that this method is not a synchronous call, it schedules an event to open the window.

        Overrides:
        open in class Window
        Parameters:
        display - The display on which the window will be opened.
        owner - The window's owner, or null if the window has no owner.
      • close

        public void close()
        Description copied from class: Window
        Closes the window and all of its owned windows. If any owned window fails to close, this window will also fail to close.
        Overrides:
        close in class Window