Class UIElementImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl
- All Implemented Interfaces:
MApplicationElement,MLocalizable,MUIElement,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
ElementContainerImpl,ItemImpl,MenuElementImpl,PartImpl,PlaceholderImpl,ToolBarElementImpl
An implementation of the model object 'UI Element'.
The following features are implemented:
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe default value of the 'Accessibility Phrase' attribute.protected StringThe cached value of the 'Accessibility Phrase' attribute.protected static final StringThe default value of the 'Container Data' attribute.protected StringThe cached value of the 'Container Data' attribute.protected MPlaceholderThe cached value of the 'Cur Shared Ref' reference.protected static final StringThe default value of the 'Localized Accessibility Phrase' attribute.protected static final booleanThe default value of the 'On Top' attribute.protected booleanThe cached value of the 'On Top' attribute.protected ObjectThe cached value of the 'Renderer' attribute.protected static final ObjectThe default value of the 'Renderer' attribute.protected static final booleanThe default value of the 'To Be Rendered' attribute.protected booleanThe cached value of the 'To Be Rendered' attribute.protected booleanThe cached value of the 'Visible' attribute.protected static final booleanThe default value of the 'Visible' attribute.protected MExpressionThe cached value of the 'Visible When' containment reference.protected ObjectThe cached value of the 'Widget' attribute.protected static final ObjectThe default value of the 'Widget' attribute.Fields inherited from class org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
CONTRIBUTOR_URI_EDEFAULT, contributorURI, ELEMENT_ID_EDEFAULT, elementId, persistedState, tags, transientDataFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetParent(MElementContainer<MUIElement> newParent, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetVisibleWhen(MExpression newVisibleWhen, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) inteDerivedOperationID(int baseOperationID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) booleanisOnTop()booleanbooleanvoidsetAccessibilityPhrase(String newAccessibilityPhrase) voidsetContainerData(String newContainerData) voidsetCurSharedRef(MPlaceholder newCurSharedRef) voidsetOnTop(boolean newOnTop) voidsetParent(MElementContainer<MUIElement> newParent) voidsetRenderer(Object newRenderer) voidsetToBeRendered(boolean newToBeRendered) voidsetVisible(boolean newVisible) voidsetVisibleWhen(MExpression newVisibleWhen) voidtoString()voidMethods inherited from class org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementIdMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
-
Field Details
-
WIDGET_EDEFAULT
The default value of the 'Widget' attribute.- See Also:
-
widget
The cached value of the 'Widget' attribute.- See Also:
-
RENDERER_EDEFAULT
The default value of the 'Renderer' attribute.- See Also:
-
renderer
The cached value of the 'Renderer' attribute.- See Also:
-
TO_BE_RENDERED_EDEFAULT
protected static final boolean TO_BE_RENDERED_EDEFAULTThe default value of the 'To Be Rendered' attribute.- See Also:
-
toBeRendered
protected boolean toBeRenderedThe cached value of the 'To Be Rendered' attribute.- See Also:
-
ON_TOP_EDEFAULT
protected static final boolean ON_TOP_EDEFAULTThe default value of the 'On Top' attribute.- See Also:
-
onTop
protected boolean onTopThe cached value of the 'On Top' attribute.- See Also:
-
VISIBLE_EDEFAULT
protected static final boolean VISIBLE_EDEFAULTThe default value of the 'Visible' attribute.- See Also:
-
visible
protected boolean visibleThe cached value of the 'Visible' attribute.- See Also:
-
CONTAINER_DATA_EDEFAULT
The default value of the 'Container Data' attribute.- See Also:
-
containerData
The cached value of the 'Container Data' attribute.- See Also:
-
visibleWhen
The cached value of the 'Visible When' containment reference.- See Also:
-
ACCESSIBILITY_PHRASE_EDEFAULT
The default value of the 'Accessibility Phrase' attribute.- See Also:
-
accessibilityPhrase
The cached value of the 'Accessibility Phrase' attribute.- See Also:
-
LOCALIZED_ACCESSIBILITY_PHRASE_EDEFAULT
The default value of the 'Localized Accessibility Phrase' attribute.- See Also:
-
-
Constructor Details
-
UIElementImpl
protected UIElementImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classApplicationElementImpl
-
getWidget
- Specified by:
getWidgetin interfaceMUIElement- Returns:
- the value of the 'Widget' attribute.
- See Also:
-
setWidget
- Specified by:
setWidgetin interfaceMUIElement- Parameters:
newWidget- the new value of the 'Widget' attribute.- See Also:
-
getRenderer
- Specified by:
getRendererin interfaceMUIElement- Returns:
- the value of the 'Renderer' attribute.
- See Also:
-
setRenderer
- Specified by:
setRendererin interfaceMUIElement- Parameters:
newRenderer- the new value of the 'Renderer' attribute.- See Also:
-
isToBeRendered
public boolean isToBeRendered()- Specified by:
isToBeRenderedin interfaceMUIElement- Returns:
- the value of the 'To Be Rendered' attribute.
- See Also:
-
setToBeRendered
public void setToBeRendered(boolean newToBeRendered) - Specified by:
setToBeRenderedin interfaceMUIElement- Parameters:
newToBeRendered- the new value of the 'To Be Rendered' attribute.- See Also:
-
isOnTop
public boolean isOnTop()- Specified by:
isOnTopin interfaceMUIElement- Returns:
- the value of the 'On Top' attribute.
- See Also:
-
setOnTop
public void setOnTop(boolean newOnTop) - Specified by:
setOnTopin interfaceMUIElement- Parameters:
newOnTop- the new value of the 'On Top' attribute.- See Also:
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceMUIElement- Returns:
- the value of the 'Visible' attribute.
- See Also:
-
setVisible
public void setVisible(boolean newVisible) - Specified by:
setVisiblein interfaceMUIElement- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
-
getParent
- Specified by:
getParentin interfaceMUIElement- Returns:
- the value of the 'Parent' container reference.
- See Also:
-
basicSetParent
public org.eclipse.emf.common.notify.NotificationChain basicSetParent(MElementContainer<MUIElement> newParent, org.eclipse.emf.common.notify.NotificationChain msgs) -
setParent
- Specified by:
setParentin interfaceMUIElement- Parameters:
newParent- the new value of the 'Parent' container reference.- See Also:
-
getContainerData
- Specified by:
getContainerDatain interfaceMUIElement- Returns:
- the value of the 'Container Data' attribute.
- See Also:
-
setContainerData
- Specified by:
setContainerDatain interfaceMUIElement- Parameters:
newContainerData- the new value of the 'Container Data' attribute.- See Also:
-
getVisibleWhen
- Specified by:
getVisibleWhenin interfaceMUIElement- Returns:
- the value of the 'Visible When' containment reference.
- See Also:
-
basicSetVisibleWhen
public org.eclipse.emf.common.notify.NotificationChain basicSetVisibleWhen(MExpression newVisibleWhen, org.eclipse.emf.common.notify.NotificationChain msgs) -
setVisibleWhen
- Specified by:
setVisibleWhenin interfaceMUIElement- Parameters:
newVisibleWhen- the new value of the 'Visible When' containment reference.- See Also:
-
getAccessibilityPhrase
- Specified by:
getAccessibilityPhrasein interfaceMUIElement- Returns:
- the value of the 'Accessibility Phrase' attribute.
- See Also:
-
setAccessibilityPhrase
- Specified by:
setAccessibilityPhrasein interfaceMUIElement- Parameters:
newAccessibilityPhrase- the new value of the 'Accessibility Phrase' attribute.- See Also:
-
getLocalizedAccessibilityPhrase
- Specified by:
getLocalizedAccessibilityPhrasein interfaceMUIElement- Returns:
- the value of the 'Localized Accessibility Phrase' attribute.
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalizationin interfaceMLocalizable- Since:
- 1.1
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseAddin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemovein classApplicationElementImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classApplicationElementImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classApplicationElementImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classApplicationElementImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classApplicationElementImpl
-
eDerivedOperationID
- Specified by:
eDerivedOperationIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedOperationIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException - Specified by:
eInvokein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eInvokein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Throws:
InvocationTargetException
-
toString
- Overrides:
toStringin classApplicationElementImpl
-