notifySelectionListeners(new SelectionEvent(ClassTreePortlet.this));
}
});
}
else if (selModel instanceof MultiSelectionModel) {
((MultiSelectionModel) selModel).addSelectionModelListener(new MultiSelectionModelListener() {
public void onSelectionChange(final MultiSelectionModel sm, final TreeNode[] nodes) {
notifySelectionListeners(new SelectionEvent(ClassTreePortlet.this));
}
});
}