public interface IWorkbenchPart3 extends IWorkbenchPart2
Setting a property must fire a PropertyChangeEvent.
PROP_TITLE| Modifier and Type | Method and Description |
|---|---|
void |
addPartPropertyListener(IPropertyChangeListener listener)
Add a listener for changes in the arbitrary properties set.
|
Map |
getPartProperties()
Return an unmodifiable map of the arbitrary properties.
|
String |
getPartProperty(String key)
Return the value for the arbitrary property key, or
null. |
void |
removePartPropertyListener(IPropertyChangeListener listener)
Remove a change listener from the arbitrary properties set.
|
void |
setPartProperty(String key,
String value)
Set an arbitrary property on the part.
|
getContentDescription, getPartNameaddPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocusgetAdaptervoid addPartPropertyListener(IPropertyChangeListener listener)
Note: this is a different set of properties than the ones covered by the IWorkbenchPartConstants.PROP_* constants.
listener - Must not be null.void removePartPropertyListener(IPropertyChangeListener listener)
Note: this is a different set of properties than the ones covered by the IWorkbenchPartConstants.PROP_* constants.
listener - Must not be null.String getPartProperty(String key)
null.key - the arbitrary property. Must not be null.null.void setPartProperty(String key, String value)
A default implementation has been added to WorkbenchPart.
key - the arbitrary property. Must not be null.value - the property value. A null value will remove
that property.Map getPartProperties()
null.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.