/** * */ protected void buildEllypsisMenu() { if ((this.ellypsisMenuConfiguration != null) && ellypsisMenuConfiguration.hasSubComponent()) { ellypisMenu = ToolbarUtils.ellipsisVActionsButton(ellypsisMenuConfiguration, controller, null); } }
protected void buildHeaderEllipsysActions() { final VLViewComponentXML headerActions = blocConfig.getComponentById("HeaderEllipsysActions").orElse(null); if (headerActions != null) { final Node button = ToolbarUtils.ellipsisVActionsButton(headerActions, controller, null); internalLayout.getChildren().add(button); } }
private void build() { maximizedWrapper.getChildren().clear(); topToolbar.getChildren().clear(); NodeHelper.styleClassSetAll(maximizedWrapper, configuration, HEADER_RIGHT_TOOLBAR); NodeHelper.styleClassSetAll(customWrapper, configuration, HEADER_RIGHT_TOOLBAR); final Iterator<VLViewComponentXML> it = configuration.getSubcomponents().iterator(); while (it.hasNext()) { final VLViewComponentXML conf = it.next(); // can be reference or controller if (StringUtils.isNotBlank(conf.getController())) { final String controller = conf.getController(); final AbstractViewController viewController = StandardViewUtils.forId(this.controller.getRootStructure(), controller); maximizedWrapper.getChildren().add(viewController.processedView()); } else { final VLViewComponentXML resolved = ComponentUtils.resolveDefinition(controller, conf).orElse(null); if (resolved != null) { final IBuildable buildable = ComponentUtils.generate(controller, resolved); NodeHelper.setTransparentFocus(buildable.getDisplay()); maximizedWrapper.getChildren().addAll(buildable.getDisplay()); } } if (conf.isSeparatorAfter() && it.hasNext()) { maximizedWrapper.getChildren().addAll(NodeHelper.headerVerticalSeparator()); } } bottomToolbar.setVisible(false); ellispsys = ToolbarUtils.ellipsisVActionsButton(configuration, controller, null); animateAddMaximizedWrapper(); }