/** * Sets the preference store of this action. * * @param store the preference store */ public void setPreferenceStore(IPreferenceStore store) { fStore= store; synchronizeWithPreference(); }
/** * Sets the preference store of this action. * * @param store the preference store */ public void setPreferenceStore(IPreferenceStore store) { fStore= store; synchronizeWithPreference(); }
/** * Construct the action and initialize its state. * * @param resourceBundle the resource bundle to construct label and tooltip from * @param prefix the prefix to use for constructing resource bundle keys * @param editor the editor this action is associated with * @param store the preference store (may be <code>null</code>) */ public ShowWhitespaceCharactersAction(ResourceBundle resourceBundle, String prefix, ITextEditor editor, IPreferenceStore store) { super(resourceBundle, prefix, editor, IAction.AS_CHECK_BOX); fStore= store; synchronizeWithPreference(); }
/** * Sets the preference store of this action. * * @param store the preference store */ public void setPreferenceStore(IPreferenceStore store) { fStore= store; synchronizeWithPreference(); }
/** * Construct the action and initialize its state. * * @param resourceBundle the resource bundle to construct label and tooltip from * @param prefix the prefix to use for constructing resource bundle keys * @param editor the editor this action is associated with * @param store the preference store (may be <code>null</code>) */ public ShowWhitespaceCharactersAction(ResourceBundle resourceBundle, String prefix, ITextEditor editor, IPreferenceStore store) { super(resourceBundle, prefix, editor, IAction.AS_CHECK_BOX); fStore= store; synchronizeWithPreference(); }
/** * Construct the action and initialize its state. * * @param resourceBundle the resource bundle to construct label and tooltip from * @param prefix the prefix to use for constructing resource bundle keys * @param editor the editor this action is associated with * @param store the preference store (may be <code>null</code>) */ public ShowWhitespaceCharactersAction(ResourceBundle resourceBundle, String prefix, ITextEditor editor, IPreferenceStore store) { super(resourceBundle, prefix, editor, IAction.AS_CHECK_BOX); fStore= store; synchronizeWithPreference(); }
public void update() { setEnabled(getTextViewer() instanceof ITextViewerExtension2); synchronizeWithPreference(); }
@Override public void update() { setEnabled(getTextViewer() instanceof ITextViewerExtension2); synchronizeWithPreference(); }
@Override public void update() { setEnabled(getTextViewer() instanceof ITextViewerExtension2); synchronizeWithPreference(); }