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.
The following features are supported:
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the value of the 'Description' attribute
|
String |
getLocalizedDescription()
Returns the value of the 'Localized Description' attribute
|
List<MMenu> |
getMenus()
Returns the value of the 'Menus' containment reference list.
|
MToolBar |
getToolbar()
Returns the value of the 'Toolbar' containment reference
|
boolean |
isCloseable()
Returns the value of the 'Closeable' attribute.
|
void |
setCloseable(boolean value)
Sets the value of the '
Closeable' attribute |
void |
setDescription(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, setWidgetList<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;
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()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(String value)
Description' attribute.
value - the new value of the 'Description' attribute.getDescription()String getLocalizedDescription()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.