public void openEvaluateReinstatementWidget() { EvaluateReinstatementWidget widget = new EvaluateReinstatementWidget(this); MyWindow window = new MyWindow(); window.setCaption("Reincorporaciones – Disposición"); window.setWidth("92%"); window.setHeight("92%"); window.center(); window.setContent(widget); getMainWindow().addWindow(window); }
public void openWindowError(String msg) { MyWindow myWindow = new MyWindow(); myWindow.setCaption("Error"); myWindow.setHeight("15%"); myWindow.setWidth("54%"); myWindow.center(); HorizontalLayout hl = new HorizontalLayout(); hl.addComponent(new Label(msg)); myWindow.setContent(hl); getMainWindow().addWindow(myWindow); }
public void openApplicationReinstatementWidget() { ApplicationReinstatementWidget widget = new ApplicationReinstatementWidget(this); MyWindow window = new MyWindow(); window.setCaption("Reincorporaciones – Solicitud"); window.setWidth("92%"); window.setHeight("92%"); window.center(); window.setContent(widget); getMainWindow().addWindow(window); }
public void openExaminationActSubWindow() { ExaminationActListWidget widget; try { widget = new ExaminationActListWidget(this.context, this); MyWindow window = new MyWindow(); window.setCaption("Actas de Exámenes"); window.setWidth("92%"); window.setHeight("92%"); window.center(); window.setContent(widget); getMainWindow().addWindow(window); } catch (Exception e) { e.printStackTrace(); } // MyWindow myWindow = new MyWindow(); // myWindow.setCaption(FactoryI18nManager.getI18nManager().getMessage( // Messages.MENU_ITEM_TITTLE_EXAMINATION_ACT)); // myWindow.setHeight("95%"); // myWindow.setWidth("95%"); // myWindow.center(); // // ExaminationActWidget examinationActWidget=null; // try // { // examinationActWidget = new ExaminationActWidget( // this.context,this); // // myWindow.setContent(examinationActWidget); // // getMainWindow().addWindow(myWindow); // } // catch(Exception e) // { // // } }