installedContrib =
<BUG>newContrib.copyAndLoad(editor, confirmReplace, status);
</BUG>
if (newContrib.getType() == ContributionType.MODE) {
<BUG>((ModeContribution)newContrib).clearClassLoader(editor.getBase());

System.out.println("ismode");</BUG>
}
else if (newContrib.getType() == ContributionType.TOOL) {
<BUG>((ToolContribution)newContrib).clearClassLoader(editor.getBase());

System.out.println("istool");</BUG>
}

installedContrib =
newContrib.copyAndLoad(base, confirmReplace, status);
if (newContrib.getType() == ContributionType.MODE) {
((ModeContribution)newContrib).clearClassLoader(base);
}
else if (newContrib.getType() == ContributionType.TOOL) {
((ToolContribution)newContrib).clearClassLoader(base);
}
