コード例 #1
0
  public void openEnrollmentFree() {
    IABMWidgetConfiguration iwidgetc = new ABMWidgetConfiguration();
    // iwidgetc.setCaption("Impresión Certificados Analiticos");

    EnrollmentFreeABMWidget widgetABMTest = new EnrollmentFreeABMWidget(Enrollment.class);
    widgetABMTest.initializeConfigurationCustom(iwidgetc);

    IABMWindowConfiguration iwindowc = new ABMWindowConfiguration();
    iwindowc.setCaption("Admisión y Matriculación Libre");
    iwindowc.setWidth("92%");
    iwindowc.setHeight("92%");
    iwindowc.setAlignmentCenter(true);

    CyanWindow cyanWindow = new CyanWindow();
    //	cyanWindow.setTheme("cyantheme");
    cyanWindow.initializeWithConfiguration(iwindowc);
    cyanWindow.setContent(widgetABMTest);
    getMainWindow().addWindow(cyanWindow);
  }
コード例 #2
0
  public void openCertifiedAnalyticalPrint() {
    IABMWidgetConfiguration iwidgetc = new ABMWidgetConfiguration();
    // iwidgetc.setCaption("Impresión Certificados Analiticos");

    EnrollmentCareerABMWidget widgetABMTest = new EnrollmentCareerABMWidget(Student.class);
    widgetABMTest.initializeConfigurationCustom(iwidgetc);

    IABMWindowConfiguration iwindowc = new ABMWindowConfiguration();
    iwindowc.setCaption(
        FactoryI18nManager.getI18nManager().getMessage(Messages.CERTIFIED_ANALYTICAL_TITLE));
    iwindowc.setWidth("92%");
    iwindowc.setHeight("92%");
    iwindowc.setAlignmentCenter(true);

    CyanWindow cyanWindow = new CyanWindow();
    //	cyanWindow.setTheme("cyantheme");
    cyanWindow.initializeWithConfiguration(iwindowc);
    cyanWindow.setContent(widgetABMTest);
    getMainWindow().addWindow(cyanWindow);
  }
コード例 #3
0
  public void openAdmissionActRegular() {
    IABMWidgetConfiguration iwidgetc = new ABMWidgetConfiguration();
    // iwidgetc.setCaption("Impresión Certificados Analiticos");

    org.yacare.cnm.admission_act_regular.EnrollmentRegularABMWidget widgetABMTest =
        new org.yacare.cnm.admission_act_regular.EnrollmentRegularABMWidget(Enrollment.class);
    widgetABMTest.initializeConfigurationCustom(iwidgetc);

    IABMWindowConfiguration iwindowc = new ABMWindowConfiguration();
    iwindowc.setCaption("Admisión y Matriculación Regular");
    iwindowc.setWidth("92%");
    iwindowc.setHeight("92%");
    iwindowc.setAlignmentCenter(true);

    CyanWindow cyanWindow = new CyanWindow();
    //	cyanWindow.setTheme("cyantheme");
    cyanWindow.initializeWithConfiguration(iwindowc);
    cyanWindow.setContent(widgetABMTest);
    getMainWindow().addWindow(cyanWindow);
  }