Interface IEditorActionDelegate

    • Method Detail

      • setActiveEditor

        void setActiveEditor​(IAction action,
                             IEditorPart targetEditor)
        Sets the active editor for the delegate. Implementors should disconnect from the old editor, connect to the new editor, and update the action to reflect the new editor.
        action - the action proxy that handles presentation portion of the action
        targetEditor - the new editor target