public interface MPart extends MUIElement, MPartSashContainerElement, MStackElement, MContribution, MContext, MUILabel, MHandlerContainer, MDirtyable, MBindings, MWindowElement
This a concrete class representing the core UI functionality within a Window. It's what used to be a View / Editor in Eclipse 3.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute
|
java.lang.String |
getLocalizedDescription()
Returns the value of the 'Localized Description' attribute
|
java.util.List<MMenu> |
getMenus()
Returns the value of the 'Menus' containment reference list.
|
MToolBar |
getToolbar()
Returns the value of the 'Toolbar' containment reference
|
java.util.List<MTrimBar> |
getTrimBars()
Returns the value of the 'Trim Bars' containment reference list.
|
boolean |
isCloseable()
Returns the value of the 'Closeable' attribute.
|
void |
setCloseable(boolean value)
Sets the value of the '
Closeable' attribute |
void |
setDescription(java.lang.String value)
Sets the value of the '
Description' attribute |
void |
setToolbar(MToolBar value)
Sets the value of the '
Toolbar' containment reference |
getContributionURI, getObject, setContributionURI, setObjectgetContext, getProperties, getVariables, setContextgetIconURI, getLabel, getLocalizedLabel, getLocalizedTooltip, getTooltip, setIconURI, setLabel, setTooltipgetHandlersisDirty, setDirtygetBindingContextsgetAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidgetjava.util.List<MMenu> getMenus()
MMenu.
This defines the list of the menus associated with this part. There are two specific menus that are managed by the core UI:
Other menus can be added here but have to be managed by the part itself...
MToolBar getToolbar()
This is the Toolbar associated with tihs Part (if any).
setToolbar(MToolBar)void setToolbar(MToolBar value)
Toolbar' containment reference.
value - the new value of the 'Toolbar' containment reference.getToolbar()boolean isCloseable()
"false".
Determines whether the user is allowed to close this view.
setCloseable(boolean)void setCloseable(boolean value)
Closeable' attribute.
value - the new value of the 'Closeable' attribute.isCloseable()java.lang.String getDescription()
The description of this Part; used when the Part appears in a list of Parts (i.e. 'Show View').
setDescription(String)void setDescription(java.lang.String value)
Description' attribute.
value - the new value of the 'Description' attribute.getDescription()java.lang.String getLocalizedDescription()