/** * @{inheritedDoc} */ @Override protected void process() { super.process(); }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); }
/** * {@inheritDoc} */ @Override protected void process() { super.process(); maximizedDetailsView.buildFrom((IEmaginController) this, getRootComponent()); }
@Override protected void process() { super.process(); doBuildLeftPane(); doBuildRightPane(); }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); processedView(wrapper); VLViewComponentXML tabpaneConfig = viewContext.getViewConfig().getRootComponent().getComponentById("TabPane").orElse(null); QuaternaryMenuTabPane tabPane = new QuaternaryMenuTabPane(tabpaneConfig, this); wrapper.getChildren().add(tabPane); } }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); VLViewComponentXML widgetList = getRootComponent().getComponentById("WidgetList").orElse(null); if (widgetList != null) { List<IBuildable> buildables = ComponentUtils.resolveAndGenerate(this, widgetList.getSubcomponents()); FlowPane flowPane = new FlowPane(); flowPane.getStyleClass().add("ep-dashboard-items-wrapper"); for(IBuildable e: buildables) { flowPane.getChildren().add(e.getDisplay()); } processedView(flowPane); } else { processedView(new StackPane()); } }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); VLViewComponentXML configuration = getRootComponent(); IBuildable tableview = new FolderContentBrowserTableview(); tableview.buildFrom((IEmaginController) this, configuration); stackPane.setStyle("-fx-background-color:-background-color;" + "-fx-padding:16 16 0 16;"); StackPane shadowedStack = new StackPane(); stackPane.getChildren().add(shadowedStack); shadowedStack.getChildren().add(tableview.getDisplay()); shadowedStack.setStyle("-fx-effect:dropshadow(three-pass-box, -grey-color-500, 2.0, 0.2, 0.0, 0.0);"); processedView(stackPane); } }
/** * {@inheritDoc} */ @Override protected void process() { super.process(); if(detailsView != null) { detailsView.buildFrom(this, getRootComponent()); processedView(detailsView.getDisplay()); } else { processedView(new StackPane()); } }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); notificationsPane = new NotificationsPane(); notificationsPane.buildFrom((IEmaginController) this, getRootComponent()); processedView(notificationsPane.getDisplay()); notificationsManagement = (INotificationsManagement) Services.getBean("UserNotificationsManagementDelegate"); loaAllNotificationsAsync(); }
/** * {@inheritDoc} */ @Override protected void process() { super.process(); try { String location = "www.google.com"; OperationData data = getStructureContent().formModelDataProperty().get(); javafx.application.Platform.runLater(()->{ WebView webView = new WebView(); webView.getEngine().load(location); layout.getChildren().add(webView); }); }catch (Exception e) { e.printStackTrace(); unsupported(); } processedView(layout); }
/** * {@inheritDoc} */ @Override protected void process() { super.process(); try { String location = null; OperationData data = getStructureContent().formModelDataProperty().get(); if(location != null) { javafx.application.Platform.runLater(()->{ WebView webView = new WebView(); webView.getEngine().load(location); layout.getChildren().add(webView); }); } }catch (Exception e) { e.printStackTrace(); unsupported(); } processedView(layout); }
/** * {@inheritDoc} */ @Override protected void process() { super.process(); if (layoutManager != null && getTableStructure() != null) { if (getTableStructure().getDefaultActions() != null) { layoutManager.setDefaultActions(getTableStructure().getDefaultActions()); } else { layoutManager.setDefaultActions(null); } } }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); row.endEdition(); for(IInputComponentWrapper r: row.getEntries()) { layout.getChildren().add(r.getDisplay()); } layout.getStyleClass().addAll("white-background", "shadowed-pane", "padding-16-32-16-32"); // shadow will not be visible without padding of this pane StackPane et = new StackPane(); et.setPrefHeight(-1); et.setStyle("-fx-padding:4;-fx-background-color:transparent;"); et.getChildren().add(layout); buildHeaderActions(); processedView(et); }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); processedView(pane); final VLViewComponentXML root = getRootComponent(); if (root.hasSubComponent()) { for (final VLViewComponentXML group : root.getSubcomponents()) { if (group.hasSubComponent()) { final List<IBuildable> ts = ComponentUtils.resolveAndGenerate(this, group.getSubcomponents()); final FlowPane p = new FlowPane(); p.setVgap(20); p.setHgap(20); for(IBuildable e: ts) { p.getChildren().add(e.getDisplay()); } pane.getChildren().add(p); } } } } }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); if (getRootStructure().relativeToProperty().get() != null) { if (getStructureContentController().getFormModelData() == null) { getStructureContentController().setFormModelData(getRootStructure().relativeToProperty().get()); } } buildPanes(); }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); detailsViewLayout.setMinimizedViewId(minimizedDetailsView); detailsViewLayout.setMaximizedViewId(maximizedDetailsView); detailsViewLayout.buildFrom(this, null); final String currentLocation = getCurrentLocation(); if (StringUtils.isNotBlank(currentLocation)) { getStructureContent().contentLocationProperty().set(currentLocation); } hideIdentity.addListener((ChangeListener<Boolean>) (observable, oldValue, newValue) -> { handleIdentityDisplay(); }); handleIdentityDisplay(); processedView(detailsViewLayout); }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); if (getRootStructure().relativeToProperty().get() != null) { if (getStructureContentController().getFormModelData() == null) { getStructureContentController().setFormModelData(getRootStructure().relativeToProperty().get()); } } doBuildLeftPane(); doBuildCenterPane(); doBuildRightPane(); // TO UPDATE RIGHT PANE, LEFT MUST SET THE NEW MODEL TO // STRUCTURE CONTENT FORM MODEL DATA, // THE RIGHT PANE WILL LISTEN TO CHANGE ON THIS OBJECT TO UPDATE ITSELF }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); final String leftSectionView = getRootComponent().getPropertyValue("leftSectionView"); if (StringUtils.isNotBlank(leftSectionView)) { leftSection = (StandardListViewController) StandardViewUtils.forId(getRootStructure(), structureContentController, leftSectionView); final String location = leftSection.getRootComponent().getPropertyValue("location"); if (StringUtils.isNotBlank(location)) { final String loc = leftSection.getLocalised(location); } leftSection.getSelectedModel().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()); leftSection.selectFirstItem(); } detailsView = getRootComponent().getPropertyValue("rightSectionView"); }
/** * @{inheritedDoc} */ @Override protected void process() { super.process(); VLViewComponentXML root = getRootComponent(); String notifiableComponent = root.getPropertyValue("notifiableComponent"); if (StringUtils.isNotBlank(notifiableComponent)) { VLViewComponentXML notifiableComponentCgf = ComponentUtils.resolveDefinition(this, notifiableComponent).orElse(null); button = new SimpleCountableHyperlinkButton(); button.buildFrom(this, notifiableComponentCgf); processedView(button.getDisplay()); } String delegateId = getRootComponent().getPropertyValue("countDelegate"); button.countProperty().bind(newElementsCount); if (StringUtils.isNotBlank(delegateId)) { countDelegate = (INotificationsManagement) Services.getBean(delegateId); OperationCallback countCallback = new OperationCallback.Builder().onSuccess(this::onCountNewElementsSuccess).build(); countDelegate.getLocalElementsCount(NotificationStatus.NEW.status(), countCallback); countDelegate.getRemoteElementsCount(NotificationStatus.NEW.status(), countCallback); } }