/** * Adds an editor action to this editor. * * <p> * <Editor actions are actions that depend and work on the editor. * * @param action * the editor action */ protected void addEditorAction( EditorPartAction action ) { getActionRegistry( ).registerAction( action ); editorActionIDs.add( action.getId( ) ); }
/** * Adds an editor action to this editor. * * <p> * Editor actions are actions that depend and work on the editor. * * @param action * the editor action */ public void addEditorAction(EditorPartAction action) { getActionRegistry().registerAction(action); editorActionIDs.add(action.getId()); }