Search in sources :

Example 1 with HierarchyInformationControl

use of org.eclipse.jdt.internal.ui.typehierarchy.HierarchyInformationControl in project xtext-eclipse by eclipse.

the class HierarchyInformationPresenter method getHierarchyPresenterControlCreator.

protected static IInformationControlCreator getHierarchyPresenterControlCreator() {
    return new IInformationControlCreator() {

        @Override
        public IInformationControl createInformationControl(Shell parent) {
            int shellStyle = SWT.RESIZE;
            int treeStyle = SWT.V_SCROLL | SWT.H_SCROLL;
            HierarchyInformationControl hierarchyInformationControl = new HierarchyInformationControl(parent, shellStyle, treeStyle);
            return hierarchyInformationControl;
        }
    };
}
Also used : IInformationControlCreator(org.eclipse.jface.text.IInformationControlCreator) Shell(org.eclipse.swt.widgets.Shell) Point(org.eclipse.swt.graphics.Point) HierarchyInformationControl(org.eclipse.jdt.internal.ui.typehierarchy.HierarchyInformationControl)

Aggregations

HierarchyInformationControl (org.eclipse.jdt.internal.ui.typehierarchy.HierarchyInformationControl)1 IInformationControlCreator (org.eclipse.jface.text.IInformationControlCreator)1 Point (org.eclipse.swt.graphics.Point)1 Shell (org.eclipse.swt.widgets.Shell)1