|
||||||||||
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.
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. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanPropertySource(java.lang.Object source)
source
- the sourceMethod Detail |
---|
public java.lang.Object getEditableValue()
getEditableValue
in interface org.eclipse.ui.views.properties.IPropertySource
IPropertySource.getEditableValue()
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface org.eclipse.ui.views.properties.IPropertySource
IPropertySource.getPropertyDescriptors()
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.IPropertySource
id
-
IPropertySource.getPropertyValue(java.lang.Object)
public boolean isPropertySet(java.lang.Object id)
isPropertySet
in interface org.eclipse.ui.views.properties.IPropertySource
isPropertySet
in interface org.eclipse.ui.views.properties.IPropertySource2
id
-
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 exceptionpublic void setPropertyValue(java.lang.Object id, java.lang.Object value)
setPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
id
- value
- IPropertySource.setPropertyValue(java.lang.Object, java.lang.Object)
public boolean isPropertyResettable(java.lang.Object id)
isPropertyResettable
in interface org.eclipse.ui.views.properties.IPropertySource2
id
-
IPropertySource2.isPropertyResettable(java.lang.Object)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
IPropertyChangeProvider
addPropertyChangeListener
in interface IPropertyChangeProvider
l
- IPropertyChangeProvider.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
IPropertyChangeProvider
removePropertyChangeListener
in interface IPropertyChangeProvider
l
- IPropertyChangeProvider.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void resetPropertyValue(java.lang.Object id)
resetPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
id
- IPropertySource.resetPropertyValue(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |