tool.setContext(toolContext);
tool.setEnabled(isEnabled());
if(tool instanceof ModalTool){
IMapEditorSelectionProvider selectionProvider = getSelectionProvider();
ModalTool modalTool = (ModalTool) tool;
modalTool.setSelectionProvider(selectionProvider);
}
} catch (CoreException e) {