public class ReactorComponentPropertySource
extends java.lang.Object
implements org.eclipse.ui.views.properties.IPropertySource
Sub-classes should add their own properties via
addProperty(SimpleProperty)
.
Constructor and Description |
---|
ReactorComponentPropertySource(IReactorComponent component)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addProperty(SimpleProperty property)
Adds a SimpleProperty to the properties exposed by this IPropertySource.
|
java.lang.Object |
getEditableValue()
Returns null.
|
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors()
Returns the IPropertyDescriptors for IReactorComponents.
|
java.lang.Object |
getPropertyValue(java.lang.Object id)
Returns the value for a particular IReactorComponent property or null if
it is an invalid property.
|
boolean |
isPropertySet(java.lang.Object id)
Returns false.
|
void |
resetPropertyValue(java.lang.Object id)
Does nothing.
|
void |
setPropertyValue(java.lang.Object id,
java.lang.Object value)
Does nothing.
|
public ReactorComponentPropertySource(IReactorComponent component)
component
- The component whose properties are to be displayed in the ICE
Properties View.public boolean addProperty(SimpleProperty property)
property
- A SimpleProperty instance to add.public java.lang.Object getEditableValue()
getEditableValue
in interface org.eclipse.ui.views.properties.IPropertySource
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface org.eclipse.ui.views.properties.IPropertySource
public java.lang.Object getPropertyValue(java.lang.Object id)
getPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
public boolean isPropertySet(java.lang.Object id)
isPropertySet
in interface org.eclipse.ui.views.properties.IPropertySource
public void resetPropertyValue(java.lang.Object id)
resetPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
public void setPropertyValue(java.lang.Object id, java.lang.Object value)
setPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource