|
Eclipse Platform Release 3.7 |
|||||||||
| 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(String aPropertyName)
|
String |
getId()
The id is used to look up the state model across different components of the same logical extension. |
int |
getIntProperty(String aPropertyName)
|
Object |
getProperty(String aPropertyName)
|
String |
getStringProperty(String aPropertyName)
|
String |
getViewerId()
|
void |
removePropertyChangeListener(IPropertyChangeListener aListener)
|
void |
setBooleanProperty(String aPropertyName,
boolean aPropertyValue)
|
void |
setIntProperty(String aPropertyName,
int aPropertyValue)
|
void |
setProperty(String aPropertyName,
Object aPropertyValue)
|
void |
setStringProperty(String aPropertyName,
String aPropertyValue)
|
| Method Detail |
|---|
String getId()
String getViewerId()
String getStringProperty(String aPropertyName)
aPropertyName - The name of a given property
boolean getBooleanProperty(String aPropertyName)
aPropertyName - The name of a given property
int getIntProperty(String aPropertyName)
aPropertyName - The name of a given property
Object getProperty(String aPropertyName)
aPropertyName - The name of a given property
void setStringProperty(String aPropertyName,
String aPropertyValue)
aPropertyName - The name of a given propertyaPropertyValue - The new value of a the given property.
void setBooleanProperty(String aPropertyName,
boolean aPropertyValue)
aPropertyName - The name of a given propertyaPropertyValue - The new value of a the given property.
void setIntProperty(String aPropertyName,
int aPropertyValue)
aPropertyName - The name of a given propertyaPropertyValue - The new value of a the given property.
void setProperty(String aPropertyName,
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.7 |
|||||||||
| 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, 2011. All rights reserved.