|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.amp.escape.ascape.adapt.BeanPropertySource
public class BeanPropertySource
The Class BeanPropertySource.
| Field Summary | |
|---|---|
protected java.beans.PropertyChangeSupport |
listeners
|
| Constructor Summary | |
|---|---|
BeanPropertySource(java.lang.Object source)
Instantiates a new bean property source. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds the property change listener. |
protected void |
createDescriptors()
|
protected void |
createDescriptors(java.lang.Class sourceClass,
java.lang.Class stopClass,
java.lang.String category)
|
protected void |
firePropertyChange(java.lang.String id,
java.lang.Object old,
java.lang.Object newValue)
Fire property change. |
java.lang.Object |
getEditableValue()
|
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors()
|
java.lang.Object |
getPropertyValue(java.lang.Object id)
|
java.lang.Object |
getValue(java.beans.PropertyDescriptor descriptor)
Gets the value. |
boolean |
isPropertyResettable(java.lang.Object id)
|
boolean |
isPropertySet(java.lang.Object id)
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes the property change listener. |
void |
resetPropertyValue(java.lang.Object id)
|
void |
setAsObject(java.beans.PropertyDescriptor descriptor,
java.lang.Object value)
Sets the as object. |
void |
setPropertyValue(java.lang.Object id,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient java.beans.PropertyChangeSupport listeners
| Constructor Detail |
|---|
public BeanPropertySource(java.lang.Object source)
source - the source| Method Detail |
|---|
public java.lang.Object getEditableValue()
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySourceIPropertySource.getEditableValue()public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySourceIPropertySource.getPropertyDescriptors()protected void createDescriptors()
protected void createDescriptors(java.lang.Class sourceClass,
java.lang.Class stopClass,
java.lang.String category)
public java.lang.Object getValue(java.beans.PropertyDescriptor descriptor)
descriptor - the descriptor
public java.lang.Object getPropertyValue(java.lang.Object id)
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourceid -
IPropertySource.getPropertyValue(java.lang.Object)public boolean isPropertySet(java.lang.Object id)
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySourceisPropertySet in interface org.eclipse.ui.views.properties.IPropertySource2id -
IPropertySource.isPropertySet(java.lang.Object)
public void setAsObject(java.beans.PropertyDescriptor descriptor,
java.lang.Object value)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalArgumentException
descriptor - the descriptorvalue - the value
java.lang.reflect.InvocationTargetException - the invocation target exception
java.lang.IllegalArgumentException - the illegal argument exception
public void setPropertyValue(java.lang.Object id,
java.lang.Object value)
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourceid - value - IPropertySource.setPropertyValue(java.lang.Object, java.lang.Object)public boolean isPropertyResettable(java.lang.Object id)
isPropertyResettable in interface org.eclipse.ui.views.properties.IPropertySource2id -
IPropertySource2.isPropertyResettable(java.lang.Object)public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
IPropertyChangeProvider
addPropertyChangeListener in interface IPropertyChangeProviderl - IPropertyChangeProvider.addPropertyChangeListener(java.beans.PropertyChangeListener)
protected void firePropertyChange(java.lang.String id,
java.lang.Object old,
java.lang.Object newValue)
id - the idold - the oldnewValue - the new valuepublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
IPropertyChangeProvider
removePropertyChangeListener in interface IPropertyChangeProviderl - IPropertyChangeProvider.removePropertyChangeListener(java.beans.PropertyChangeListener)public void resetPropertyValue(java.lang.Object id)
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourceid - IPropertySource.resetPropertyValue(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||