Class WindowImpl
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.impl.ElementContainerImpl<MWindowElement>
org.eclipse.e4.ui.model.application.ui.basic.impl.WindowImpl
- All Implemented Interfaces:
MBindings
,MHandlerContainer
,MApplicationElement
,MWindow
,MContext
,MElementContainer<MWindowElement>
,MLocalizable
,MSnippetContainer
,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:
TrimmedWindowImpl
An implementation of the model object 'Window'.
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 IEclipseContext
The cached value of the 'Context
' attribute.protected static final IEclipseContext
The default value of the 'Context
' attribute.protected org.eclipse.emf.common.util.EList<MHandler>
The cached value of the 'Handlers
' containment reference list.protected int
The cached value of the 'Height
' attribute.protected static final int
The default value of the 'Height
' attribute.protected boolean
This is true if the Height attribute has been set.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 Label
' attribute.protected static final String
The default value of the 'Localized Tooltip
' attribute.protected MMenu
The cached value of the 'Main Menu
' containment reference.The cached value of the 'Properties
' map.protected org.eclipse.emf.common.util.EList<MUIElement>
The cached value of the 'Shared Elements
' containment reference list.protected org.eclipse.emf.common.util.EList<MUIElement>
The cached value of the 'Snippets
' containment reference list.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<String>
The cached value of the 'Variables
' attribute list.protected int
The cached value of the 'Width
' attribute.protected static final int
The default value of the 'Width
' attribute.protected boolean
This is true if the Width attribute has been set.protected org.eclipse.emf.common.util.EList<MWindow>
The cached value of the 'Windows
' containment reference list.protected int
The cached value of the 'X
' attribute.protected static final int
The default value of the 'X
' attribute.protected boolean
This is true if the X attribute has been set.protected int
The cached value of the 'Y
' attribute.protected static final int
The default value of the 'Y
' attribute.protected boolean
This is true if the Y attribute has been set.Fields inherited from class org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl
children, selectedElement
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
basicSetMainMenu
(MMenu newMainMenu, 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) This is specialized for the more specific element type known in this context.int
getLabel()
int
getWidth()
int
getX()
int
getY()
boolean
boolean
boolean
isSetX()
boolean
isSetY()
void
setContext
(IEclipseContext newContext) void
setHeight
(int newHeight) void
setIconURI
(String newIconURI) void
void
setMainMenu
(MMenu newMainMenu) void
setSelectedElement
(MWindowElement newSelectedElement) This is specialized for the more specific type known in this context.void
setTooltip
(String newTooltip) void
setWidth
(int newWidth) void
setX
(int newX) void
setY
(int newY) toString()
void
void
void
unsetX()
void
unsetY()
void
Methods inherited from class org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl
basicGetSelectedElement, eInverseAdd, getSelectedElement
Methods inherited from class org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl
basicGetCurSharedRef, basicSetParent, basicSetVisibleWhen, eBasicRemoveFromContainerFeature, 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.MElementContainer
getSelectedElement
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
-
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:
-
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:
-
handlers
The cached value of the 'Handlers
' containment reference list.- See Also:
-
bindingContexts
The cached value of the 'Binding Contexts
' reference list.- See Also:
-
snippets
The cached value of the 'Snippets
' containment reference list.- See Also:
-
mainMenu
The cached value of the 'Main Menu
' containment reference.- See Also:
-
X_EDEFAULT
protected static final int X_EDEFAULTThe default value of the 'X
' attribute.- See Also:
-
x
protected int xThe cached value of the 'X
' attribute.- See Also:
-
xESet
protected boolean xESetThis is true if the X attribute has been set. -
Y_EDEFAULT
protected static final int Y_EDEFAULTThe default value of the 'Y
' attribute.- See Also:
-
y
protected int yThe cached value of the 'Y
' attribute.- See Also:
-
yESet
protected boolean yESetThis is true if the Y attribute has been set. -
WIDTH_EDEFAULT
protected static final int WIDTH_EDEFAULTThe default value of the 'Width
' attribute.- See Also:
-
width
protected int widthThe cached value of the 'Width
' attribute.- See Also:
-
widthESet
protected boolean widthESetThis is true if the Width attribute has been set. -
HEIGHT_EDEFAULT
protected static final int HEIGHT_EDEFAULTThe default value of the 'Height
' attribute.- See Also:
-
height
protected int heightThe cached value of the 'Height
' attribute.- See Also:
-
heightESet
protected boolean heightESetThis is true if the Height attribute has been set. -
windows
The cached value of the 'Windows
' containment reference list.- See Also:
-
-
Constructor Details
-
WindowImpl
protected WindowImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classElementContainerImpl<MWindowElement>
-
getChildren
This is specialized for the more specific element type known in this context.- Specified by:
getChildren
in interfaceMElementContainer<MWindowElement>
- Overrides:
getChildren
in classElementContainerImpl<MWindowElement>
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
-
setSelectedElement
This is specialized for the more specific type known in this context.- Specified by:
setSelectedElement
in interfaceMElementContainer<MWindowElement>
- Overrides:
setSelectedElement
in classElementContainerImpl<MWindowElement>
- Parameters:
newSelectedElement
- the new value of the 'Selected Element' reference.- See Also:
-
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.
-
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.
-
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.
-
getSnippets
- Specified by:
getSnippets
in interfaceMSnippetContainer
- Returns:
- the value of the 'Snippets' containment reference list.
-
getMainMenu
- Specified by:
getMainMenu
in interfaceMWindow
- Returns:
- the value of the 'Main Menu' containment reference.
- See Also:
-
getX
public int getX() -
setX
public void setX(int newX) -
unsetX
public void unsetX() -
isSetX
public boolean isSetX() -
getY
public int getY() -
setY
public void setY(int newY) -
unsetY
public void unsetY() -
isSetY
public boolean isSetY() -
getWidth
public int getWidth() -
setWidth
public void setWidth(int newWidth) -
unsetWidth
public void unsetWidth()- Specified by:
unsetWidth
in interfaceMWindow
- See Also:
-
isSetWidth
public boolean isSetWidth()- Specified by:
isSetWidth
in interfaceMWindow
- Returns:
- whether the value of the 'Width' attribute is set.
- See Also:
-
getHeight
public int getHeight() -
setHeight
public void setHeight(int newHeight) -
unsetHeight
public void unsetHeight()- Specified by:
unsetHeight
in interfaceMWindow
- See Also:
-
isSetHeight
public boolean isSetHeight()- Specified by:
isSetHeight
in interfaceMWindow
- Returns:
- whether the value of the 'Height' attribute is set.
- See Also:
-
getWindows
- Specified by:
getWindows
in interfaceMWindow
- Returns:
- the value of the 'Windows' containment reference list.
-
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 classElementContainerImpl<MWindowElement>
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classElementContainerImpl<MWindowElement>
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classElementContainerImpl<MWindowElement>
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classElementContainerImpl<MWindowElement>
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classElementContainerImpl<MWindowElement>
-
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
-