use of org.uberfire.workbench.model.impl.PerspectiveDefinitionImpl in project kie-wb-common by kiegroup.
the class HomePerspective method buildPerspective.
@Perspective
public PerspectiveDefinition buildPerspective() {
PerspectiveDefinition perspective = new PerspectiveDefinitionImpl(MultiListWorkbenchPanelPresenter.class.getName());
perspective.setName("Home");
perspective.getRoot().addPart(new PartDefinitionImpl(new DefaultPlaceRequest(DiagramPresenterScreen.SCREEN_ID)));
welcomePanel = new PanelDefinitionImpl(MultiListWorkbenchPanelPresenter.class.getName());
welcomePanel.setMinHeight(100);
welcomePanel.setHeight(100);
welcomePanel.addPart(new PartDefinitionImpl(new DefaultPlaceRequest(WelcomeScreen.SCREEN_ID)));
perspective.getRoot().insertChild(CompassPosition.NORTH, welcomePanel);
return perspective;
}
use of org.uberfire.workbench.model.impl.PerspectiveDefinitionImpl in project kie-wb-common by kiegroup.
the class ServerManagementPerspective method buildPerspective.
@Perspective
public PerspectiveDefinition buildPerspective() {
final PerspectiveDefinition perspective = new PerspectiveDefinitionImpl(StaticWorkbenchPanelPresenter.class.getName());
perspective.setName("ServerManagementPerspective");
perspective.getRoot().addPart(new PartDefinitionImpl(new DefaultPlaceRequest("ServerManagementBrowser")));
return perspective;
}
use of org.uberfire.workbench.model.impl.PerspectiveDefinitionImpl in project kie-wb-common by kiegroup.
the class ProvisioningManagementPerspective method buildPerspective.
@Perspective
public PerspectiveDefinition buildPerspective() {
final PerspectiveDefinition perspective = new PerspectiveDefinitionImpl(StaticWorkbenchPanelPresenter.class.getName());
perspective.setName(IDENTIFIER);
perspective.getRoot().addPart(new PartDefinitionImpl(new DefaultPlaceRequest(ProvisioningManagementBrowserPresenter.IDENTIFIER)));
return perspective;
}
Aggregations