@Override public void setMultipleSelections(List<Object[]> items) { if (items.isEmpty()) { infoPanel.setTitle(""); } else { infoPanel.setTitle("Multiple projects (" + items.size() + ")"); } details.removeAll(); details.updateUI(); }
private void refreshSelectedProject() { infoPanel.setTitle(projectName); details.removeAll(); details.updateUI(); if (detailsWorker != null) { detailsWorker.cancel(true); } detailsWorker = new DetailsWorker(projectName); detailsWorker.execute(); }