@Override
protected void process() {
super.process();
final String leftSectionView = getRootComponent().getPropertyValue("leftSectionView");
if (StringUtils.isNotBlank(leftSectionView)) {
leftSection = (FullTreeViewController) StandardViewUtils.forId(getRootStructure(), structureContentController, leftSectionView);
final String location = leftSection.getRootComponent().getPropertyValue("location");
if (StringUtils.isNotBlank(location)) {
}
leftSection.selectedElementProperty().addListener((ChangeListener<OperationData>) (observable, oldValue, newValue) -> {
final OperationData selectedModel = newValue;
if (selectedModel != null) {
getStructureContent().setFormModelData(selectedModel);
getStructureContent().setForModelId((String) selectedModel.getAttributes().get("fullId"));
final SingleResult result = new SingleResult();
result.setData(selectedModel);
righSection.setModel(result);
righSection.forceLoadFirstPage();
}
});
leftPane.getChildren().add(leftSection.processedView());
}
rightSectionView = getRootComponent().getPropertyValue("rightSectionView");
doBuildRightPane();
NodeHelper.styleClassSetAll(leftPane, getRootComponent(), "leftSectionAreaStyleClass", "");
NodeHelper.styleClassSetAll(rightPane, getRootComponent(), "rightSectionAreaStyleClass", "");
}