Search in sources :

Example 1 with TestWorkbenchDocksHandler

use of org.kie.workbench.common.workbench.client.docks.test.TestWorkbenchDocksHandler in project kie-wb-common by kiegroup.

the class AuthoringWorkbenchDocksTest method createNewWorkbenchDocksHandler.

protected TestWorkbenchDocksHandler createNewWorkbenchDocksHandler() {
    List<UberfireDock> docks = new ArrayList<>();
    docks.add(new UberfireDock(UberfireDockPosition.EAST, "RANDOM", placeRequest, AUTHORING_PERSPECTIVE));
    docks.add(new UberfireDock(UberfireDockPosition.EAST, "RANDOM", placeRequest, AUTHORING_PERSPECTIVE));
    return new TestWorkbenchDocksHandler(docks);
}
Also used : TestWorkbenchDocksHandler(org.kie.workbench.common.workbench.client.docks.test.TestWorkbenchDocksHandler) ArrayList(java.util.ArrayList) UberfireDock(org.uberfire.client.workbench.docks.UberfireDock)

Aggregations

ArrayList (java.util.ArrayList)1 TestWorkbenchDocksHandler (org.kie.workbench.common.workbench.client.docks.test.TestWorkbenchDocksHandler)1 UberfireDock (org.uberfire.client.workbench.docks.UberfireDock)1