TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.util.ui.propertysheet.impl.beans
Class BeanPropertyModel

java.lang.Object
  extended byorg.eclipse.tptp.platform.analysis.util.ui.propertysheet.impl.AbstractPropertyModel
      extended byorg.eclipse.tptp.platform.analysis.util.ui.propertysheet.impl.beans.BeanPropertyModel
All Implemented Interfaces:
IPropertyModel

public class BeanPropertyModel
extends AbstractPropertyModel

BeanPropertyModel


Constructor Summary
BeanPropertyModel(java.lang.Object oBean)
          Constructor.
BeanPropertyModel(java.lang.Object oBean, ObjectConverterRegistry reg)
          Constructor.
 
Method Summary
 void addListValue(java.lang.Object oNewValue, IListPropertyDescriptor listPd)
          Add a list value.
 IPropertyModel createChildModel(java.lang.Object o)
          Create a child model for the object.
 java.lang.Object createNewListValue(IListPropertyDescriptor listPd)
          Create a new list value.
 void dispose()
          Dispose the object.
 java.lang.Object[] getListValues(IListPropertyDescriptor listPd)
          Get the list values.
 java.lang.Object getValue(IPropertyDescriptor pd)
          Return the value for the descriptor.
 void removeListValue(java.lang.Object oNewValue, IListPropertyDescriptor listPd)
          Remove a list value.
 void setValue(IPropertyDescriptor pd, java.lang.Object oValue)
          Set the value for the descriptor.
 
Methods inherited from class org.eclipse.tptp.platform.analysis.util.ui.propertysheet.impl.AbstractPropertyModel
add, addPropertyChangeListener, addPropertyChangeListener, findConverter, findDescriptor, firePropertyChange, getConverterRegistry, propertyDescriptors, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyModel

public BeanPropertyModel(java.lang.Object oBean)
                  throws java.lang.Exception
Constructor.

Parameters:
oBean -
Throws:
java.lang.Exception

BeanPropertyModel

public BeanPropertyModel(java.lang.Object oBean,
                         ObjectConverterRegistry reg)
                  throws java.lang.Exception
Constructor.

Parameters:
oBean -
reg -
Throws:
java.lang.Exception
Method Detail

getValue

public java.lang.Object getValue(IPropertyDescriptor pd)
                          throws java.lang.Exception
Return the value for the descriptor.

Parameters:
pd -
Returns:
Throws:
java.lang.Exception

setValue

public void setValue(IPropertyDescriptor pd,
                     java.lang.Object oValue)
              throws java.lang.Exception
Set the value for the descriptor.

Parameters:
pd -
oValue -
Throws:
java.lang.Exception

createChildModel

public IPropertyModel createChildModel(java.lang.Object o)
                                throws java.lang.Exception
Create a child model for the object.

Specified by:
createChildModel in interface IPropertyModel
Overrides:
createChildModel in class AbstractPropertyModel
Throws:
java.lang.Exception

getListValues

public java.lang.Object[] getListValues(IListPropertyDescriptor listPd)
Get the list values. Not implemented.

Specified by:
getListValues in interface IPropertyModel
Overrides:
getListValues in class AbstractPropertyModel

createNewListValue

public java.lang.Object createNewListValue(IListPropertyDescriptor listPd)
Create a new list value. Not implemented.

Specified by:
createNewListValue in interface IPropertyModel
Overrides:
createNewListValue in class AbstractPropertyModel

addListValue

public void addListValue(java.lang.Object oNewValue,
                         IListPropertyDescriptor listPd)
Add a list value. Not implemented.

Specified by:
addListValue in interface IPropertyModel
Overrides:
addListValue in class AbstractPropertyModel

removeListValue

public void removeListValue(java.lang.Object oNewValue,
                            IListPropertyDescriptor listPd)
Remove a list value. Not implemented.

Specified by:
removeListValue in interface IPropertyModel
Overrides:
removeListValue in class AbstractPropertyModel

dispose

public void dispose()
Description copied from interface: IPropertyModel
Dispose the object.

Specified by:
dispose in interface IPropertyModel
Overrides:
dispose in class AbstractPropertyModel

TPTP 4.2.0 Platform Project
Public API Specification