Interface XViewerConverter
-
public interface XViewerConverter
interface to manage the input
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getInput(org.eclipse.swt.widgets.Control c, CellEditDescriptor ced, java.lang.Object selObject)
Method to put the new Input(from the Control c) into the selObject
- check with the CellEditDescriptor(getInputField) where to save the new Inputboolean
isValid(CellEditDescriptor ced, java.lang.Object selObject)
is this object valid for this cell?void
setInput(org.eclipse.swt.widgets.Control c, CellEditDescriptor ced, java.lang.Object selObject)
Method to fill the Controls
- check with the CellEditDescriptor(getInputField) what to put into the Control
-
-
-
Method Detail
-
setInput
void setInput(org.eclipse.swt.widgets.Control c, CellEditDescriptor ced, java.lang.Object selObject)
Method to fill the Controls
- check with the CellEditDescriptor(getInputField) what to put into the Control- Parameters:
c
- - current controlced
- - the cell edit descriptorselObject
- - the selected object
-
getInput
java.lang.Object getInput(org.eclipse.swt.widgets.Control c, CellEditDescriptor ced, java.lang.Object selObject)
Method to put the new Input(from the Control c) into the selObject
- check with the CellEditDescriptor(getInputField) where to save the new Input- Parameters:
c
- - current controlced
- - the cell edit descriptorselObject
- - the selected object- Returns:
- the object if it has a new reference otherwise null -> next step is the automatic xviewer.refresh(object). if return null it will refresh the old reference.
-
isValid
boolean isValid(CellEditDescriptor ced, java.lang.Object selObject)
is this object valid for this cell?- Parameters:
ced
- - the cell edit descriptorselObject
- - the selected object- Returns:
- true if you want to allow to modify this object
-
-