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.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested 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.EPropertiesHolderImpl
Nested 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.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
The default value of the 'Accessibility Phrase
' attribute.protected String
The cached value of the 'Accessibility Phrase
' attribute.protected static final String
The default value of the 'Container Data
' attribute.protected String
The cached value of the 'Container Data
' attribute.protected MPlaceholder
The cached value of the 'Cur Shared Ref
' reference.protected static final String
The default value of the 'Localized Accessibility Phrase
' attribute.protected static final boolean
The default value of the 'On Top
' attribute.protected boolean
The cached value of the 'On Top
' attribute.protected Object
The cached value of the 'Renderer
' attribute.protected static final Object
The default value of the 'Renderer
' attribute.protected static final boolean
The default value of the 'To Be Rendered
' attribute.protected boolean
The cached value of the 'To Be Rendered
' attribute.protected boolean
The cached value of the 'Visible
' attribute.protected static final boolean
The default value of the 'Visible
' attribute.protected MExpression
The cached value of the 'Visible When
' containment reference.protected Object
The cached value of the 'Widget
' attribute.protected static final Object
The 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, transientData
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetParent
(MElementContainer<MUIElement> newParent, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetVisibleWhen
(MExpression newVisibleWhen, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature
(org.eclipse.emf.common.notify.NotificationChain msgs) int
eDerivedOperationID
(int baseOperationID, Class<?> baseClass) eGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseAdd
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(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) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) boolean
isOnTop()
boolean
boolean
void
setAccessibilityPhrase
(String newAccessibilityPhrase) void
setContainerData
(String newContainerData) void
setCurSharedRef
(MPlaceholder newCurSharedRef) void
setOnTop
(boolean newOnTop) void
setParent
(MElementContainer<MUIElement> newParent) void
setRenderer
(Object newRenderer) void
setToBeRendered
(boolean newToBeRendered) void
setVisible
(boolean newVisible) void
setVisibleWhen
(MExpression newVisibleWhen) void
toString()
void
Methods inherited from class org.eclipse.e4.ui.model.application.impl.ApplicationElementImpl
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods 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, eSettings
Methods 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, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
Methods 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:
eStaticClass
in classApplicationElementImpl
-
getWidget
- Specified by:
getWidget
in interfaceMUIElement
- Returns:
- the value of the 'Widget' attribute.
- See Also:
-
setWidget
- Specified by:
setWidget
in interfaceMUIElement
- Parameters:
newWidget
- the new value of the 'Widget' attribute.- See Also:
-
getRenderer
- Specified by:
getRenderer
in interfaceMUIElement
- Returns:
- the value of the 'Renderer' attribute.
- See Also:
-
setRenderer
- Specified by:
setRenderer
in interfaceMUIElement
- Parameters:
newRenderer
- the new value of the 'Renderer' attribute.- See Also:
-
isToBeRendered
public boolean isToBeRendered()- Specified by:
isToBeRendered
in interfaceMUIElement
- Returns:
- the value of the 'To Be Rendered' attribute.
- See Also:
-
setToBeRendered
public void setToBeRendered(boolean newToBeRendered) - Specified by:
setToBeRendered
in interfaceMUIElement
- Parameters:
newToBeRendered
- the new value of the 'To Be Rendered' attribute.- See Also:
-
isOnTop
public boolean isOnTop()- Specified by:
isOnTop
in interfaceMUIElement
- Returns:
- the value of the 'On Top' attribute.
- See Also:
-
setOnTop
public void setOnTop(boolean newOnTop) - Specified by:
setOnTop
in interfaceMUIElement
- Parameters:
newOnTop
- the new value of the 'On Top' attribute.- See Also:
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfaceMUIElement
- Returns:
- the value of the 'Visible' attribute.
- See Also:
-
setVisible
public void setVisible(boolean newVisible) - Specified by:
setVisible
in interfaceMUIElement
- Parameters:
newVisible
- the new value of the 'Visible' attribute.- See Also:
-
getParent
- Specified by:
getParent
in 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:
setParent
in interfaceMUIElement
- Parameters:
newParent
- the new value of the 'Parent' container reference.- See Also:
-
getContainerData
- Specified by:
getContainerData
in interfaceMUIElement
- Returns:
- the value of the 'Container Data' attribute.
- See Also:
-
setContainerData
- Specified by:
setContainerData
in interfaceMUIElement
- Parameters:
newContainerData
- the new value of the 'Container Data' attribute.- See Also:
-
getVisibleWhen
- Specified by:
getVisibleWhen
in 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:
setVisibleWhen
in interfaceMUIElement
- Parameters:
newVisibleWhen
- the new value of the 'Visible When' containment reference.- See Also:
-
getAccessibilityPhrase
- Specified by:
getAccessibilityPhrase
in interfaceMUIElement
- Returns:
- the value of the 'Accessibility Phrase' attribute.
- See Also:
-
setAccessibilityPhrase
- Specified by:
setAccessibilityPhrase
in interfaceMUIElement
- Parameters:
newAccessibilityPhrase
- the new value of the 'Accessibility Phrase' attribute.- See Also:
-
getLocalizedAccessibilityPhrase
- Specified by:
getLocalizedAccessibilityPhrase
in interfaceMUIElement
- Returns:
- the value of the 'Localized Accessibility Phrase' attribute.
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalization
in 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:
eInverseAdd
in 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:
eInverseRemove
in classApplicationElementImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classApplicationElementImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classApplicationElementImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classApplicationElementImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classApplicationElementImpl
-
eDerivedOperationID
- Specified by:
eDerivedOperationID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedOperationID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException - Specified by:
eInvoke
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eInvoke
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Throws:
InvocationTargetException
-
toString
- Overrides:
toString
in classApplicationElementImpl
-