Search in sources :

Example 1 with ExpressionBuilder

use of org.drools.workbench.screens.guided.rule.client.widget.ExpressionBuilder in project drools-wb by kiegroup.

the class ConstraintValueEditor method expressionEditor.

private Widget expressionEditor() {
    ExpressionBuilder builder = null;
    builder = new ExpressionBuilder(this.modeller, this.eventBus, this.constraint.getExpressionValue(), this.readOnly);
    builder.addOnModifiedCommand(new Command() {

        public void execute() {
            executeOnValueChangeCommand();
        }
    });
    Widget ed = widgets(new HTML(" "), builder);
    return ed;
}
Also used : Command(com.google.gwt.user.client.Command) IsWidget(com.google.gwt.user.client.ui.IsWidget) Widget(com.google.gwt.user.client.ui.Widget) HTML(com.google.gwt.user.client.ui.HTML) ExpressionBuilder(org.drools.workbench.screens.guided.rule.client.widget.ExpressionBuilder)

Aggregations

Command (com.google.gwt.user.client.Command)1 HTML (com.google.gwt.user.client.ui.HTML)1 IsWidget (com.google.gwt.user.client.ui.IsWidget)1 Widget (com.google.gwt.user.client.ui.Widget)1 ExpressionBuilder (org.drools.workbench.screens.guided.rule.client.widget.ExpressionBuilder)1