public void initialize(IServiceLocator locator) {
this.serviceLocator = locator;
}
protected IContributionItem[] getContributionItems() {
ISelectionService selectionService = (ISelectionService) serviceLocator
.getService(ISelectionService.class);
if (selectionService == null) {
return new IContributionItem[0];
}
ISelection selection = selectionService.getSelection();
if (selection == null || !(selection instanceof IStructuredSelection)) {
return new IContributionItem[0];
}
Map/* <IProject, Set<IvyClasspathContainer>> */containers = new HashMap();