public abstract class ItemImpl extends UIElementImpl implements MItem
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled
The cached value of the '
Enabled' attribute |
protected static boolean |
ENABLED_EDEFAULT
The default value of the '
Enabled' attribute |
protected static java.lang.String |
ICON_URI_EDEFAULT
The default value of the '
Icon URI' attribute |
protected java.lang.String |
iconURI
The cached value of the '
Icon URI' attribute |
protected java.lang.String |
label
The cached value of the '
Label' attribute |
protected static java.lang.String |
LABEL_EDEFAULT
The default value of the '
Label' attribute |
protected static java.lang.String |
LOCALIZED_LABEL_EDEFAULT
The default value of the '
Localized Label' attribute |
protected static java.lang.String |
LOCALIZED_TOOLTIP_EDEFAULT
The default value of the '
Localized Tooltip' attribute |
protected boolean |
selected
The cached value of the '
Selected' attribute |
protected static boolean |
SELECTED_EDEFAULT
The default value of the '
Selected' attribute |
protected java.lang.String |
tooltip
The cached value of the '
Tooltip' attribute |
protected static java.lang.String |
TOOLTIP_EDEFAULT
The default value of the '
Tooltip' attribute |
protected ItemType |
type
The cached value of the '
Type' attribute |
protected static ItemType |
TYPE_EDEFAULT
The default value of the '
Type' attribute |
ACCESSIBILITY_PHRASE_EDEFAULT, accessibilityPhrase, CONTAINER_DATA_EDEFAULT, containerData, curSharedRef, LOCALIZED_ACCESSIBILITY_PHRASE_EDEFAULT, ON_TOP_EDEFAULT, onTop, renderer, RENDERER_EDEFAULT, TO_BE_RENDERED_EDEFAULT, toBeRendered, visible, VISIBLE_EDEFAULT, visibleWhen, widget, WIDGET_EDEFAULTCONTRIBUTOR_URI_EDEFAULT, contributorURI, ELEMENT_ID_EDEFAULT, elementId, persistedState, tags, transientData| Modifier | Constructor and Description |
|---|---|
protected |
ItemImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.String |
getIconURI() |
java.lang.String |
getLabel() |
java.lang.String |
getLocalizedLabel() |
java.lang.String |
getLocalizedTooltip() |
java.lang.String |
getTooltip() |
ItemType |
getType() |
boolean |
isEnabled() |
boolean |
isSelected() |
void |
setEnabled(boolean newEnabled) |
void |
setIconURI(java.lang.String newIconURI) |
void |
setLabel(java.lang.String newLabel) |
void |
setSelected(boolean newSelected) |
void |
setTooltip(java.lang.String newTooltip) |
void |
setType(ItemType newType) |
java.lang.String |
toString() |
void |
updateLocalization() |
basicGetCurSharedRef, basicSetParent, basicSetVisibleWhen, eBasicRemoveFromContainerFeature, eDerivedOperationID, eInverseAdd, eInverseRemove, eInvoke, getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidgetgetContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidgetgetContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdprotected static final java.lang.String LABEL_EDEFAULT
Label' attribute.
getLabel()protected java.lang.String label
Label' attribute.
getLabel()protected static final java.lang.String ICON_URI_EDEFAULT
Icon URI' attribute.
getIconURI()protected java.lang.String iconURI
Icon URI' attribute.
getIconURI()protected static final java.lang.String TOOLTIP_EDEFAULT
Tooltip' attribute.
getTooltip()protected java.lang.String tooltip
Tooltip' attribute.
getTooltip()protected static final java.lang.String LOCALIZED_LABEL_EDEFAULT
Localized Label' attribute.
getLocalizedLabel(),
Constant Field Valuesprotected static final java.lang.String LOCALIZED_TOOLTIP_EDEFAULT
Localized Tooltip' attribute.
getLocalizedTooltip(),
Constant Field Valuesprotected static final boolean ENABLED_EDEFAULT
Enabled' attribute.
isEnabled(),
Constant Field Valuesprotected boolean enabled
Enabled' attribute.
isEnabled()protected static final boolean SELECTED_EDEFAULT
Selected' attribute.
isSelected(),
Constant Field Valuesprotected boolean selected
Selected' attribute.
isSelected()protected static final ItemType TYPE_EDEFAULT
Type' attribute.
getType()protected EClass eStaticClass()
eStaticClass in class UIElementImplpublic java.lang.String getLabel()
getLabel in interface MUILabelMUILabel.setLabel(String)public void setLabel(java.lang.String newLabel)
setLabel in interface MUILabelnewLabel - the new value of the 'Label' attribute.MUILabel.getLabel()public java.lang.String getIconURI()
getIconURI in interface MUILabelMUILabel.setIconURI(String)public void setIconURI(java.lang.String newIconURI)
setIconURI in interface MUILabelnewIconURI - the new value of the 'Icon URI' attribute.MUILabel.getIconURI()public java.lang.String getTooltip()
getTooltip in interface MUILabelMUILabel.setTooltip(String)public void setTooltip(java.lang.String newTooltip)
setTooltip in interface MUILabelnewTooltip - the new value of the 'Tooltip' attribute.MUILabel.getTooltip()public boolean isEnabled()
isEnabled in interface MItemMItem.setEnabled(boolean)public void setEnabled(boolean newEnabled)
setEnabled in interface MItemnewEnabled - the new value of the 'Enabled' attribute.MItem.isEnabled()public boolean isSelected()
isSelected in interface MItemMItem.setSelected(boolean)public void setSelected(boolean newSelected)
setSelected in interface MItemnewSelected - the new value of the 'Selected' attribute.MItem.isSelected()public ItemType getType()
getType in interface MItemItemType,
MItem.setType(ItemType)public void setType(ItemType newType)
setType in interface MItemnewType - the new value of the 'Type' attribute.ItemType,
MItem.getType()public void updateLocalization()
updateLocalization in interface MLocalizableupdateLocalization in class UIElementImplpublic java.lang.String getLocalizedLabel()
getLocalizedLabel in interface MUILabelpublic java.lang.String getLocalizedTooltip()
getLocalizedTooltip in interface MUILabelpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class UIElementImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in class UIElementImplpublic void eUnset(int featureID)
eUnset in class UIElementImplpublic boolean eIsSet(int featureID)
eIsSet in class UIElementImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
public java.lang.String toString()
toString in class UIElementImpl