@Bean @Named("DemoMobilePreferencesRSView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences/DemoMobilePreferencesRSView.xml"}, outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences") @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/preferences/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences") public RootStructureController DemoPreferencesRSView() { RootStructureController p = new RootStructureController(); p.setMessageSource((MessageSource) Services.getBean("PreferencesMessageSource")); p.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); p.getViewDefinitions().add("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences/DemoMobilePreferencesRSView.json"); return p; }
@Bean @Named("MobileLayoutRSView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/MobileLayoutRSView.xml"}) @I18n(locations = {"/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/globalcomps") public RootStructureController mobileLayoutRSView() { DoubleHeaderRootStructureController mobileLayoutRSView = new DoubleHeaderRootStructureController(); mobileLayoutRSView.setModelProvider((IModelProvider) BeanFactory.instance().getBean("RootStructureModelLoader")); mobileLayoutRSView.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/MobileLayoutRSView.json"); return mobileLayoutRSView; }
@Bean @Named("MobileDashboardView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/dashboard/DemoDashboardView.xml", "/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/dashboard/MobileDashboardView.xml"}, outputFileName="MobileDashboardView.json", outputFilePath = "/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/dashboard") @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/dashboard/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/dashboard/") public AbstractViewController MobileDashboardView() { DashboardController controller = new DashboardController(); controller.setMessageSource((MessageSource) Services.getBean("DashboardMessageSource")); controller.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); controller.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/dashboard/MobileDashboardView.json"); return controller; }
@Bean @Named("DialogContentView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/dialog/DialogContentView.xml"}, outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/dialog") @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/dialog/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/dialog/") public DemoDialogController DialogContentView() { DemoDialogController p = new DemoDialogController(); p.setMessageSource((MessageSource) Services.getBean("DialogMessageSource")); p.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); p.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/dialog/DialogContentView.json"); return p; }
@Bean @Named("MobilePrimaryMenuView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/rootstructure/MobilePrimaryMenuView.xml"}) @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/rootstructure/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/rootstructure") public PrimaryMenuController mobilePrimaryMenuView() { PrimaryMenuController pmc = new PrimaryMenuController(); pmc.setMessageSource((MessageSource) Services.getBean("MobileMessageSource")); pmc.setMenuProvider((MenuConfigurationProvider) Services.getBean("MobilePrimaryMenuProvider")); pmc.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/rootstructure/MobilePrimaryMenuView.json"); return pmc; }
@Bean @Named("ShowDetailsInSecondaryRSView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/details/ShowDetailsInSecondaryRSView.xml"}, outputFilePath = "/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details") @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/details/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details") public RootStructureController showDetailsInSecondaryRSView() { RootStructureController pmc = new RootStructureController(); pmc.setMessageSource((MessageSource) Services.getBean("DetailsViewMessageSource")); pmc.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); pmc.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details/ShowDetailsInSecondaryRSView.json"); return pmc; }
@Bean @Named("SearchAllTypesRootFormView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/search/SearchAllTypesRootFormView.xml"},outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/search") @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/message.properties","/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/search/message.properties"}, dest = "/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/") public SearchRootFormController searchAllTypesRootFormView() { SearchRootFormController p = new SearchRootFormController(); p.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/search/SearchAllTypesRootFormView.json"); p.setLayoutManager((IViewLayoutManager) BeanFactory.instance().getBean("SearchFormLayoutContentManager")); p.setModelProvider((IModelProvider) BeanFactory.instance().getBean("RootStructureModelLoader")); p.setMessageSource((MessageSource) Services.getBean("SearchMessageSource")); return p; }