| org.eclipse.ui.navigator.IExtensionStateModel
All known Subclasses: org.eclipse.ui.internal.navigator.extensions.ExtensionStateModel,
IExtensionStateModel | public interface IExtensionStateModel (Code) | | Allows clients to coordinate state across components that are part of the
same logical extension.
That is, a content provider might vary how it exposes its content based on
the state of a specific property in the model. Interested parties may add
themselves as
IPropertyChangeListener s to track changes in the state
model.
This interface is not intended to be implemented by clients.
since: 3.2 |
addPropertyChangeListener | void addPropertyChangeListener(IPropertyChangeListener aListener)(Code) | | Parameters: aListener - An implementation of IPropertyChangeListener thatshould be notified when changes occur in this model. |
getBooleanProperty | boolean getBooleanProperty(String aPropertyName)(Code) | | Parameters: aPropertyName - The name of a given property The current value of the property. |
getId | String getId()(Code) | | The id is used to look up the state model across different components of
the same logical extension. Generally, the id of the content extension is
used.
The unique identifier of this state model. |
getIntProperty | int getIntProperty(String aPropertyName)(Code) | | Parameters: aPropertyName - The name of a given property The current value of the property. |
getProperty | Object getProperty(String aPropertyName)(Code) | | Parameters: aPropertyName - The name of a given property The current value of the property. |
getStringProperty | String getStringProperty(String aPropertyName)(Code) | | Parameters: aPropertyName - The name of a given property The current value of the property. |
getViewerId | String getViewerId()(Code) | | The viewer id that this state model is associated with. |
removePropertyChangeListener | void removePropertyChangeListener(IPropertyChangeListener aListener)(Code) | | Parameters: aListener - An implementation of IPropertyChangeListener thatshould no longer be notified when changes occur in this model. |
setBooleanProperty | void setBooleanProperty(String aPropertyName, boolean aPropertyValue)(Code) | | Parameters: aPropertyName - The name of a given property Parameters: aPropertyValue - The new value of a the given property. |
setIntProperty | void setIntProperty(String aPropertyName, int aPropertyValue)(Code) | | Parameters: aPropertyName - The name of a given property Parameters: aPropertyValue - The new value of a the given property. |
setProperty | void setProperty(String aPropertyName, Object aPropertyValue)(Code) | | Parameters: aPropertyName - The name of a given property Parameters: aPropertyValue - The new value of a the given property. |
setStringProperty | void setStringProperty(String aPropertyName, String aPropertyValue)(Code) | | Parameters: aPropertyName - The name of a given property Parameters: aPropertyValue - The new value of a the given property. |
|
|