发布时间:2025-12-09 11:50:08 浏览次数:1
import org.eclipse.scout.rt.client.ui.desktop.outline.pages.IPage; //导入依赖的package包/类@Overrideprotected void execCreateChildPages(List<IPage<?>> pageList) throws ProcessingException { if (electronicPunchingSystem) { pageList.add(new DownloadedECardsAllTablePage()); pageList.add(new DownloadedECardsDuplicateTablePage()); pageList.add(new DownloadedECardsMissingPunchTablePage()); pageList.add(new DownloadedECardsEntryNotFoundTablePage()); } pageList.add(new EntriesMissingTablePage(null, ClientSession.get().getSessionClientNr(), null, null, null, null)); if (electronicPunchingSystem) { pageList.add(new EntriesManualRaceStatusTablePage(null, ClientSession.get().getSessionClientNr(), null, null, null, null)); } if (!electronicPunchingSystem) { pageList.add(new EntriesFinishTimesStoredTablePage(null, ClientSession.get().getSessionClientNr(), null, null, null, null)); }} import org.eclipse.scout.rt.client.ui.desktop.outline.pages.IPage; //导入依赖的package包/类@Overrideprotected void execCreateChildPages(List<IPage<?>> pageList) throws ProcessingException { pageList.add(new AreasTablePage()); pageList.add(new CitiesTablePage()); pageList.add(new CountriesTablePage()); pageList.add(new CurrenciesTablePage()); pageList.add(new ClassesTablePage()); pageList.add(new AdditionalInformationAdministrationTablePage(null)); pageList.add(new FeeGroupsTablePage()); pageList.add(new StartblocksTablePage()); pageList.add(new ReportTemplatesTablePage()); if (FMilaUtility.isRichClient()) { pageList.add(new UsersTablePage()); pageList.add(new DatabaseNodePage()); } if (FMilaUtility.isWebClient() && FMilaClientUtility.isAdminUser()) { pageList.add(new AccountTablePage()); pageList.add(new DatabaseNodePage()); } pageList.add(new TranslationsTablePage());} import org.eclipse.scout.rt.client.ui.desktop.outline.pages.IPage; //导入依赖的package包/类/** * @return the nearest eventNr */private Long findEventNr() { IForm currentSearchForm = getDesktop().getPageSearchForm(); if (currentSearchForm != null && currentSearchForm instanceof SingleEventSearchForm) { return ((SingleEventSearchForm) currentSearchForm).getEventField().getValue(); } if (currentSearchForm != null && currentSearchForm instanceof DownloadedECardsSearchForm) { return ((DownloadedECardsSearchForm) currentSearchForm).getEventField().getValue(); } IPage page = getDesktop().getOutline().getActivePage().getParentPage(); while (page != null) { if (page instanceof EventNodePage) { return ((EventNodePage) page).getEventNr(); } page = page.getParentPage(); } return null;}