box );
return ed;
}
private Widget expressionEditor() {
ExpressionBuilder builder = null;
builder = new ExpressionBuilder( this.modeller,
this.eventBus,
this.constraint.getExpressionValue(),
this.readOnly );
builder.addExpressionTypeChangeHandler( new ExpressionTypeChangeHandler() {
public void onExpressionTypeChanged( ExpressionTypeChangeEvent event ) {
System.out.println( "type changed: " + event.getOldType() + " -> " + event.getNewType() );
}
} );
builder.addOnModifiedCommand( new Command() {
public void execute() {
executeOnValueChangeCommand();
}
} );