Search in sources :

Example 6 with ColumnLabelWidget

use of org.drools.workbench.screens.guided.dtable.client.widget.table.columns.control.ColumnLabelWidget in project drools-wb by kiegroup.

the class ColumnUtilitiesTest method testSetColumnLabelStyleWhenHiddenPositive.

@Test
public void testSetColumnLabelStyleWhenHiddenPositive() throws Exception {
    final ColumnLabelWidget label = mock(ColumnLabelWidget.class);
    ColumnUtilities.setColumnLabelStyleWhenHidden(label, true);
    verify(label).addStyleName(GuidedDecisionTableResources.INSTANCE.css().columnLabelHidden());
}
Also used : ColumnLabelWidget(org.drools.workbench.screens.guided.dtable.client.widget.table.columns.control.ColumnLabelWidget) Test(org.junit.Test)

Aggregations

ColumnLabelWidget (org.drools.workbench.screens.guided.dtable.client.widget.table.columns.control.ColumnLabelWidget)6 Test (org.junit.Test)4 HorizontalPanel (com.google.gwt.user.client.ui.HorizontalPanel)3 DeleteColumnManagementAnchorWidget (org.drools.workbench.screens.guided.dtable.client.widget.table.columns.control.DeleteColumnManagementAnchorWidget)2 CheckBox (org.gwtbootstrap3.client.ui.CheckBox)2