Search in sources :

Example 1 with WidgetT

use of noNamespace.WidgetT in project mdw-designer by CenturyLinkCloud.

the class AttributesTableContainer method setEditable.

public void setEditable(boolean editable) {
    boolean lEditable = editable;
    // need values to select
    WidgetT valueWidget = getValueWidget(pageletTable);
    if (valueWidget instanceof DropdownT) {
        DropdownT dropdown = (DropdownT) valueWidget;
        if (dropdown.getOPTIONList().isEmpty())
            lEditable = false;
    }
    tableEditor.setEditable(lEditable);
}
Also used : DropdownT(noNamespace.DropdownT) WidgetT(noNamespace.WidgetT)

Aggregations

DropdownT (noNamespace.DropdownT)1 WidgetT (noNamespace.WidgetT)1