public class ElementWizardAction extends LongRunningAction
INTERACTIVE
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
Constructor and Description |
---|
ElementWizardAction(Shell shell,
String title,
String toolTip,
ImageDescriptor image,
String productGroup) |
ElementWizardAction(Shell shell,
String title,
String toolTip,
ImageDescriptor image,
String productGroup,
IManagedContainer container) |
ElementWizardAction(Shell shell,
String title,
String toolTip,
ImageDescriptor image,
String productGroup,
IManagedContainer container,
String defaultFactoryType) |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun(IProgressMonitor progressMonitor) |
String |
getDefaultDescription(String factoryType)
Can be overridden by subclasses.
|
String |
getDefaultFactoryType() |
protected void |
preRun() |
cancel, checkCancelation, getBundleID, getDisplay, getPage, getShell, getTotalWork, getWorkbenchWindow, safeRun, setPage, setTotalWork
run
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public ElementWizardAction(Shell shell, String title, String toolTip, ImageDescriptor image, String productGroup)
public ElementWizardAction(Shell shell, String title, String toolTip, ImageDescriptor image, String productGroup, IManagedContainer container)
public ElementWizardAction(Shell shell, String title, String toolTip, ImageDescriptor image, String productGroup, IManagedContainer container, String defaultFactoryType)
public String getDefaultFactoryType()
public String getDefaultDescription(String factoryType)
protected void preRun() throws Exception
preRun
in class LongRunningAction
Exception
protected void doRun(IProgressMonitor progressMonitor) throws Exception
doRun
in class LongRunningAction
Exception
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.