コード例 #1
0
  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);
  }
コード例 #2
0
  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);
  }
コード例 #3
0
  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);
  }
コード例 #4
0
  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)
    //		{
    //
    //		}

  }