onSetActiveConfig(config);
viewer.configure(config);
treeManager.removeAll();
if (config.hasDrillDown()) {
DrillDownAdapter dd = new DrillDownAdapter(viewer
.getTreeViewer()) {
public void goBack() {
super.goBack();
updateTitle(viewer.getTreeViewer().getInput());
}
public void goHome() {
super.goHome();
updateTitle(viewer.getTreeViewer().getInput());
}
public void goInto(Object newInput) {
super.goInto(newInput);
updateTitle(viewer.getTreeViewer().getInput());
}
};
dd.addNavigationActions(treeManager);
}
treeManager.update(true);
treeManager.getControl().getParent().layout(true, true);
treeManager.getControl().getParent().getParent().layout(true);
viewerHolder.setRedraw(true);