Examples of BooleanPreferenceToggleAction


Examples of org.eclipse.ui.internal.texteditor.BooleanPreferenceToggleAction

      }
    };
    action.setActionDefinitionId(ITextEditorActionDefinitionIds.REVISION_RENDERING_CYCLE);
    setAction(ITextEditorActionConstants.REVISION_RENDERING_CYCLE, action);
   
    action= new BooleanPreferenceToggleAction(TextEditorMessages.getBundleForConstructedKeys(), "Editor.ToggleRevisionAuthorAction.", IAction.AS_CHECK_BOX, EditorsUI.getPreferenceStore(), AbstractDecoratedTextEditorPreferenceConstants.REVISION_RULER_SHOW_AUTHOR); //$NON-NLS-1$
    action.setActionDefinitionId(ITextEditorActionDefinitionIds.REVISION_AUTHOR_TOGGLE);
    setAction(ITextEditorActionConstants.REVISION_SHOW_AUTHOR_TOGGLE, action);
   
    action= new BooleanPreferenceToggleAction(TextEditorMessages.getBundleForConstructedKeys(), "Editor.ToggleRevisionIdAction.", IAction.AS_CHECK_BOX, EditorsUI.getPreferenceStore(), AbstractDecoratedTextEditorPreferenceConstants.REVISION_RULER_SHOW_REVISION); //$NON-NLS-1$
    action.setActionDefinitionId(ITextEditorActionDefinitionIds.REVISION_ID_TOGGLE);
    setAction(ITextEditorActionConstants.REVISION_SHOW_ID_TOGGLE, action);
   
    final Shell shell;
    if (getSourceViewer() != null)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.