@Override public void dispose() { super.dispose(); if (viewer.treeClassesViewer != null && !viewer.treeClassesViewer.getTree().isDisposed()) { onControlDisposed.call(viewer.treeClassesViewer); } if (viewer.treeMembers != null && !viewer.treeMembers.isDisposed()) { onControlDisposed.call(viewer.treeMembers); } viewer.dispose(); }
@Override public void createPartControl(Composite parent) { viewer.createPartControl(parent); IActionBars actionBars = getViewSite().getActionBars(); IMenuManager menuManager = actionBars.getMenuManager(); addOrientationPreferences(menuManager); onControlCreated.call(viewer.treeClassesViewer); onControlCreated.call(viewer.treeMembers); }
@Override protected void setNewOrientation(int orientation) { viewer.setNewOrientation(orientation); }
@Override public void setFocus() { viewer.setFocus(); }
public void setHierarchy(HierarchyNodeModel model) { viewer.setHierarchy(model); }