Search in sources :

Example 11 with BaseGridRow

use of org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridRow in project drools-wb by kiegroup.

the class BaseKeyboardTest method setup.

@Before
public void setup() {
    for (int size = 0; size < 3; size++) {
        this.uiModel.appendRow(new BaseGridRow());
        this.uiModel.appendColumn(new BaseGridColumn<>(headerMetaData, columnRenderer, 100.0));
    }
    when(gridWidget.getModel()).thenReturn(uiModel);
    when(gridWidget.getPresenter()).thenReturn(dtPresenter);
    when(gridWidget.getRendererHelper()).thenReturn(rendererHelper);
}
Also used : BaseGridRow(org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridRow) Before(org.junit.Before)

Aggregations

BaseGridRow (org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridRow)11 GuidedDecisionTable52 (org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52)6 Before (org.junit.Before)6 GuidedDecisionTableUiModel (org.drools.workbench.screens.guided.dtable.client.widget.table.model.GuidedDecisionTableUiModel)5 GridColumn (org.uberfire.ext.wires.core.grids.client.model.GridColumn)4 DTCellValue52 (org.drools.workbench.models.guided.dtable.shared.model.DTCellValue52)3 DefaultClipboard (org.drools.workbench.screens.guided.dtable.client.editor.clipboard.impl.DefaultClipboard)3 GridRow (org.uberfire.ext.wires.core.grids.client.model.GridRow)3 BaseGridColumn (org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridColumn)3 Annotation (java.lang.annotation.Annotation)2 ArrayList (java.util.ArrayList)2 MenuItemFactory (org.uberfire.ext.widgets.common.client.menu.MenuItemFactory)2 GridData (org.uberfire.ext.wires.core.grids.client.model.GridData)2 BaseGridData (org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridData)2 RowNumberColumn (org.uberfire.ext.wires.core.grids.client.widget.grid.columns.RowNumberColumn)2 Point2D (com.ait.lienzo.client.core.types.Point2D)1 ContextMenuHandler (com.google.gwt.event.dom.client.ContextMenuHandler)1 BaseColumn (org.drools.workbench.models.guided.dtable.shared.model.BaseColumn)1 RowNumberCol52 (org.drools.workbench.models.guided.dtable.shared.model.RowNumberCol52)1 Test (org.junit.Test)1