|
TPTP 4.5.0 Testing Tools Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.test.ui.datapool.internal.util.StringValueClass
public class StringValueClass
| Constructor Summary | |
|---|---|
StringValueClass()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPropertyDescription(java.lang.Object theObject)
This method returns the description of the object used in the initial property display. |
java.lang.Object |
getPropertyDisplay(java.lang.Object theObject,
org.eclipse.swt.widgets.Composite parent,
boolean editable)
This method returns the control that is placed in the property editor to allow access to data. |
java.lang.Object |
getUpdatedObject(java.lang.Object theObject,
java.lang.Object display)
This method takes the property, value or difference display and the asssociated object and returns an updated instance of the original object. |
java.lang.Object |
getValueDisplay(java.lang.Object theObject,
org.eclipse.swt.widgets.Composite parent,
boolean editable)
This method returns an Object(widgets.Dialog or jface.Dialog) that is used to display a detailed view of the specified data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringValueClass()
| Method Detail |
|---|
public java.lang.String getPropertyDescription(java.lang.Object theObject)
IDisplayValueClass
getPropertyDescription in interface IDisplayValueClasstheObject - An instance of the class represented by
the associated value class.
public java.lang.Object getPropertyDisplay(java.lang.Object theObject,
org.eclipse.swt.widgets.Composite parent,
boolean editable)
IDisplayValueClassvalue display
control. Either this method or getValueDisplay must return a non-null Control.
getPropertyDisplay in interface IDisplayValueClasstheObject - An instance of the class represented by
this value class.
public java.lang.Object getValueDisplay(java.lang.Object theObject,
org.eclipse.swt.widgets.Composite parent,
boolean editable)
IDisplayValueClassgetPropertyDisplay must return a
non-null component. If the nature of this data is
complex (such as a grid, tree or property set) then this
method should be supported instead of the getPropertyDisplay counterpart.
getValueDisplay in interface IDisplayValueClasstheObject - An instance of the class represented by
this value class.editable - true if the display should allow
modifications to the specified data.
public java.lang.Object getUpdatedObject(java.lang.Object theObject,
java.lang.Object display)
IDisplayValueClass
getUpdatedObject in interface IDisplayValueClasstheObject - The object the display represents.display - A Control returned from getPropertyDisplay,
getValueDisplay.
|
TPTP 4.5.0 Testing Tools Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||