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.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 org.eclipse.emf.common.util.EList<MBindingContext> The cached value of the 'Binding Contexts' reference list.protected IEclipseContextThe cached value of the 'Context' attribute.protected static final IEclipseContextThe default value of the 'Context' attribute.protected org.eclipse.emf.common.util.EList<MHandler> The cached value of the 'Handlers' containment reference list.protected intThe cached value of the 'Height' attribute.protected static final intThe default value of the 'Height' attribute.protected booleanThis is true if the Height attribute has been set.protected static final StringThe default value of the 'Icon URI' attribute.protected StringThe cached value of the 'Icon URI' attribute.protected StringThe cached value of the 'Label' attribute.protected static final StringThe default value of the 'Label' attribute.protected static final StringThe default value of the 'Localized Label' attribute.protected static final StringThe default value of the 'Localized Tooltip' attribute.protected MMenuThe 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 StringThe cached value of the 'Tooltip' attribute.protected static final StringThe default value of the 'Tooltip' attribute.protected org.eclipse.emf.common.util.EList<String> The cached value of the 'Variables' attribute list.protected intThe cached value of the 'Width' attribute.protected static final intThe default value of the 'Width' attribute.protected booleanThis 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 intThe cached value of the 'X' attribute.protected static final intThe default value of the 'X' attribute.protected booleanThis is true if the X attribute has been set.protected intThe cached value of the 'Y' attribute.protected static final intThe default value of the 'Y' attribute.protected booleanThis is true if the Y attribute has been set.Fields inherited from class org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl
children, selectedElementFields 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_EDEFAULTFields 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.NotificationChainbasicSetMainMenu(MMenu newMainMenu, org.eclipse.emf.common.notify.NotificationChain msgs) inteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) inteDerivedOperationID(int baseOperationID, Class<?> baseClass) inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) 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) This is specialized for the more specific element type known in this context.intgetLabel()intgetWidth()intgetX()intgetY()booleanbooleanbooleanisSetX()booleanisSetY()voidsetContext(IEclipseContext newContext) voidsetHeight(int newHeight) voidsetIconURI(String newIconURI) voidvoidsetMainMenu(MMenu newMainMenu) voidsetSelectedElement(MWindowElement newSelectedElement) This is specialized for the more specific type known in this context.voidsetTooltip(String newTooltip) voidsetWidth(int newWidth) voidsetX(int newX) voidsetY(int newY) toString()voidvoidvoidunsetX()voidunsetY()voidMethods inherited from class org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl
basicGetSelectedElement, eInverseAdd, getSelectedElementMethods 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, setWidgetMethods 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, 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, 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.e4.ui.model.application.ui.MElementContainer
getSelectedElementMethods 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, setWidgetMethods 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:
eStaticClassin classElementContainerImpl<MWindowElement>
-
getChildren
This is specialized for the more specific element type known in this context.- Specified by:
getChildrenin interfaceMElementContainer<MWindowElement>- Overrides:
getChildrenin 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:
setSelectedElementin interfaceMElementContainer<MWindowElement>- Overrides:
setSelectedElementin classElementContainerImpl<MWindowElement>- Parameters:
newSelectedElement- the new value of the 'Selected Element' reference.- See Also:
-
getLabel
-
setLabel
-
getIconURI
- Specified by:
getIconURIin interfaceMUILabel- Returns:
- the value of the 'Icon URI' attribute.
- Since:
- 1.0
- See Also:
-
setIconURI
- Specified by:
setIconURIin interfaceMUILabel- Parameters:
newIconURI- the new value of the 'Icon URI' attribute.- Since:
- 1.0
- See Also:
-
getTooltip
- Specified by:
getTooltipin interfaceMUILabel- Returns:
- the value of the 'Tooltip' attribute.
- Since:
- 1.0
- See Also:
-
setTooltip
- Specified by:
setTooltipin interfaceMUILabel- Parameters:
newTooltip- the new value of the 'Tooltip' attribute.- Since:
- 1.0
- See Also:
-
getLocalizedLabel
- Specified by:
getLocalizedLabelin interfaceMUILabel- Returns:
- the value of the 'Localized Label' attribute.
-
getLocalizedTooltip
- Specified by:
getLocalizedTooltipin interfaceMUILabel- Returns:
- the value of the 'Localized Tooltip' attribute.
-
getContext
- Specified by:
getContextin interfaceMContext- Returns:
- the value of the 'Context' attribute.
- See Also:
-
setContext
- Specified by:
setContextin interfaceMContext- Parameters:
newContext- the new value of the 'Context' attribute.- See Also:
-
getVariables
- Specified by:
getVariablesin interfaceMContext- Returns:
- the value of the 'Variables' attribute list.
-
getProperties
- Specified by:
getPropertiesin interfaceMContext- Returns:
- the value of the 'Properties' map.
-
getHandlers
- Specified by:
getHandlersin interfaceMHandlerContainer- Returns:
- the value of the 'Handlers' containment reference list.
-
getBindingContexts
- Specified by:
getBindingContextsin interfaceMBindings- Returns:
- the value of the 'Binding Contexts' reference list.
-
getSnippets
- Specified by:
getSnippetsin interfaceMSnippetContainer- Returns:
- the value of the 'Snippets' containment reference list.
-
getMainMenu
- Specified by:
getMainMenuin 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:
unsetWidthin interfaceMWindow- See Also:
-
isSetWidth
public boolean isSetWidth()- Specified by:
isSetWidthin 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:
unsetHeightin interfaceMWindow- See Also:
-
isSetHeight
public boolean isSetHeight()- Specified by:
isSetHeightin interfaceMWindow- Returns:
- whether the value of the 'Height' attribute is set.
- See Also:
-
getWindows
- Specified by:
getWindowsin interfaceMWindow- Returns:
- the value of the 'Windows' containment reference list.
-
updateLocalization
public void updateLocalization()- Specified by:
updateLocalizationin interfaceMLocalizable- Overrides:
updateLocalizationin 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:
eInverseRemovein classElementContainerImpl<MWindowElement>
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classElementContainerImpl<MWindowElement>
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classElementContainerImpl<MWindowElement>
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classElementContainerImpl<MWindowElement>
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classElementContainerImpl<MWindowElement>
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBaseStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedOperationID
- Specified by:
eDerivedOperationIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedOperationIDin classUIElementImpl
-
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 classUIElementImpl- Throws:
InvocationTargetException
-
toString
- Overrides:
toStringin classUIElementImpl
-