|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.ebob.internal.gui.InstancePropertySource
public class InstancePropertySource
A handler for instance property data. Passed to the Properties view for displaying an instance's properties.
Field Summary | |
---|---|
private Instance |
instance
the instance whose properties we are concerned about. |
private java.lang.String |
instanceName
a reference directly to the instance's name. |
private IObject |
instanceObj
a reference directly to the instance's object. |
private org.eclipse.ui.views.properties.IPropertyDescriptor[] |
propertyDescriptors
these are cached and returned upon subsequent calls. |
Constructor Summary | |
---|---|
InstancePropertySource(Instance instance)
constructs a new property source for the given instance. |
Method Summary | |
---|---|
java.lang.Object |
getEditableValue()
|
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors()
|
java.lang.Object |
getPropertyValue(java.lang.Object id)
|
boolean |
isPropertySet(java.lang.Object id)
There is no default value. |
void |
resetPropertyValue(java.lang.Object id)
Does nothing. |
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 |
---|
private final Instance instance
private final java.lang.String instanceName
private final IObject instanceObj
private org.eclipse.ui.views.properties.IPropertyDescriptor[] propertyDescriptors
Constructor Detail |
---|
public InstancePropertySource(Instance instance)
instance
- the instance whose properties we are concerned with.Method 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 getPropertyValue(java.lang.Object id)
getPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
IPropertySource.getPropertyValue(Object)
public boolean isPropertySet(java.lang.Object id)
isPropertySet
in interface org.eclipse.ui.views.properties.IPropertySource
IPropertySource.isPropertySet(Object)
public void resetPropertyValue(java.lang.Object id)
resetPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
IPropertySource.resetPropertyValue(Object)
public void setPropertyValue(java.lang.Object id, java.lang.Object value)
setPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
IPropertySource.setPropertyValue(Object, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |