@Perspective public PerspectiveDefinition getPerspective() { final PerspectiveDefinition p = new PerspectiveDefinitionImpl(MultiListWorkbenchPanelPresenter.class.getName()); p.setName("Jobs"); p.getRoot().addPart(new PartDefinitionImpl(new DefaultPlaceRequest("Requests List"))); return p; }
@Perspective public PerspectiveDefinition buildPerspective() { final PerspectiveDefinition p = new PerspectiveDefinitionImpl(MultiListWorkbenchPanelPresenter.class.getName()); p.setName("Simple Perspective No Context"); p.getRoot().addPart("welcome"); return p; }
PerspectiveDefinition buildPerspective() { PerspectiveDefinition perspective = new PerspectiveDefinitionImpl(MultiListWorkbenchPanelPresenter.class.getName()); perspective.setName("Preferences"); final PanelDefinition actionsBar = new PanelDefinitionImpl(StaticWorkbenchPanelPresenter.class.getName()); actionsBar.setHeight(80); actionsBar.addPart( new PartDefinitionImpl( new DefaultPlaceRequest(PreferencesCentralActionsScreen.IDENTIFIER))); perspective.getRoot().insertChild(CompassPosition.SOUTH, actionsBar); return perspective; }
@Perspective public PerspectiveDefinition getPerspective() { final PerspectiveDefinition perspective = new PerspectiveDefinitionImpl(MultiListWorkbenchPanelPresenter.class.getName()); perspective.setName(constants.Administration()); perspective .getRoot() .addPart(new PartDefinitionImpl(new DefaultPlaceRequest("RepositoriesEditor"))); final PanelDefinition west = new PanelDefinitionImpl(SimpleWorkbenchPanelPresenter.class.getName()); west.setWidth(300); west.setMinWidth(200); west.addPart(new PartDefinitionImpl(new DefaultPlaceRequest("FileExplorer"))); perspective.getRoot().insertChild(CompassPosition.WEST, west); return perspective; }