Search in sources :

Example 1 with RuleAttributeWidget

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

the class RuleModeller method renderOptions.

private void renderOptions(final int optionsRowIndex) {
    layout.setWidget(optionsRowIndex, 2, new SmallLabel(GuidedRuleEditorResources.CONSTANTS.optionsRuleModeller()));
    if (!isReadOnly) {
        layout.setWidget(optionsRowIndex, 4, getAddAttribute());
    }
    layout.setWidget(optionsRowIndex + 1, 3, new RuleAttributeWidget(this, this.model, isReadOnly));
}
Also used : SmallLabel(org.uberfire.ext.widgets.common.client.common.SmallLabel) RuleAttributeWidget(org.drools.workbench.screens.guided.rule.client.widget.attribute.RuleAttributeWidget)

Aggregations

RuleAttributeWidget (org.drools.workbench.screens.guided.rule.client.widget.attribute.RuleAttributeWidget)1 SmallLabel (org.uberfire.ext.widgets.common.client.common.SmallLabel)1