Search in sources :

Example 1 with GridWidgetDnDHandlersState

use of org.uberfire.ext.wires.core.grids.client.widget.dnd.GridWidgetDnDHandlersState in project kie-wb-common by kiegroup.

the class DMNGridWidgetDnDMouseUpHandlerTest method setup.

@Before
public void setup() {
    this.state = new GridWidgetDnDHandlersState();
    this.handler = new DMNGridWidgetDnDMouseUpHandler(layer, state);
    when(layer.getViewport()).thenReturn(viewport);
    when(viewport.getElement()).thenReturn(element);
    when(element.getStyle()).thenReturn(style);
}
Also used : GridWidgetDnDHandlersState(org.uberfire.ext.wires.core.grids.client.widget.dnd.GridWidgetDnDHandlersState) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 GridWidgetDnDHandlersState (org.uberfire.ext.wires.core.grids.client.widget.dnd.GridWidgetDnDHandlersState)1