/** * to be overridden by concrete implementation. */ protected void displayFilterDropedInfoOnLoad() { filterDroppedInfo.removeAllComponents(); }
public void removeAllActions() { this.primaryActionSlot.removeAllComponents(); this.secondaryActionSlot.removeAllComponents(); } }
/** * to be overridden by concrete implementation. */ protected void displayFilterDropedInfoOnLoad() { filterDroppedInfo.removeAllComponents(); }
private void setPreviousPanel() { this.currentPanel = this.previousSteps.getLast(); this.previousSteps.removeLast(); this.viewPort.removeAllComponents(); this.viewPort.addComponent(this.currentPanel); }
@Override public void setComponent(Object owner, Component container) { this.owner = owner; workArea.removeAllComponents(); if (container != null) workArea.addComponent(container); }
public void buttonClick(ClickEvent event) { editingDetails = true; detailLayout.removeAllComponents(); populateGroupDetails(); } });
/** * Sets the buttons for the edit view.<p> * * @param buttons the buttons */ public void setButtons(Component... buttons) { m_buttonBar.removeAllComponents(); for (Component button : buttons) { m_buttonBar.addComponent(button); } }
public void buttonClick(ClickEvent event) { editingDetails = true; userDetailsLayout.removeAllComponents(); populateUserDetails(); // the layout will be populated differently since the 'editingDetails' boolean is set } });
public void setToolbarComponent(Component toolbarComponent) { toolbarSlot.removeAllComponents(); toolbarSlot.addComponentAsFirst(toolbarComponent); }
/** * Clears the right toolbar buttons.<p> */ public void clearButtonsRight() { m_itemsRight.removeAllComponents(); m_rightButtons.removeAllComponents(); updateFoldingThreshhold(); }
private void setExtraComponents() { m_extraComponentBar.removeAllComponents(); for (Component c : getExtraComponents()) { m_extraComponentBar.addComponent(c); } } }
public void initProcessDefinitionInfo() { if(definitionInfoComponent == null) { definitionInfoComponent = new EditorProcessDefinitionInfoComponent(modelData); } detailContainer.removeAllComponents(); detailContainer.addComponent(definitionInfoComponent); }
public void initProcessDefinitionInfo() { if(definitionInfoComponent == null) { definitionInfoComponent = new ProcessDefinitionInfoComponent(processDefinition, deployment); } detailContainer.removeAllComponents(); detailContainer.addComponent(definitionInfoComponent); }
@Override public void containerItemSetChange(ItemSetChangeEvent event) { searchResultsSizeLayout.removeAllComponents(); resultsLabel = new Label("Number of records returned: " + event.getContainer().size() + " of " + resultSize); searchResultsSizeLayout.addComponent(resultsLabel); } };
/** * Clears the left toolbar buttons.<p> */ public void clearButtonsLeft() { m_itemsLeft.removeAllComponents(); m_leftButtons.removeAllComponents(); // in case the app title is set, make sure to keep the label in the button bar if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_appIndicator.getValue())) { m_itemsLeft.addComponent(m_appIndicator); } updateFoldingThreshhold(); }
private void setUpCaptionLayout(final boolean isCreateView) { captionLayout.removeAllComponents(); if (isCreateView) { nameTextField.removeBlurListener(nameTextFieldBlurListener); captionLayout.removeLayoutClickListener(nameLayoutClickListner); captionLayout.addComponent(nameTextField); } else { captionLayout.addComponent(nameLabel); nameTextField.addBlurListener(nameTextFieldBlurListener); captionLayout.addLayoutClickListener(nameLayoutClickListner); } }
private void setUpCaptionLayout(final boolean isCreateView) { captionLayout.removeAllComponents(); if (isCreateView) { nameTextField.removeBlurListener(nameTextFieldBlurListener); captionLayout.removeLayoutClickListener(nameLayoutClickListner); captionLayout.addComponent(nameTextField); } else { captionLayout.addComponent(nameLabel); nameTextField.addBlurListener(nameTextFieldBlurListener); captionLayout.addLayoutClickListener(nameLayoutClickListner); } }
private void closeFilterByDistribution() { /* Remove filter by distribution information. */ getFilterDroppedInfo().removeAllComponents(); getFilterDroppedInfo().setSizeUndefined(); /* Remove distribution Id from target filter parameters */ getManagementUIState().getTargetTableFilters().setDistributionSet(null); /* Reload the table */ eventBus.publish(this, TargetFilterEvent.REMOVE_FILTER_BY_DISTRIBUTION); }
private void closeFilterByDistribution() { /* Remove filter by distribution information. */ getFilterDroppedInfo().removeAllComponents(); getFilterDroppedInfo().setSizeUndefined(); /* Remove distribution Id from target filter parameters */ getManagementUIState().getTargetTableFilters().setDistributionSet(null); /* Reload the table */ eventBus.publish(this, TargetFilterEvent.REMOVE_FILTER_BY_DISTRIBUTION); }
protected void showOverview(boolean setLinking) { if (menuLeave != null) menuLeave.setEnabled(false); contentScreen.removeAllComponents(); cleanupMenu(); currentSpace = null; contentScreen.addComponent(overView); contentScreen.setExpandRatio(overView, 1f); menuHistory.setText(MNls.find(this, "menu.history=History")); if (setLinking) UI.getCurrent().getPage().setUriFragment(""); }