Interface MWindow
- All Superinterfaces:
MApplicationElement,MBindings,MContext,MElementContainer<MWindowElement>,MHandlerContainer,MLocalizable,MSnippetContainer,MUIElement,MUILabel
- All Known Subinterfaces:
MDialog,MTrimmedWindow,MWizardDialog
- All Known Implementing Classes:
TrimmedWindowImpl,WindowImpl
public interface MWindow
extends MElementContainer<MWindowElement>, MUILabel, MContext, MHandlerContainer, MBindings, MSnippetContainer
A representation of the model object 'Window'.
This is the concrete class representing a bare bones window in the UI Model. Unless specifically desired it's likely better to use the TrimmedWindow instead.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of the 'Height' attribute.Returns the value of the 'Main Menu' containment reference.Returns the value of the 'Shared Elements' containment reference list.intgetWidth()Returns the value of the 'Width' attribute.Returns the value of the 'Windows' containment reference list.intgetX()Returns the value of the 'X' attribute.intgetY()Returns the value of the 'Y' attribute.booleanReturns whether the value of the 'Height' attribute is set.booleanReturns whether the value of the 'Width' attribute is set.booleanisSetX()Returns whether the value of the 'X' attribute is set.booleanisSetY()Returns whether the value of the 'Y' attribute is set.voidsetHeight(int value) Sets the value of the 'Height' attribute.voidsetMainMenu(MMenu value) Sets the value of the 'Main Menu' containment reference.voidsetWidth(int value) Sets the value of the 'Width' attribute.voidsetX(int value) Sets the value of the 'X' attribute.voidsetY(int value) Sets the value of the 'Y' attribute.voidUnsets the value of the 'Height' attribute.voidUnsets the value of the 'Width' attribute.voidunsetX()Unsets the value of the 'X' attribute.voidunsetY()Unsets the value of the 'Y' attribute.Methods 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.commands.MBindings
getBindingContextsMethods inherited from interface org.eclipse.e4.ui.model.application.ui.MContext
getContext, getProperties, getVariables, setContextMethods inherited from interface org.eclipse.e4.ui.model.application.ui.MElementContainer
getChildren, getSelectedElement, setSelectedElementMethods inherited from interface org.eclipse.e4.ui.model.application.commands.MHandlerContainer
getHandlersMethods inherited from interface org.eclipse.e4.ui.model.application.ui.MLocalizable
updateLocalizationMethods inherited from interface org.eclipse.e4.ui.model.application.ui.MSnippetContainer
getSnippetsMethods 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.e4.ui.model.application.ui.MUILabel
getIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltip
-
Method Details
-
getMainMenu
MMenu getMainMenu()Returns the value of the 'Main Menu' containment reference.The main menu (if any) for this window.
- Returns:
- the value of the 'Main Menu' containment reference.
- See Also:
-
getX
int getX()Returns the value of the 'X' attribute. The default value is"-2147483648".The 'X' position of this window
- Returns:
- the value of the 'X' attribute.
- See Also:
-
setX
void setX(int value) Sets the value of the 'X' attribute.- Parameters:
value- the new value of the 'X' attribute.- See Also:
-
unsetX
void unsetX()Unsets the value of the 'X' attribute.- Since:
- 2.2
- See Also:
-
isSetX
boolean isSetX()Returns whether the value of the 'X' attribute is set.- Returns:
- whether the value of the 'X' attribute is set.
- Since:
- 2.2
- See Also:
-
getY
int getY()Returns the value of the 'Y' attribute. The default value is"-2147483648".The 'Y' position of this window
- Returns:
- the value of the 'Y' attribute.
- See Also:
-
setY
void setY(int value) Sets the value of the 'Y' attribute.- Parameters:
value- the new value of the 'Y' attribute.- See Also:
-
unsetY
void unsetY()Unsets the value of the 'Y' attribute.- Since:
- 2.2
- See Also:
-
isSetY
boolean isSetY()Returns whether the value of the 'Y' attribute is set.- Returns:
- whether the value of the 'Y' attribute is set.
- Since:
- 2.2
- See Also:
-
getWidth
int getWidth()Returns the value of the 'Width' attribute. The default value is"-1".The width of this window
- Returns:
- the value of the 'Width' attribute.
- See Also:
-
setWidth
void setWidth(int value) Sets the value of the 'Width' attribute.- Parameters:
value- the new value of the 'Width' attribute.- See Also:
-
unsetWidth
void unsetWidth()Unsets the value of the 'Width' attribute.- Since:
- 2.2
- See Also:
-
isSetWidth
boolean isSetWidth()Returns whether the value of the 'Width' attribute is set.- Returns:
- whether the value of the 'Width' attribute is set.
- Since:
- 2.2
- See Also:
-
getHeight
int getHeight()Returns the value of the 'Height' attribute. The default value is"-1".The heigfht of this window
- Returns:
- the value of the 'Height' attribute.
- See Also:
-
setHeight
void setHeight(int value) Sets the value of the 'Height' attribute.- Parameters:
value- the new value of the 'Height' attribute.- See Also:
-
unsetHeight
void unsetHeight()Unsets the value of the 'Height' attribute.- Since:
- 2.2
- See Also:
-
isSetHeight
boolean isSetHeight()Returns whether the value of the 'Height' attribute is set.- Returns:
- whether the value of the 'Height' attribute is set.
- Since:
- 2.2
- See Also:
-
getWindows
Returns the value of the 'Windows' containment reference list. The list contents are of typeMWindow.The collection of 'Detached' windows associated with this window.
- Returns:
- the value of the 'Windows' containment reference list.
-