@Override protected void displaySearchForm(final SearchForm form, final SearchCallback callback) { Panel p = new Panel(); p.setBorder(false); p.add(form.asWidget()); Panel hp = new Panel(); hp.setBorder(false); hp.setLayout(new HorizontalLayout(15)); hp.add(new Button("Search in repository", new ButtonListenerAdapter(){ @Override public void onClick(Button button, EventObject e) { hp.add(new Button("Change server", new ButtonListenerAdapter(){ @Override public void onClick(Button button, EventObject e) { p.add(hp); fileRepoPanel.clear(); fileRepoPanel.add(p); fileRepoPanel.doLayout();
@Override public String getId() { return welcomePanel.getId(); }
public DiagramModelEditorComponent() { this.panel = new Panel(); this.editorView = new EditorView(); this.panel.setMargins(0, 0, 0, 10); this.panel.add(editorView); initWidget(panel); }
public ValidationComponent(RuleNotificationView view) { this.panel = new Panel(); panel.setHeader(false); panel.setAutoScroll(true); panel.add(view); panel.setTitle("Diagram Validation"); initWidget(panel); }
public FileRepositoryInquiryPanel(IProjectInstance instance, IProjectInstanceFormat format, List<FileRepositoryDescription> repoDescs) { super(); this.instance = instance; this.format = format; this.repoDescs = repoDescs; this.projectMetadata = new ArrayList<IProjectInstanceMetaData>(); this.fileRepoPanel = new Panel(); fileRepoPanel.setPaddings(10); //fileRepoPanel.setLayout(new FitLayout()); fileRepoPanel.setLayout(new AnchorLayout()); }
public WelcomeComponent(final IEditorEventBus eventBus) { welcomePanel = new Panel("Welcome in Petals BPM"); welcomePanel.setClosable(true); welcomePanel.setCollapsible(true); welcomePanel.setHeader(false); welcomePanel.setBorder(false); welcomePanel.setLayout(new FitLayout()); header.add(filesButtons,100,350); welcomePanel.add(header); welcomePanel.doLayout();
private WizardFrame getFrame1(){ WizardFrame frame = new WizardFrame((Wizard) getWizard()); Panel vp1 = new Panel(); vp1.setLayout(new VerticalLayout(10)); vp1.add(actualProjectNameLbl); vp1.add(actualProjectTypeLbl); Panel hp = new Panel(); hp.setLayout(new HorizontalLayout(3)); hp.add(new Label("Export format: ")); hp.add((Widget) getExportFormat()); vp1.add(hp); vp1.add(exportFormatDescriptionLBL); frame.add(vp1); return frame; }
borderPanel = new Panel(); borderPanel.setLayout(new BorderLayout()); final Panel northPanelContainer = new Panel(); northPanelContainer.setHeight(113); northPanelContainer.add(header); borderPanel.add(northPanelContainer, new BorderLayoutData(RegionPosition.NORTH)); southData.setMargins(new Margins(0, 0, 0, 0)); southData.setSplit(true); borderPanel.add(southPanel, southData); westData.setMargins(new Margins(0, 5, 0, 0)); borderPanel.add(westPanel, westData); borderPanel.add(centerPanel, new BorderLayoutData(RegionPosition.CENTER));
public ProcessPanelComponent(IProjectPlugin<?> p, ProcessPanel definitionPanel) { super(); this.mainPanel = new Panel(); this.mainPanel.setClosable(true); this.mainPanel.setHeader(false); this.plugin = p; this.mainPanel.add(definitionPanel);
public OpenProjectConfigurationView() { this.window = new Window("Open an existing project"); ArrayList<IFrame> frames = new ArrayList<IFrame>(); frames.add(getFrame1()); this.getWizard().setFrames(frames); Panel headerPanel = new HTMLPanel("<b>Open Existing Project</b> <br> <span>Select the project type, than choose the project(s) to open</span>"); headerPanel.setHeight(50); headerPanel.setMargins(0, 0, 0, 5); this.window.add(headerPanel); this.window.add((Widget) this.getWizard()); this.window.setCloseAction(Window.HIDE); this.window.setResizable(false); this.window.addListener(new WindowListenerAdapter(){ @Override public void onHide(Component component) { History.newItem(""); } }); }
private WizardFrame getFrame1(){ WizardFrame frame = new WizardFrame((Wizard) getWizard()); Panel verticalPanel = new Panel(); frame.add((Widget) getFileExplorerPanel()); return frame; }
headerPanel.setHeight(50);
Panel interfaceAttributesPanel = new Panel(); interfaceAttributesPanel.setBorder(false); interfaceAttributesPanel.setLayout(new HorizontalLayout(30)); Panel namep = new Panel(); namep.setBorder(false); namep.setLayout(new HorizontalLayout(5)); namep.add(new Label("Interface Name: ")); namep.add(interfaceNameTxtField); this.implp = new Panel(); implp.setBorder(false); implp.setLayout(new HorizontalLayout(5)); implp.add(new Label("WSDL Implementation: ")); interfaceAttributesPanel.add(namep); interfaceAttributesPanel.add(implp);
Panel hP1 = new Panel(); hP1.setLayout(new HorizontalLayout(10)); hP1.add((Widget) getFolderPanel()); Panel verticalPanel1 = new Panel(); verticalPanel1.setLayout(new VerticalLayout(10)); Panel vp2 = new Panel(); vp2.setLayout(new VerticalLayout(3)); vp2.add(new Label("Select a file from your desktop:")); vp2.add((Widget) getUploader()); verticalPanel1.add(vp2); Panel hp2 = new Panel(); hp2.setLayout(new HorizontalLayout(3)); hp2.add(new Label("File format:")); hp2.add((Widget) getImportFormat()); verticalPanel1.add(hp2); verticalPanel1.add(this.importFormatDescriptionLBL); hP1.add(verticalPanel1);
Panel interfacePanelWrapper = new Panel("Interfaces"); interfacePanelWrapper.add(this.interfacePanel); if (conf.isShowInterfacePanel()) this.tabPanel.add(interfacePanelWrapper); this.interfacePanel.setHeight(500); eventDefinitionspanel.setTitle("Event Definitions"); Panel conditionalEDPWrapper = new Panel("Conditional"); Panel messageEDPWrapper = new Panel("Message"); Panel signalEDWrapper = new Panel("Signal"); Panel timerEDWrapper = new Panel("Timer"); conditionalEDPWrapper.add(conditionalEventDefinitionPanel); conditionalEDPWrapper.setBorder(false); messageEDPWrapper.add(messageEventDefinitionPanel); messageEDPWrapper.setBorder(false); signalEDWrapper.add(signalEventDefinitionPanel); signalEDWrapper.setBorder(false); timerEDWrapper.add(timerEventDefinintionPanel); timerEDWrapper.setBorder(false);
public PaletteComponent(Palette palette) { //this.palette = palette; this.panel = new Panel(); panel.setHeader(false); panel.setAutoScroll(true); panel.add(palette); initWidget(panel); }