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.
|
java.util.Map<java.lang.String,java.lang.String> |
getPartProperties()
Return an unmodifiable map of the arbitrary properties.
|
java.lang.String |
getPartProperty(java.lang.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(java.lang.String key,
java.lang.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.java.lang.String getPartProperty(java.lang.String key)
null.key - the arbitrary property. Must not be null.null.void setPartProperty(java.lang.String key,
java.lang.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.java.util.Map<java.lang.String,java.lang.String> getPartProperties()
null.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.