@Bean @Named("DemoDashboardPercentItem") public DemoDashboardPercentItem providesDemoDashboardPercentItem() { return new DemoDashboardPercentItem(); }
@Bean @Named("IdentifiableInputView") public IdentifiableInputView IdentifiableInputView() { return new IdentifiableInputView(); }
@Bean @Named("parentItemPresenter") public ParentItemPresenter TreeTableContent() { return new ParentItemPresenter(); }
@Bean @Named("yesNoItemPresenter") public YesNoListFormCellPresenter yesNoItemPresenter() { return new YesNoListFormCellPresenter(); }
@Bean @Named("FormBlocTitle") public FormBlocTitle FormBlocTitle() { return new FormBlocTitle(); }
@Bean @Named("FieldsetBottomTabedLayout") public FieldsetBottomTabedLayout FieldsetBottomTabedLayout() { return new FieldsetBottomTabedLayout(); }
@Bean @Named("TableContent") public TableContent TableContent() { return new TableContent(); }
@Bean @Named("SimpleTableStructureLayoutManager") public SimpleTableStructureLayoutManager SimpleTableStructureLayoutManager() { return new SimpleTableStructureLayoutManager(); }
@Bean @Named("SearchFiltersBlocTitle") public SearchFiltersBlocTitle SearchFiltersBlocTitle() { return new SearchFiltersBlocTitle(); }
@Bean @Named("PushToViewAction") public PushToViewAction PushToViewAction() { return new PushToViewAction(); }
/** * @return the folderApi */ @Bean @Named("FolderApi") public static IFolderApi getFolderApi() { if(folderApi == null) { folderApi = new FolderApi(); ((FolderApi)authenticationApi).setCloudServicesProperties(cloudServicesProperties()); } return folderApi; }
/** * @return the businessRuleApi */ @Bean @Named("BusinessRuleApi") public static IBusinessRuleApi getBusinessRuleApi() { if(businessRuleApi == null) { businessRuleApi = new BusinessRuleApi(); ((BusinessRuleApi)authenticationApi).setCloudServicesProperties(cloudServicesProperties()); } return businessRuleApi; }
/** * @return the documentApi */ @Bean @Named("PeopleApi") public static IPeopleApi getPeopleApi() { if(peopleApi == null) { peopleApi = new PeopleApi(); ((PeopleApi)peopleApi).setCloudServicesProperties(cloudServicesProperties()); } return peopleApi; }
@Bean @Named("SearchAllTypesFormViewResolver") public IViewResolver searchAllTypesFormViewResolver() { SearchAllTypesFormViewResolver p = new SearchAllTypesFormViewResolver(); p.setDefinitionFile("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/searchViews.properties"); p.init(); return p; }
@Bean @Named("DemoEmptyPrefenceView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/preferences/DemoEmptyPrefenceView.xml"}, outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences") public StandardController DemoEmptyPrefenceView() { StandardController p = new StandardController(); p.setMessageSource((MessageSource) Services.getBean("PreferencesMessageSource")); p.setModelProvider((IModelProvider) Services.getBean("StructureContentModelReference")); p.setLayoutManager((IViewLayoutManager) Services.getBean("CenteredStretchedForwardViewLayoutManager")); p.getViewDefinitions().add("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences/DemoEmptyPrefenceView.json"); return p; }
@Bean @Named("LicenceView") @View(locations= {"/com/emagin/jfx/core/components/cachedatas/LicenceView.xml"}, outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences") public StandardController LicenceView() { StandardController p = new StandardController(); p.setLayoutManager((IViewLayoutManager) Services.getBean("CenteredStretchedForwardViewLayoutManager")); p.setMessageSource((MessageSource) Services.getBean("PreferencesMessageSource")); p.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); p.getViewDefinitions().add("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences/LicenceView.json"); return p; }
@Bean @Named("ThanksToView") @View(locations= {"/com/emagin/jfx/core/components/cachedatas/ThanksToView.xml"}, outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences") public StandardController ThanksToView() { StandardController p = new StandardController(); p.setLayoutManager((IViewLayoutManager) Services.getBean("CenteredStretchedForwardViewLayoutManager")); p.setMessageSource((MessageSource) Services.getBean("PreferencesMessageSource")); p.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); p.getViewDefinitions().add("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences/ThanksToView.json"); return p; }
@Bean @Named("DemoSelfMaquette2DTabView") @View(locations = {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/details/maximized/DemoMaquette2DContentView.xml"}, outputFilePath = "/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details") public StandardViewController DemoMaquette2DContentView() { StandardController pmc = new StandardController(); pmc.setModelProvider((IModelProvider) Services.getBean("StructureContentModelReference")); pmc.setMessageSource((MessageSource) Services.getBean("DetailsViewMessageSource")); pmc.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details/DemoMaquette2DContentView.json"); return pmc; }
@Bean @Named("DemoSearchManufacturerFormView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/search/form/SearchManufacturerFormView.xml"}, outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/search/form") public SearchFormController DemoSearchManufacturerFormView() { SearchFormController p = new SearchFormController(); p.setModelProvider((IModelProvider) BeanFactory.instance().getBean("RootStructureModelLoader")); p.setMessageSource((MessageSource) Services.getBean("SearchMessageSource")); p.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/search/form/SearchManufacturerFormView.json"); return p; }
@Bean @Named("DemoHorizontalFlowItemPresenter") public FlowItemPresenterFactory DemoHorizontalFlowItemPresenter() { HorizontalFlowItemPresenterFactory factory = new HorizontalFlowItemPresenterFactory(); factory.setIconPresenter((ModelIconPresenter) BeanFactory.instance().getBean("DemoModelSmallThumbPresenter")); factory.setIdentityPresenter((ModelIdentityPresenter) BeanFactory.instance().getBean("DemoFlowItemIdentityPresenter")); factory.setSecondaryLabelPresenter((ModelSecondaryLabelPresenter) BeanFactory.instance().getBean("ModelDescriptionPresenter")); return factory; }