| org.eclipse.ui.texteditor.ResourceAction org.eclipse.ui.texteditor.TextEditorAction org.eclipse.ui.texteditor.ShowWhitespaceCharactersAction
ShowWhitespaceCharactersAction | public class ShowWhitespaceCharactersAction extends TextEditorAction (Code) | | This action toggles the display of whitespace characters by
attaching/detaching an
WhitespaceCharacterPainter to the
associated text editor.
Note: Currently this action only works if the given
editor inherits from
AbstractTextEditor .
since: 3.3 |
Method Summary | |
public void | run() | public void | setPreferenceStore(IPreferenceStore store) Sets the preference store of this action. | public void | update() |
ShowWhitespaceCharactersAction | public ShowWhitespaceCharactersAction(ResourceBundle resourceBundle, String prefix, ITextEditor editor, IPreferenceStore store)(Code) | | Construct the action and initialize its state.
Parameters: resourceBundle - the resource bundle to construct label and tooltip from Parameters: prefix - the prefix to use for constructing resource bundle keys Parameters: editor - the editor this action is associated with Parameters: store - the preference store (may be null ) |
setPreferenceStore | public void setPreferenceStore(IPreferenceStore store)(Code) | | Sets the preference store of this action.
Parameters: store - the preference store |
update | public void update()(Code) | | |
|
|