Class PartDescriptorImpl
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.descriptor.basic.impl.PartDescriptorImpl
- All Implemented Interfaces:
MBindings
,MHandlerContainer
,MPartDescriptor
,MApplicationElement
,MLocalizable
,MUILabel
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object 'Part Descriptor'.
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 boolean
The default value of the 'Allow Multiple
' attribute.protected boolean
The cached value of the 'Allow Multiple
' attribute.protected org.eclipse.emf.common.util.EList<MBindingContext>
The cached value of the 'Binding Contexts
' reference list.protected String
The cached value of the 'Category
' attribute.protected static final String
The default value of the 'Category
' attribute.protected boolean
The cached value of the 'Closeable
' attribute.protected static final boolean
The default value of the 'Closeable
' 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
Deprecated.protected static final boolean
Deprecated.Seemodel documentation
for details.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.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.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
boolean
Deprecated.Seemodel documentation
for details.void
setAllowMultiple
(boolean newAllowMultiple) void
setCategory
(String newCategory) void
setCloseable
(boolean newCloseable) void
setContributionURI
(String newContributionURI) void
setDescription
(String newDescription) void
setDirtyable
(boolean newDirtyable) Deprecated.Seemodel documentation
for details.void
setIconURI
(String newIconURI) void
void
setToolbar
(MToolBar newToolbar) void
setTooltip
(String newTooltip) 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, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, 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
-
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:
-
bindingContexts
The cached value of the 'Binding Contexts
' reference list.- See Also:
-
ALLOW_MULTIPLE_EDEFAULT
protected static final boolean ALLOW_MULTIPLE_EDEFAULTThe default value of the 'Allow Multiple
' attribute.- See Also:
-
allowMultiple
protected boolean allowMultipleThe cached value of the 'Allow Multiple
' attribute.- See Also:
-
CATEGORY_EDEFAULT
The default value of the 'Category
' attribute.- See Also:
-
category
The cached value of the 'Category
' attribute.- 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:
-
DIRTYABLE_EDEFAULT
Deprecated.Seemodel documentation
for details.The default value of the 'Dirtyable
' attribute.- See Also:
- Restriction:
- See
model documentation
for details.
-
dirtyable
Deprecated.Seemodel documentation
for details.The cached value of the 'Dirtyable
' attribute.- See Also:
- Restriction:
- See
model documentation
for details.
-
CONTRIBUTION_URI_EDEFAULT
The default value of the 'Contribution URI
' attribute.- See Also:
-
contributionURI
The cached value of the 'Contribution URI
' 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:
-
variables
The cached value of the 'Variables
' attribute list.- See Also:
-
properties
The cached value of the 'Properties
' map.- See Also:
-
trimBars
The cached value of the 'Trim Bars
' containment reference list.- Since:
- 1.3
- See Also:
-
-
Constructor Details
-
PartDescriptorImpl
protected PartDescriptorImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classApplicationElementImpl
-
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.
-
getBindingContexts
- Specified by:
getBindingContexts
in interfaceMBindings
- Returns:
- the value of the 'Binding Contexts' reference list.
-
isAllowMultiple
public boolean isAllowMultiple()- Specified by:
isAllowMultiple
in interfaceMPartDescriptor
- Returns:
- the value of the 'Allow Multiple' attribute.
- See Also:
-
setAllowMultiple
public void setAllowMultiple(boolean newAllowMultiple) - Specified by:
setAllowMultiple
in interfaceMPartDescriptor
- Parameters:
newAllowMultiple
- the new value of the 'Allow Multiple' attribute.- See Also:
-
getCategory
- Specified by:
getCategory
in interfaceMPartDescriptor
- Returns:
- the value of the 'Category' attribute.
- See Also:
-
setCategory
- Specified by:
setCategory
in interfaceMPartDescriptor
- Parameters:
newCategory
- the new value of the 'Category' attribute.- See Also:
-
getMenus
- Specified by:
getMenus
in interfaceMPartDescriptor
- Returns:
- the value of the 'Menus' containment reference list.
-
getToolbar
- Specified by:
getToolbar
in interfaceMPartDescriptor
- Returns:
- the value of the 'Toolbar' containment reference.
- See Also:
-
isCloseable
public boolean isCloseable()- Specified by:
isCloseable
in interfaceMPartDescriptor
- Returns:
- the value of the 'Closeable' attribute.
- See Also:
-
setCloseable
public void setCloseable(boolean newCloseable) - Specified by:
setCloseable
in interfaceMPartDescriptor
- Parameters:
newCloseable
- the new value of the 'Closeable' attribute.- See Also:
-
isDirtyable
Deprecated.Seemodel documentation
for details.- Specified by:
isDirtyable
in interfaceMPartDescriptor
- Returns:
- the value of the 'Dirtyable' attribute.
- See Also:
- Restriction:
- See
model documentation
for details.
-
setDirtyable
Deprecated.Seemodel documentation
for details.- Specified by:
setDirtyable
in interfaceMPartDescriptor
- Parameters:
newDirtyable
- the new value of the 'Dirtyable' attribute.- See Also:
- Restriction:
- See
model documentation
for details.
-
getContributionURI
- Specified by:
getContributionURI
in interfaceMPartDescriptor
- Returns:
- the value of the 'Contribution URI' attribute.
- See Also:
-
setContributionURI
- Specified by:
setContributionURI
in interfaceMPartDescriptor
- Parameters:
newContributionURI
- the new value of the 'Contribution URI' attribute.- See Also:
-
getDescription
- Specified by:
getDescription
in interfaceMPartDescriptor
- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
- Specified by:
setDescription
in interfaceMPartDescriptor
- Parameters:
newDescription
- the new value of the 'Description' attribute.- See Also:
-
getLocalizedDescription
- Specified by:
getLocalizedDescription
in interfaceMPartDescriptor
- Returns:
- the value of the 'Localized Description' attribute.
-
getVariables
- Specified by:
getVariables
in interfaceMPartDescriptor
- Returns:
- the value of the 'Variables' attribute list.
-
getProperties
- Specified by:
getProperties
in interfaceMPartDescriptor
- Returns:
- the value of the 'Properties' map.
-
getTrimBars
- Specified by:
getTrimBars
in interfaceMPartDescriptor
- Returns:
- the value of the 'Trim Bars' containment reference list.
- Since:
- 1.3
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalization
in interfaceMLocalizable
- 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 classApplicationElementImpl
-
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
-
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 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
-
model documentation
for details.