viewer.setContentProvider(new ImportsExportsTreeContentProvider());
viewer.setSorter(new ImportsAndExportsViewerSorter());
viewer.setLabelProvider(new ImportsExportsTreeLabelProvider());
viewer.setAutoExpandLevel(2);
hideSelfImportsFilter = new ViewerFilter() {
@Override
public boolean select(Viewer viewer, Object parentElement, Object element) {
if (element instanceof ImportPackage) {
return !((ImportPackage) element).isSelfImport();
} else if (element instanceof RequiredBundle) {