roneditor.model
Class RulePropertySource

java.lang.Object
  extended by roneditor.model.RulePropertySource
All Implemented Interfaces:
org.eclipse.ui.views.properties.IPropertySource

public class RulePropertySource
extends java.lang.Object
implements org.eclipse.ui.views.properties.IPropertySource

Property source for a Rules.

Author:
Tony Modica

Field Summary
private static org.eclipse.ui.views.properties.IPropertyDescriptor[] descriptors
           
static int ID_NAME
           
private  ronmodel.Rule rule
           
 
Constructor Summary
RulePropertySource(ronmodel.Rule rule)
           
 
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)
           
 void resetPropertyValue(java.lang.Object id)
           
 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

ID_NAME

public static final int ID_NAME
See Also:
Constant Field Values

descriptors

private static final org.eclipse.ui.views.properties.IPropertyDescriptor[] descriptors

rule

private ronmodel.Rule rule
Constructor Detail

RulePropertySource

public RulePropertySource(ronmodel.Rule rule)
Method Detail

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object id)
Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource

setPropertyValue

public void setPropertyValue(java.lang.Object id,
                             java.lang.Object value)
Specified by:
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource

getEditableValue

public java.lang.Object getEditableValue()
Specified by:
getEditableValue 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

isPropertySet

public boolean isPropertySet(java.lang.Object id)
Specified by:
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySource

resetPropertyValue

public void resetPropertyValue(java.lang.Object id)
Specified by:
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource