public void refreshTaskEvents() { eventGrid.removeAllComponents(); addTaskEvents(); }
@Override public void refresh() { m_gridLayout.removeAllComponents(); final List<BusinessService> services = m_businessServiceManager.search(m_businessServiceSearchCriteria); if (services.isEmpty()) { m_gridLayout.addComponent(new Label("There are no Business Services with matching criterias found.")); } else { for (BusinessService eachService : services) { m_gridLayout.addComponent(createRow(eachService)); } } boosted = false; }
public void refreshSubTasks() { subTaskLayout.removeAllComponents(); List<HistoricTaskInstance> subTasks = historyService.createHistoricTaskInstanceQuery() .taskParentTaskId(parentTask.getId()) .list(); populateSubTasks(subTasks); }
public void refreshPeopleGrid() { task = taskService.createTaskQuery().taskId(task.getId()).singleResult(); peopleGrid.removeAllComponents(); populatePeopleGrid(); }
private void layoutWidgets() { mainLayout.removeAllComponents(); if (permChecker.hasReadRepositoryPermission() && permChecker.hasTargetReadPermission()) { displayAllWidgets(); } else if (permChecker.hasReadRepositoryPermission()) { displayDistributionWidgetsOnly(); } else if (permChecker.hasTargetReadPermission()) { displayTargetWidgetsOnly(); } }
public void clear() { grid.removeAllComponents(); grid.setRows(1); grid.addComponent(new Label("<strong>" + MNls.find(this,"attribute=Attribute") +"</strong>",ContentMode.HTML)); grid.addComponent(new Label("<strong>" + MNls.find(this,"value=Value") + "</strong>",ContentMode.HTML)); }
private void layoutWidgets() { mainLayout.removeAllComponents(); if (permChecker.hasReadRepositoryPermission() && permChecker.hasTargetReadPermission()) { displayAllWidgets(); } else if (permChecker.hasReadRepositoryPermission()) { displayDistributionWidgetsOnly(); } else if (permChecker.hasTargetReadPermission()) { displayTargetWidgetsOnly(); } }
m_gridLayout.removeAllComponents();
private void maximizeActionHistory() { removeComponent(countMessageLabel); mainLayout.removeAllComponents(); mainLayout.setColumns(3); mainLayout.setRows(1); mainLayout.addComponent(actionHistoryLayout, 0, 0); mainLayout.addComponent(actionStatusLayout, 1, 0); mainLayout.addComponent(actionStatusMsgLayout, 2, 0); mainLayout.setColumnExpandRatio(0, 0.55F); mainLayout.setColumnExpandRatio(1, 0.18F); mainLayout.setColumnExpandRatio(2, 0.27F); mainLayout.setComponentAlignment(actionHistoryLayout, Alignment.TOP_LEFT); }
private void maximizeActionHistory() { removeComponent(countMessageLabel); mainLayout.removeAllComponents(); mainLayout.setColumns(3); mainLayout.setRows(1); mainLayout.addComponent(actionHistoryLayout, 0, 0); mainLayout.addComponent(actionStatusLayout, 1, 0); mainLayout.addComponent(actionStatusMsgLayout, 2, 0); mainLayout.setColumnExpandRatio(0, 0.55F); mainLayout.setColumnExpandRatio(1, 0.18F); mainLayout.setColumnExpandRatio(2, 0.27F); mainLayout.setComponentAlignment(actionHistoryLayout, Alignment.TOP_LEFT); }
@Override public void refresh() { m_gridLayout.removeAllComponents();
@Override public void refresh() { m_gridLayout.removeAllComponents();
public void enter(List<ParameterName> sourceParameterNames, List<ParameterName> targetParameterNames) this.layout.removeAllComponents();
this.layout.removeAllComponents();
this.layout.removeAllComponents();
this.imagePanelLayout.setHeight("70px"); this.mainLayout.removeAllComponents(); this.mainLayout.addComponent(imagePanelLayout, 0, 0);
tf1.setWidth("100%"); tf1.setValidationVisible(false); layout.removeAllComponents(); layout.addComponent(tf1);
tf1.setWidth("100%"); tf1.setValidationVisible(false); layout.removeAllComponents();