/** * @{inheritedDoc} */ @Override protected void process() { String contentImpl = getRootComponent().getPropertyValue("contentImpl", "VLTabPane"); if (StringUtils.isNotBlank(contentImpl)) { buildable = (IBuildable) Services.getBean(contentImpl); buildable.buildFrom((IEmaginController) this, getRootComponent()); processedView(buildable.getDisplay()); if (StringUtils.isNotBlank(initialSelectedTabId) && buildable instanceof VLTabpane) { ((VLTabpane) buildable).selectTab(initialSelectedTabId); } } }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); final String leftSectionView = getRootComponent().getPropertyValue("leftSectionView"); final String emptyView = getRootComponent().getPropertyValue("emptyView"); if (StringUtils.isNotBlank(leftSectionView)) { leftSection = (StandardTabPaneController) StandardViewUtils.forId(getRootStructure(), structureContentController, leftSectionView); final String location = leftSection.getRootComponent().getPropertyValue("location"); if (StringUtils.isNotBlank(location)) { final String loc = leftSection.getLocalised(location); } leftSection.selectedElementProperty().addListener((ChangeListener<OperationData>) (observable, oldValue, newValue) -> { selectedModel = newValue; if (selectedModel != null) { getStructureContent().setFormModelData(selectedModel); getStructureContent().setForModelId((String) selectedModel.getAttributes().get("fullId")); loadDetailsTask(); } }); leftPane.getChildren().add(leftSection.processedView()); } if (StringUtils.isNotBlank(emptyView)) { emptyDetails = StandardViewUtils.forId(getRootStructure(), structureContentController, emptyView); rightPane.getChildren().add(emptyDetails.processedView()); } }