public class NewWizardAction extends Action implements ActionFactory.IWorkbenchAction
This class may be instantiated; it is not intended to be subclassed.
This method automatically registers listeners so that it can keep its enablement state up to date. Ordinarily, the window's references to these listeners will be dropped automatically when the window closes. However, if the client needs to get rid of an action while the window is still open, the client must call #dispose() to give the action an opportunity to deregister its listeners and to perform any other cleanup.
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 |
|---|
NewWizardAction()
Deprecated.
use the constructor
NewWizardAction(IWorkbenchWindow) |
NewWizardAction(IWorkbenchWindow window)
Create a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of this action.
|
String |
getCategoryId()
Returns the id of the category of wizards to show
or
null to show all categories. |
void |
run()
The default implementation of this
IAction method does
nothing. |
void |
setCategoryId(String id)
Sets the id of the category of wizards to show
or
null to show all categories. |
void |
setWizardWindowTitle(String windowTitle)
Sets the title of the wizard window
If the title of the wizard window is
null, the default
wizard window title will be used. |
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, setToolTipTextaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListeneraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextpublic NewWizardAction(IWorkbenchWindow window)
window - @Deprecated public NewWizardAction()
NewWizardAction(IWorkbenchWindow)public String getCategoryId()
null to show all categories.public void setCategoryId(String id)
null to show all categories.id - public void setWizardWindowTitle(String windowTitle)
Sets the title of the wizard window
If the title of the wizard window is null, the default
wizard window title will be used.
windowTitle - The title of the wizard window, otherwise null
(default wizard window title).public void run()
ActionIAction method does
nothing. Subclasses should override this method if they do not need
information from the triggering event, or override
runWithEvent(Event) if they do.run in interface IActionrun in class ActionHow radio buttons are handled,
How check boxes are handledpublic void dispose()
ActionFactory.IWorkbenchActiondispose in interface ActionFactory.IWorkbenchAction
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.