|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
public String getId()
public String getViewerId()
public String getStringProperty(String aPropertyName)
aPropertyName
- The name of a given property
public boolean getBooleanProperty(String aPropertyName)
aPropertyName
- The name of a given property
public int getIntProperty(String aPropertyName)
aPropertyName
- The name of a given property
public Object getProperty(String aPropertyName)
aPropertyName
- The name of a given property
public void setStringProperty(String aPropertyName, String aPropertyValue)
aPropertyName
- The name of a given propertyaPropertyValue
- The new value of a the given property.public void setBooleanProperty(String aPropertyName, boolean aPropertyValue)
aPropertyName
- The name of a given propertyaPropertyValue
- The new value of a the given property.public void setIntProperty(String aPropertyName, int aPropertyValue)
aPropertyName
- The name of a given propertyaPropertyValue
- The new value of a the given property.public void setProperty(String aPropertyName, Object aPropertyValue)
aPropertyName
- The name of a given propertyaPropertyValue
- The new value of a the given property.public void addPropertyChangeListener(IPropertyChangeListener aListener)
aListener
- An implementation of IPropertyChangeListener
that
should be notified when changes occur in this model.public 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.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.