// index the new jar
indexManager.indexLibrary(jarPath, root.getJavaProject().getProject());
break;
case IResourceDelta.CHANGED:
// first remove the index so that it is forced to be re-indexed
indexManager.removeIndex(jarPath);
// then index the jar
indexManager.indexLibrary(jarPath, root.getJavaProject().getProject());
break;
case IResourceDelta.REMOVED:
// the jar was physically removed: remove the index