public interface MHandledItem extends MItem
This is the base class for menu and tool items associated with Commands.
The following features are supported:
Modifier and Type | Method and Description |
---|---|
MCommand |
getCommand()
Returns the value of the 'Command' reference
|
List<MParameter> |
getParameters()
Returns the value of the 'Parameters' containment reference list.
|
ParameterizedCommand |
getWbCommand()
Returns the value of the 'Wb Command' attribute
|
void |
setCommand(MCommand value)
Sets the value of the '
Command ' reference |
void |
setWbCommand(ParameterizedCommand value)
Sets the value of the '
Wb Command ' attribute |
getType, isEnabled, isSelected, setEnabled, setSelected, setType
getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidget
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
getIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltip
updateLocalization
MCommand getCommand()
A reference to the Command associated with this item.
setCommand(MCommand)
void setCommand(MCommand value)
Command
' reference.
value
- the new value of the 'Command' reference.getCommand()
ParameterizedCommand getWbCommand()
This is used for low level implementation and is not intended to be used by clients
setWbCommand(ParameterizedCommand)
void setWbCommand(ParameterizedCommand value)
Wb Command
' attribute.
value
- the new value of the 'Wb Command' attribute.getWbCommand()
List<MParameter> getParameters()
MParameter
.
Defines the specific parameters to use when executing the command through this item.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.