Skip to content
Snippets Groups Projects
Commit ae405dbf authored by Florian Hölzl's avatar Florian Hölzl
Browse files

fixed initial value editing support

refs 457
parent 5493d9a8
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ import org.fortiss.tooling.kernel.ui.util.DataBindingUtils;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 1C0D4AC12A6198508678FDF15E213AF3
* @ConQAT.Rating YELLOW Hash: 993B7A1C8F4D890C170B5E2F3C6C0858
*/
public abstract class AbstractDecoratedTextCellDatabindingEditingSupport extends
AbstractTextCellDatabindingEditingSupport {
......@@ -63,7 +63,8 @@ public abstract class AbstractDecoratedTextCellDatabindingEditingSupport extends
cellEditor.getControl(),
getModelObservableValue(cell.getElement()),
getModelToTextConverter(), getTextToModelConverter(),
getTextValidator(), getTextPostConvertValidator());
getTextValidator(cell.getElement()),
getTextPostConvertValidator());
}
/** Sub-classes need to provide an {@link IObservableValue} for the model. */
......@@ -86,7 +87,8 @@ public abstract class AbstractDecoratedTextCellDatabindingEditingSupport extends
*
* @return <code>null</code>, by default
*/
protected IValidator getTextValidator() {
@SuppressWarnings("unused")
protected IValidator getTextValidator(Object object) {
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment