
public class ElementWizardAction extends LongRunningAction
INTERACTIVEAS_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, setTotalWorkrunconvertAccelerator, 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, setToolTipTextaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListeneraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectpublic 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 LongRunningActionExceptionprotected void doRun(IProgressMonitor progressMonitor) throws Exception
doRun in class LongRunningActionExceptionCopyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.