Class PartImpl
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
org.eclipse.e4.ui.model.application.ui.basic.impl.PartImpl
- All Implemented Interfaces:
MBindings
,MHandlerContainer
,MApplicationElement
,MContribution
,MPart
,MPartSashContainerElement
,MStackElement
,MWindowElement
,MContext
,MDirtyable
,MLocalizable
,MUIElement
,MUILabel
,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:
CompositePartImpl
An implementation of the model object 'Part'.
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 org.eclipse.emf.common.util.EList<MBindingContext>
The cached value of the 'Binding Contexts
' reference list.protected boolean
The cached value of the 'Closeable
' attribute.protected static final boolean
The default value of the 'Closeable
' attribute.protected IEclipseContext
The cached value of the 'Context
' attribute.protected static final IEclipseContext
The default value of the 'Context
' attribute.protected static final String
The default value of the 'Contribution URI
' attribute.protected String
The cached value of the 'Contribution URI
' attribute.protected String
The cached value of the 'Description
' attribute.protected static final String
The default value of the 'Description
' attribute.protected boolean
The cached value of the 'Dirty
' attribute.protected static final boolean
The default value of the 'Dirty
' attribute.protected org.eclipse.emf.common.util.EList<MHandler>
The cached value of the 'Handlers
' containment reference list.protected static final String
The default value of the 'Icon URI
' attribute.protected String
The cached value of the 'Icon URI
' attribute.protected String
The cached value of the 'Label
' attribute.protected static final String
The default value of the 'Label
' attribute.protected static final String
The default value of the 'Localized Description
' attribute.protected static final String
The default value of the 'Localized Label
' attribute.protected static final String
The default value of the 'Localized Tooltip
' attribute.protected org.eclipse.emf.common.util.EList<MMenu>
The cached value of the 'Menus
' containment reference list.protected Object
The cached value of the 'Object
' attribute.protected static final Object
The default value of the 'Object
' attribute.The cached value of the 'Properties
' map.protected MToolBar
The cached value of the 'Toolbar
' containment reference.protected String
The cached value of the 'Tooltip
' attribute.protected static final String
The default value of the 'Tooltip
' attribute.protected org.eclipse.emf.common.util.EList<MTrimBar>
The cached value of the 'Trim Bars
' containment reference list.protected org.eclipse.emf.common.util.EList<String>
The cached value of the 'Variables
' attribute list.Fields inherited from class org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl
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_EDEFAULT
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
basicSetToolbar
(MToolBar newToolbar, org.eclipse.emf.common.notify.NotificationChain msgs) int
eBaseStructuralFeatureID
(int derivedFeatureID, Class<?> baseClass) int
eDerivedOperationID
(int baseOperationID, Class<?> baseClass) int
eDerivedStructuralFeatureID
(int baseFeatureID, Class<?> baseClass) eGet
(int featureID, boolean resolve, boolean coreType) 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) getLabel()
getMenus()
boolean
boolean
isDirty()
void
setCloseable
(boolean newCloseable) void
setContext
(IEclipseContext newContext) void
setContributionURI
(String newContributionURI) void
setDescription
(String newDescription) void
setDirty
(boolean newDirty) void
setIconURI
(String newIconURI) void
void
void
setToolbar
(MToolBar newToolbar) void
setTooltip
(String newTooltip) toString()
void
Methods inherited from class org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl
basicGetCurSharedRef, basicSetParent, basicSetVisibleWhen, eBasicRemoveFromContainerFeature, eInverseAdd, getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidget
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, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, 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.e4.ui.model.application.ui.MUIElement
getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidget
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
-
Field Details
-
CONTRIBUTION_URI_EDEFAULT
The default value of the 'Contribution URI
' attribute.- Since:
- 1.0
- See Also:
-
contributionURI
The cached value of the 'Contribution URI
' attribute.- Since:
- 1.0
- See Also:
-
OBJECT_EDEFAULT
The default value of the 'Object
' attribute.- See Also:
-
object
The cached value of the 'Object
' attribute.- See Also:
-
CONTEXT_EDEFAULT
The default value of the 'Context
' attribute.- See Also:
-
context
The cached value of the 'Context
' attribute.- See Also:
-
variables
The cached value of the 'Variables
' attribute list.- See Also:
-
properties
The cached value of the 'Properties
' map.- See Also:
-
LABEL_EDEFAULT
The default value of the 'Label
' attribute.- Since:
- 1.0
- See Also:
-
label
The cached value of the 'Label
' attribute.- Since:
- 1.0
- See Also:
-
ICON_URI_EDEFAULT
The default value of the 'Icon URI
' attribute.- Since:
- 1.0
- See Also:
-
iconURI
The cached value of the 'Icon URI
' attribute.- Since:
- 1.0
- See Also:
-
TOOLTIP_EDEFAULT
The default value of the 'Tooltip
' attribute.- Since:
- 1.0
- See Also:
-
tooltip
The cached value of the 'Tooltip
' attribute.- Since:
- 1.0
- See Also:
-
LOCALIZED_LABEL_EDEFAULT
The default value of the 'Localized Label
' attribute.- See Also:
-
LOCALIZED_TOOLTIP_EDEFAULT
The default value of the 'Localized Tooltip
' attribute.- See Also:
-
handlers
The cached value of the 'Handlers
' containment reference list.- See Also:
-
DIRTY_EDEFAULT
protected static final boolean DIRTY_EDEFAULTThe default value of the 'Dirty
' attribute.- See Also:
-
dirty
protected boolean dirtyThe cached value of the 'Dirty
' attribute.- See Also:
-
bindingContexts
The cached value of the 'Binding Contexts
' reference list.- See Also:
-
toolbar
The cached value of the 'Toolbar
' containment reference.- See Also:
-
CLOSEABLE_EDEFAULT
protected static final boolean CLOSEABLE_EDEFAULTThe default value of the 'Closeable
' attribute.- See Also:
-
closeable
protected boolean closeableThe cached value of the 'Closeable
' attribute.- See Also:
-
DESCRIPTION_EDEFAULT
The default value of the 'Description
' attribute.- See Also:
-
description
The cached value of the 'Description
' attribute.- See Also:
-
LOCALIZED_DESCRIPTION_EDEFAULT
The default value of the 'Localized Description
' attribute.- See Also:
-
trimBars
The cached value of the 'Trim Bars
' containment reference list.- Since:
- 1.3
- See Also:
-
-
Constructor Details
-
PartImpl
protected PartImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classUIElementImpl
-
getContributionURI
- Specified by:
getContributionURI
in interfaceMContribution
- Returns:
- the value of the 'Contribution URI' attribute.
- Since:
- 1.0
- See Also:
-
setContributionURI
- Specified by:
setContributionURI
in interfaceMContribution
- Parameters:
newContributionURI
- the new value of the 'Contribution URI' attribute.- Since:
- 1.0
- See Also:
-
getObject
- Specified by:
getObject
in interfaceMContribution
- Returns:
- the value of the 'Object' attribute.
- See Also:
-
setObject
- Specified by:
setObject
in interfaceMContribution
- Parameters:
newObject
- the new value of the 'Object' attribute.- See Also:
-
getContext
- Specified by:
getContext
in interfaceMContext
- Returns:
- the value of the 'Context' attribute.
- See Also:
-
setContext
- Specified by:
setContext
in interfaceMContext
- Parameters:
newContext
- the new value of the 'Context' attribute.- See Also:
-
getVariables
- Specified by:
getVariables
in interfaceMContext
- Returns:
- the value of the 'Variables' attribute list.
-
getProperties
- Specified by:
getProperties
in interfaceMContext
- Returns:
- the value of the 'Properties' map.
-
getLabel
-
setLabel
-
getIconURI
- Specified by:
getIconURI
in interfaceMUILabel
- Returns:
- the value of the 'Icon URI' attribute.
- Since:
- 1.0
- See Also:
-
setIconURI
- Specified by:
setIconURI
in interfaceMUILabel
- Parameters:
newIconURI
- the new value of the 'Icon URI' attribute.- Since:
- 1.0
- See Also:
-
getTooltip
- Specified by:
getTooltip
in interfaceMUILabel
- Returns:
- the value of the 'Tooltip' attribute.
- Since:
- 1.0
- See Also:
-
setTooltip
- Specified by:
setTooltip
in interfaceMUILabel
- Parameters:
newTooltip
- the new value of the 'Tooltip' attribute.- Since:
- 1.0
- See Also:
-
getLocalizedLabel
- Specified by:
getLocalizedLabel
in interfaceMUILabel
- Returns:
- the value of the 'Localized Label' attribute.
-
getLocalizedTooltip
- Specified by:
getLocalizedTooltip
in interfaceMUILabel
- Returns:
- the value of the 'Localized Tooltip' attribute.
-
getHandlers
- Specified by:
getHandlers
in interfaceMHandlerContainer
- Returns:
- the value of the 'Handlers' containment reference list.
-
isDirty
public boolean isDirty()- Specified by:
isDirty
in interfaceMDirtyable
- Returns:
- the value of the 'Dirty' attribute.
- See Also:
-
setDirty
public void setDirty(boolean newDirty) - Specified by:
setDirty
in interfaceMDirtyable
- Parameters:
newDirty
- the new value of the 'Dirty' attribute.- See Also:
-
getBindingContexts
- Specified by:
getBindingContexts
in interfaceMBindings
- Returns:
- the value of the 'Binding Contexts' reference list.
-
getMenus
-
getToolbar
- Specified by:
getToolbar
in interfaceMPart
- Returns:
- the value of the 'Toolbar' containment reference.
- See Also:
-
isCloseable
public boolean isCloseable()- Specified by:
isCloseable
in interfaceMPart
- Returns:
- the value of the 'Closeable' attribute.
- See Also:
-
setCloseable
public void setCloseable(boolean newCloseable) - Specified by:
setCloseable
in interfaceMPart
- Parameters:
newCloseable
- the new value of the 'Closeable' attribute.- See Also:
-
getDescription
- Specified by:
getDescription
in interfaceMPart
- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
- Specified by:
setDescription
in interfaceMPart
- Parameters:
newDescription
- the new value of the 'Description' attribute.- See Also:
-
getLocalizedDescription
- Specified by:
getLocalizedDescription
in interfaceMPart
- Returns:
- the value of the 'Localized Description' attribute.
-
getTrimBars
- Specified by:
getTrimBars
in interfaceMPart
- Returns:
- the value of the 'Trim Bars' containment reference list.
- Since:
- 1.3
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalization
in interfaceMLocalizable
- Overrides:
updateLocalization
in classUIElementImpl
- Since:
- 1.1
-
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 classUIElementImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classUIElementImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classUIElementImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classUIElementImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classUIElementImpl
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedOperationID
- Specified by:
eDerivedOperationID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedOperationID
in classUIElementImpl
-
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 classUIElementImpl
- Throws:
InvocationTargetException
-
toString
- Overrides:
toString
in classUIElementImpl
-