@Override public void close() { this.window.hide(); }
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(""); } }); }
public EditProjectConfigurationView() { this.window = new Window("Edit Project"); this.window.setCloseAction(Window.HIDE); this.window.setResizable(false); this.window.addListener(new WindowListenerAdapter(){ this.window.setBottomToolbar(toolBar);
@Override public void open() { this.projectName.setValue(""); window.show(); }
public void addComplexTabPanel(){ this.tabPanel = new ComplexTabPanel(); //this.tabPanel.setPixelSize(650, 500); this.tabPanel.setVisible(false); this.tabPanel.setTreePanelPixelSize(200, 500); this.window.add(tabPanel); }
@Override public void close() { this.remove((Widget)this.uploader); super.close(); }
public ImportProjectConfigurationView() { this.window = new Window(); this.window.setTitle("Import Project"); this.window.setCloseAction(Window.HIDE); this.window.setResizable(false); this.window.addListener(new WindowListenerAdapter(){ headerPanel.setHeight(50); headerPanel.setMargins(0, 0, 0, 5); this.window.add(headerPanel); window.add((Widget) getWizard()); getUploader().setFileInputSize(20); window.add(uploaderBtn);
@Override public void open() { projectName.setValue(""); window.show(); }
public ExportProjectConfigurationView() { this.window = new Window("Export Project"); Panel headerPanel = new HTMLPanel("<b>Export Project</b> <br> <span>Export actual project into the specified format</span>"); headerPanel.setHeight(50); headerPanel.setMargins(0, 0, 0, 5); this.window.add(headerPanel); this.window.setCloseAction(Window.HIDE); this.window.setResizable(false); frames.add(getFrame1()); this.getWizard().setFrames(frames); window.add((Widget) getWizard()); this.window.addListener(new WindowListenerAdapter(){
@Override public void close() { this.window.hide(); }
@Override public void open() { tabPanel.setVisible(true); window.show(); }
this.window = new Window("New "+ getProjectPlugin().getProjectType().getName() +" Project"); this.window.setResizable(false); this.window.setCloseAction(Window.HIDE); this.window.add(wizard);
@Override public void close() { window.hide(); }
@Override public void open() { ((Wizard)this.wizard).setVisible(true); ((ComboBox<?>)this.exportFormats).setVisible(true); window.show(); }
this.window = new Window("New "+ getProjectPlugin().getProjectType().getName() +" Project"); this.window.setResizable(false); this.window.setCloseAction(Window.HIDE); this.wizard = new Wizard(500,200); this.window.add(wizard);
@Override public void close() { window.hide(); }
@Override public void close() { window.hide(); }