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 TypeMethodDescriptionint
Returns 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.int
getWidth()
Returns the value of the 'Width' attribute.Returns the value of the 'Windows' containment reference list.int
getX()
Returns the value of the 'X' attribute.int
getY()
Returns the value of the 'Y' attribute.boolean
Returns whether the value of the 'Height
' attribute is set.boolean
Returns whether the value of the 'Width
' attribute is set.boolean
isSetX()
Returns whether the value of the 'X
' attribute is set.boolean
isSetY()
Returns whether the value of the 'Y
' attribute is set.void
setHeight
(int value) Sets the value of the 'Height
' attribute.void
setMainMenu
(MMenu value) Sets the value of the 'Main Menu
' containment reference.void
setWidth
(int value) Sets the value of the 'Width
' attribute.void
setX
(int value) Sets the value of the 'X
' attribute.void
setY
(int value) Sets the value of the 'Y
' attribute.void
Unsets the value of the 'Height
' attribute.void
Unsets the value of the 'Width
' attribute.void
unsetX()
Unsets the value of the 'X
' attribute.void
unsetY()
Unsets the value of the 'Y
' attribute.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.commands.MBindings
getBindingContexts
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.MContext
getContext, getProperties, getVariables, setContext
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.MElementContainer
getChildren, getSelectedElement, setSelectedElement
Methods inherited from interface org.eclipse.e4.ui.model.application.commands.MHandlerContainer
getHandlers
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.MLocalizable
updateLocalization
Methods inherited from interface org.eclipse.e4.ui.model.application.ui.MSnippetContainer
getSnippets
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.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
-
setX
void setX(int value) Sets the value of the 'X
' attribute. -
unsetX
void unsetX()Unsets the value of the 'X
' attribute. -
isSetX
boolean isSetX()Returns whether the value of the 'X
' attribute is set. -
getY
int getY()Returns the value of the 'Y' attribute. The default value is"-2147483648"
.The 'Y' position of this window
-
setY
void setY(int value) Sets the value of the 'Y
' attribute. -
unsetY
void unsetY()Unsets the value of the 'Y
' attribute. -
isSetY
boolean isSetY()Returns whether the value of the 'Y
' attribute is set. -
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.
-