org.drools.eclipse.editors.rete.model
Class VertexPropertySource
java.lang.Object
org.drools.eclipse.editors.rete.model.VertexPropertySource
- All Implemented Interfaces:
- org.eclipse.ui.views.properties.IPropertySource
public class VertexPropertySource
- extends Object
- implements org.eclipse.ui.views.properties.IPropertySource
Providing IPropertySource for property sheets that show
rete graph vertex properties.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_ROOT
public String ID_ROOT
ID_ID
public String ID_ID
ID_HTML
public String ID_HTML
vertex
protected BaseVertex vertex
VertexPropertySource
public VertexPropertySource(BaseVertex vertex)
- Constructor initializing properties from
vertex
- Parameters:
vertex - source vertex for this property source
getEditableValue
public Object getEditableValue()
- Specified by:
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
public Object getPropertyValue(Object propName)
- Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
public Object getPropertyValue(String propName)
- Property value.
- Parameters:
propName -
- Returns:
setPropertyValue
public void setPropertyValue(Object propName,
Object value)
- Specified by:
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyDescriptors
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySource
resetPropertyValue
public void resetPropertyValue(Object propName)
- Doing nothing as resetting properties from property sheet is not possible.
- Specified by:
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
isPropertySet
public boolean isPropertySet(Object propName)
- Specified by:
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySource
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.