public void buttonClick(ClickEvent event) { components.removeItem(component); } });
public void buttonClick(ClickEvent event) { flows.removeItem(flow); for(Component component: flow.getComponents()) { components.removeItem(component); } } });
public void buttonClick(ClickEvent event) { modules.removeItem(module); for(Flow flow: module.getFlows()) { flows.removeItem(flow); for(Component component: flow.getComponents()) { components.removeItem(component); } } } });
public void onClose(ConfirmDialog dialog) { if (dialog.isConfirmed()) { table.removeItem(itemId); } } });
public void onClose(ConfirmDialog dialog) { if (dialog.isConfirmed()) { table.removeItem(itemId); } } });
public void onClose(ConfirmDialog dialog) { if (dialog.isConfirmed()) { table.removeItem(itemId); } } });
public void onClose(ConfirmDialog dialog) { if (dialog.isConfirmed()) { table.removeItem(itemId); } } });
public void onClose(ConfirmDialog dialog) { if (dialog.isConfirmed()) { table.removeItem(itemId); } } });
public void onClose(ConfirmDialog dialog) { if (dialog.isConfirmed()) { table.removeItem(itemId); } } });
public void onClose(ConfirmDialog dialog) { if (dialog.isConfirmed()) { table.removeItem(itemId); } } });
private void addTargetTableData(final Long selectedId) { getSelectedTableItemData(selectedId); sourceTable.removeItem(selectedId); }
public void removeFrom(Table table) { Object id = m_id; if (id != null) { table.removeItem(id); if ((m_lastKey != null) && (m_lastKey.trim().length() > 0)) { m_repoObject.addTag(m_lastKey, null); } ChangeListener listener = m_listener; if (listener != null) { listener.changed(this); } } }
private void removeSMType() { @SuppressWarnings("unchecked") final Set<Long> selectedIds = (Set<Long>) selectedTable.getValue(); if (selectedIds == null) { return; } for (final Long id : selectedIds) { addSourceTableData(id); selectedTable.removeItem(id); } }
private void removeSMType() { @SuppressWarnings("unchecked") final Set<Long> selectedIds = (Set<Long>) selectedTable.getValue(); if (selectedIds == null) { return; } for (final Long id : selectedIds) { addSourceTableData(id); selectedTable.removeItem(id); } }
public void menuSelected(MenuItem selectedItem) { String id = (String) table.getValue(); taskService.deleteTask(id); table.removeItem(id); } });
public void buttonClick(ClickEvent event) { ErrorCategorisation ec = errorCategorisationLink.getErrorCategorisation(); errorCategorisationService.delete(errorCategorisationLink); errorCategorisationService.delete(ec); existingCategorisedErrorsTable.removeItem(errorCategorisationLink); clear(); } });
@Override public void buttonClick(ClickEvent event) { event.getButton().setEnabled(false); try { getArtifactRepository().remove(rp); m_artifactsTable.removeItem(rp.getDefinition()); } catch (Exception e) { getParent().showNotification("Failed to delete resource", "Reason: <br/>" + e.getMessage(), Notification.TYPE_ERROR_MESSAGE); } } });
public void buttonClick(ClickEvent event) { for (String selectedItemId : (Set<String>) matchingUsersTable.getValue()) { // Remove from left table Item originalItem = matchingUsersTable.getItem(selectedItemId); // And put it in right table selectUser(selectedItemId, (String) originalItem.getItemProperty("userName").getValue()); // Remove from left table (must be done on the end, or item properties will be inaccessible) matchingUsersTable.removeItem(selectedItemId); } } });
public void buttonClick(ClickEvent event) { roleTable.removeItem(role); principal.getRoles().remove(role); securityService.savePrincipal(principal); IkasanAuthentication ikasanAuthentication = (IkasanAuthentication)VaadinService.getCurrentRequest().getWrappedSession() .getAttribute(DashboardSessionValueConstants.USER); String action = "Role " + role.getName() + " removed by " + ikasanAuthentication.getName(); systemEventService.logSystemEvent(SystemEventConstants.DASHBOARD_USER_ROLE_CHANGED_CONSTANTS, action,principal.getName()); } });
public void buttonClick(ClickEvent event) { roleTable.removeItem(role); principal.getRoles().remove(role); securityService.savePrincipal(principal); dashboardActivityTable.removeItem(principal.getName()); IkasanAuthentication ikasanAuthentication = (IkasanAuthentication)VaadinService.getCurrentRequest().getWrappedSession() .getAttribute(DashboardSessionValueConstants.USER); String action = "Role " + role.getName() + " removed by " + ikasanAuthentication.getName(); systemEventService.logSystemEvent(SystemEventConstants.DASHBOARD_USER_ROLE_CHANGED_CONSTANTS, action, user.getUsername()); updateRoleChangedEvents(); } });