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); }
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); }
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); }