Skip to content

Commit

Permalink
Configure initial maximum viewer limit for Type Hierarchy view.
Browse files Browse the repository at this point in the history
  • Loading branch information
raghucssit committed Dec 4, 2024
1 parent e57bf66 commit 9fd3416
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
import org.eclipse.ui.part.ResourceTransfer;
import org.eclipse.ui.part.ShowInContext;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.ui.views.WorkbenchViewerSetup;

import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMember;
Expand Down Expand Up @@ -757,6 +758,7 @@ private Control createTypeViewerControl(Composite parent) {
fEmptyTypesViewer= new Label(fViewerbook, SWT.TOP | SWT.LEFT | SWT.WRAP);

for (TypeHierarchyViewer viewer : fAllViewers) {
WorkbenchViewerSetup.setupViewer(viewer);
viewer.setInput(viewer);
}

Expand Down

0 comments on commit 9fd3416

Please sign in to comment.