public void selectionChanged(IAction action, ISelection selection) {
IFile[] locations = getLocations(selection);
bndFiles = new LinkedHashMap<Project, List<File>>();
for (IFile iFile : locations) {
File file = iFile.getLocation().toFile();
Project project;
try {
IProject iProject = iFile.getProject();
project = Central.getWorkspace().getProject(iProject.getName());
// .bnd files exists in cnf that are unreleasable
if (project == null || project.isCnf()) {
continue;
}
} catch (Exception e) {
throw new RuntimeException(e);
}