@Perspective public PerspectiveDefinition getPerspective() { final PerspectiveDefinition p = new PerspectiveDefinitionImpl(); p.setName("salaboy2"); p.getRoot().addPart(new PartDefinitionImpl(new DefaultPlaceRequest("MyAdminArea"))); final PanelDefinition eastPanel = new PanelDefinitionImpl(); eastPanel.setWidth(300); eastPanel.setMinWidth(200); eastPanel.setWidth(800); eastPanel.addPart(new PartDefinitionImpl(new DefaultPlaceRequest("MyAdminArea2"))); final PanelDefinition eastPanelSouthPanel = new PanelDefinitionImpl(); eastPanelSouthPanel.setHeight(400); eastPanelSouthPanel.setMinHeight(200); eastPanelSouthPanel.setWidth(800); eastPanelSouthPanel.addPart( new PartDefinitionImpl(new DefaultPlaceRequest("GoogleGadgetScreen"))); eastPanel.setChild(Position.SOUTH, eastPanelSouthPanel); p.getRoot().setChild(Position.EAST, eastPanel); return p; }
@Perspective public PerspectiveDefinition getPerspective() { final PerspectiveDefinition p = new PerspectiveDefinitionImpl(); p.setName("Process Runtime Perspective"); p.getRoot().addPart(new PartDefinitionImpl(new DefaultPlaceRequest("Process Definition List"))); final PanelDefinition southPanel = new PanelDefinitionImpl(); southPanel.setHeight(400); southPanel.setMinHeight(200); southPanel.addPart(new PartDefinitionImpl(new DefaultPlaceRequest("Process Instance List"))); p.getRoot().insertChild(Position.SOUTH, southPanel); p.setTransient(true); return p; }