Interface MWindow
-
- All Superinterfaces:
MApplicationElement
,MBindings
,MContext
,MElementContainer<MWindowElement>
,MHandlerContainer
,MLocalizable
,MSnippetContainer
,MUIElement
,MUILabel
- All Known Subinterfaces:
MDialog
,MTrimmedWindow
,MWizardDialog
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getHeight()
Returns the value of the 'Height' attribute.MMenu
getMainMenu()
Returns the value of the 'Main Menu' containment reference.List<MUIElement>
getSharedElements()
Returns the value of the 'Shared Elements' containment reference list.int
getWidth()
Returns the value of the 'Width' attribute.List<MWindow>
getWindows()
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.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.-
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 Detail
-
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:
setMainMenu(MMenu)
-
setMainMenu
void setMainMenu(MMenu value)
Sets the value of the 'Main Menu
' containment reference.- Parameters:
value
- the new value of the 'Main Menu' containment reference.- See Also:
getMainMenu()
-
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(int)
-
setX
void setX(int value)
Sets the value of the 'X
' attribute.- Parameters:
value
- the new value of the 'X' attribute.- See Also:
getX()
-
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(int)
-
setY
void setY(int value)
Sets the value of the 'Y
' attribute.- Parameters:
value
- the new value of the 'Y' attribute.- See Also:
getY()
-
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(int)
-
setWidth
void setWidth(int value)
Sets the value of the 'Width
' attribute.- Parameters:
value
- the new value of the 'Width' attribute.- See Also:
getWidth()
-
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(int)
-
setHeight
void setHeight(int value)
Sets the value of the 'Height
' attribute.- Parameters:
value
- the new value of the 'Height' attribute.- See Also:
getHeight()
-
getWindows
List<MWindow> 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.
-
getSharedElements
List<MUIElement> getSharedElements()
Returns the value of the 'Shared Elements' containment reference list. The list contents are of typeMUIElement
.This is the collection of UI Elements that are referenced by Placeholders, allowing the re-use of these elements in different Perspectives.
- Returns:
- the value of the 'Shared Elements' containment reference list.
-
-