public abstract class ConsoleAction
extends org.eclipse.jface.action.Action
| Constructor and Description |
|---|
ConsoleAction(java.lang.String id) |
ConsoleAction(java.lang.String id,
int style) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setupAction(java.lang.String text,
java.lang.String tooltip,
org.eclipse.jface.resource.ImageDescriptor hoverImage,
org.eclipse.jface.resource.ImageDescriptor enabledImage,
org.eclipse.jface.resource.ImageDescriptor disabledImage,
boolean enabled) |
protected void |
setupAction(java.lang.String text,
java.lang.String tooltip,
java.lang.String image,
java.lang.String enabledImage,
java.lang.String disabledImage,
boolean enabled) |
protected void |
setupAction(java.lang.String text,
java.lang.String tooltip,
java.lang.String hoverImage,
java.lang.String enabledImage,
java.lang.String disabledImage,
boolean enabled,
org.eclipse.jface.resource.ImageRegistry imageRegistry) |
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, setToolTipTextaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListenerpublic ConsoleAction(java.lang.String id)
id - The action idpublic ConsoleAction(java.lang.String id,
int style)
id - The action idstyle - one of AS_PUSH_BUTTON, AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_RADIO_BUTTON,
and AS_UNSPECIFIEDprotected void setupAction(java.lang.String text,
java.lang.String tooltip,
java.lang.String image,
java.lang.String enabledImage,
java.lang.String disabledImage,
boolean enabled)
text - the text for this actiontooltip - the tooltip for this actionimage - the image key for this actionenabledImage - the enabled image key for this actiondisabledImage - the disabled image key for this actionenabled - the enabled state for this actionprotected void setupAction(java.lang.String text,
java.lang.String tooltip,
java.lang.String hoverImage,
java.lang.String enabledImage,
java.lang.String disabledImage,
boolean enabled,
org.eclipse.jface.resource.ImageRegistry imageRegistry)
text - the text for this actiontooltip - the tooltip for this actionhoverImage - the hover image key for this actionenabledImage - the enabled image key for this actiondisabledImage - the disabled image key for this actionenabled - the enabled state for this actionimageRegistry - the ImageRegistry to retrieve ImageDescriptor for the keys providedprotected void setupAction(java.lang.String text,
java.lang.String tooltip,
org.eclipse.jface.resource.ImageDescriptor hoverImage,
org.eclipse.jface.resource.ImageDescriptor enabledImage,
org.eclipse.jface.resource.ImageDescriptor disabledImage,
boolean enabled)
text - the text for this actiontooltip - the tooltip for this actionhoverImage - the hover image for this actionenabledImage - the enabled image for this actiondisabledImage - the disabled image for this actionenabled - the enabled state for this action