Class ConsoleAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.remote.console.actions.ConsoleAction
-
- All Implemented Interfaces:
org.eclipse.jface.action.IAction
public abstract class ConsoleAction extends org.eclipse.jface.action.ActionAn abstract class to implement basic functionality common to terminal console actions- Since:
- 1.1
-
-
Constructor Summary
Constructors Constructor Description ConsoleAction(String id)ConsoleAction(String id, int style)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetupAction(String text, String tooltip, String image, String enabledImage, String disabledImage, boolean enabled)protected voidsetupAction(String text, String tooltip, String hoverImage, String enabledImage, String disabledImage, boolean enabled, org.eclipse.jface.resource.ImageRegistry imageRegistry)protected voidsetupAction(String text, String tooltip, org.eclipse.jface.resource.ImageDescriptor hoverImage, org.eclipse.jface.resource.ImageDescriptor enabledImage, org.eclipse.jface.resource.ImageDescriptor disabledImage, boolean enabled)-
Methods inherited from class org.eclipse.jface.action.Action
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
-
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
-
-
-
-
Method Detail
-
setupAction
protected void setupAction(String text, String tooltip, String image, String enabledImage, String disabledImage, boolean enabled)
- Parameters:
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 action
-
setupAction
protected void setupAction(String text, String tooltip, String hoverImage, String enabledImage, String disabledImage, boolean enabled, org.eclipse.jface.resource.ImageRegistry imageRegistry)
- Parameters:
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 provided
-
setupAction
protected void setupAction(String text, String tooltip, org.eclipse.jface.resource.ImageDescriptor hoverImage, org.eclipse.jface.resource.ImageDescriptor enabledImage, org.eclipse.jface.resource.ImageDescriptor disabledImage, boolean enabled)
- Parameters:
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
-
-