de.tu_berlin.cs.tfs.muvitorkit.properties
Class AbstractPropertySource<T>

java.lang.Object
  extended by de.tu_berlin.cs.tfs.muvitorkit.properties.AbstractPropertySource<T>
All Implemented Interfaces:
IPropertySource
Direct Known Subclasses:
LocationPropertySource

public abstract class AbstractPropertySource<T>
extends Object
implements IPropertySource

Rating red

Constructor Summary
AbstractPropertySource(T model)
           
 
Method Summary
protected abstract  IPropertyDescriptor[] createPropertyDescriptors()
           
 Object getEditableValue()
           
protected  T getModel()
           
 IPropertyDescriptor[] getPropertyDescriptors()
           
 boolean isPropertySet(Object id)
           
 void resetPropertyValue(Object id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue, setPropertyValue
 

Constructor Detail

AbstractPropertySource

public AbstractPropertySource(T model)
Method Detail

getModel

protected T getModel()

createPropertyDescriptors

protected abstract IPropertyDescriptor[] createPropertyDescriptors()

getEditableValue

public Object getEditableValue()
Specified by:
getEditableValue in interface IPropertySource

getPropertyDescriptors

public IPropertyDescriptor[] getPropertyDescriptors()
Specified by:
getPropertyDescriptors in interface IPropertySource

isPropertySet

public boolean isPropertySet(Object id)
Specified by:
isPropertySet in interface IPropertySource

resetPropertyValue

public void resetPropertyValue(Object id)
Specified by:
resetPropertyValue in interface IPropertySource