public interface MPlaceholder extends MUIElement, MPartSashContainerElement, MStackElement
A Placeholder is a concrete class used to share elements between perspectives. The elements referenced by a Placeholder generally exist in the Window's 'sharedElements' list. By convention a placeholder usually shares the same elementId as the element that it's referencing.
Modifier and Type | Method and Description |
---|---|
MUIElement |
getRef()
Returns the value of the 'Ref' reference
|
boolean |
isCloseable()
Returns the value of the 'Closeable' attribute.
|
void |
setCloseable(boolean value)
Sets the value of the '
Closeable ' attribute |
void |
setRef(MUIElement value)
Sets the value of the '
Ref ' reference |
getAccessibilityPhrase, getContainerData, getCurSharedRef, getLocalizedAccessibilityPhrase, getParent, getRenderer, getVisibleWhen, getWidget, isOnTop, isToBeRendered, isVisible, setAccessibilityPhrase, setContainerData, setCurSharedRef, setOnTop, setParent, setRenderer, setToBeRendered, setVisible, setVisibleWhen, setWidget
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
updateLocalization
MUIElement getRef()
The reference to the actual UI element that this Placeholder is acting as a proxy for.
setRef(MUIElement)
void setRef(MUIElement value)
Ref
' reference.
value
- the new value of the 'Ref' reference.getRef()
boolean isCloseable()
"false"
.
Determines whether the element (usually a Part) referenced by this Placeholder can be closed by the User. This allows a Part to be closeable in one perspective but not closeable in a different one.
setCloseable(boolean)
void setCloseable(boolean value)
Closeable
' attribute.
value
- the new value of the 'Closeable' attribute.isCloseable()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.