|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExtensionStateModel
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 IPropertyChangeListeners to track changes in the state
model.
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(IPropertyChangeListener aListener)
|
boolean |
getBooleanProperty(java.lang.String aPropertyName)
|
java.lang.String |
getId()
The id is used to look up the state model across different components of the same logical extension. |
int |
getIntProperty(java.lang.String aPropertyName)
|
java.lang.Object |
getProperty(java.lang.String aPropertyName)
|
java.lang.String |
getStringProperty(java.lang.String aPropertyName)
|
java.lang.String |
getViewerId()
|
void |
removePropertyChangeListener(IPropertyChangeListener aListener)
|
void |
setBooleanProperty(java.lang.String aPropertyName,
boolean aPropertyValue)
|
void |
setIntProperty(java.lang.String aPropertyName,
int aPropertyValue)
|
void |
setProperty(java.lang.String aPropertyName,
java.lang.Object aPropertyValue)
|
void |
setStringProperty(java.lang.String aPropertyName,
java.lang.String aPropertyValue)
|
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getViewerId()
java.lang.String getStringProperty(java.lang.String aPropertyName)
aPropertyName - The name of a given property
boolean getBooleanProperty(java.lang.String aPropertyName)
aPropertyName - The name of a given property
int getIntProperty(java.lang.String aPropertyName)
aPropertyName - The name of a given property
java.lang.Object getProperty(java.lang.String aPropertyName)
aPropertyName - The name of a given property
void setStringProperty(java.lang.String aPropertyName,
java.lang.String aPropertyValue)
aPropertyName - The name of a given propertyaPropertyValue - The new value of a the given property.
void setBooleanProperty(java.lang.String aPropertyName,
boolean aPropertyValue)
aPropertyName - The name of a given propertyaPropertyValue - The new value of a the given property.
void setIntProperty(java.lang.String aPropertyName,
int aPropertyValue)
aPropertyName - The name of a given propertyaPropertyValue - The new value of a the given property.
void setProperty(java.lang.String aPropertyName,
java.lang.Object aPropertyValue)
aPropertyName - The name of a given propertyaPropertyValue - The new value of a the given property.void addPropertyChangeListener(IPropertyChangeListener aListener)
aListener - An implementation of IPropertyChangeListener that
should be notified when changes occur in this model.void removePropertyChangeListener(IPropertyChangeListener aListener)
aListener - An implementation of IPropertyChangeListener that
should no longer be notified when changes occur in this model.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.