@API(type=EXTENDABLE,
src=PRIVATE)
public class TextExtensionAction
extends org.eclipse.jface.action.Action
Subclasses of this class loaded from extensions plugins will be able to
access the Eclipse editor's text in the styledText
member.
The oXygen plugin will set this member before calling the method run()
.
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.custom.StyledText |
styledText
The text the action works on.
|
Constructor and Description |
---|
TextExtensionAction() |
Modifier and Type | Method and Description |
---|---|
void |
setText(org.eclipse.swt.custom.StyledText styledText)
Set the text edited in the Eclipse editor.
|
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.