Package org.eclipse.ui.internal
Class WWinPluginPulldown
- All Implemented Interfaces:
- EventListener,- IAction,- ISelectionChangedListener,- IActionSetContributionItem,- INullSelectionListener,- IPluginContribution,- ISelectionListener
A workbench window pulldown action.
- 
Field SummaryFields inherited from interface org.eclipse.jface.action.IActionAS_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 SummaryConstructorsConstructorDescriptionWWinPluginPulldown(IConfigurationElement actionElement, IWorkbenchWindow window, String id, int style) Constructs a new instance ofWWinPluginPulldown.
- 
Method SummaryModifier and TypeMethodDescriptionprotected IWorkbenchWindowPulldownDelegateReturns the pulldown delegate.protected IActionDelegatevalidateDelegate(Object obj) Validates the object is a delegate of the expected type.Methods inherited from class org.eclipse.ui.internal.WWinPluginActiondispose, getActionSetId, initDelegate, isOkToCreateDelegate, refreshActionList, refreshSelection, runWithEvent, setActionSetId, setChecked, setHelpListener, toStringMethods inherited from class org.eclipse.ui.internal.PluginActioncreateDelegate, disposeDelegate, getConfigElement, getDelegate, getLocalId, getMenuCreator, getOverrideActionId, getPluginId, getSelection, refreshEnablement, run, selectionChanged, selectionChanged, selectionChangedMethods inherited from class org.eclipse.jface.action.ActionconvertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setDescription, setDisabledImageDescriptor, setEnabled, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextMethods inherited from class org.eclipse.jface.action.AbstractActionaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListenerMethods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
- 
Constructor Details- 
WWinPluginPulldownpublic WWinPluginPulldown(IConfigurationElement actionElement, IWorkbenchWindow window, String id, int style) Constructs a new instance ofWWinPluginPulldown.- Parameters:
- actionElement- The registry element from which the pulldown delegate should be created; must not be- null.
- window- The workbench window on which this pulldown should act; must not be- null.
- id- The identifier of this action delegate; may be- null.
- style- The style.
 
 
- 
- 
Method Details- 
validateDelegateDescription copied from class:PluginActionValidates the object is a delegate of the expected type. Subclasses can override to check for specific delegate types.Note: Calls to the object are not allowed during this method. - Overrides:
- validateDelegatein class- WWinPluginAction
- Parameters:
- obj- a possible action delegate implementation
- Returns:
- the IActionDelegateimplementation for the object
- Throws:
- WorkbenchException- if not of the expected delegate type
 
- 
getPulldownDelegateReturns the pulldown delegate. If it does not exist it is created. Can returnnullif delegate creation failed.
 
-