Example usage for org.eclipse.jface.viewers TreeViewer setExpandPreCheckFilters

List of usage examples for org.eclipse.jface.viewers TreeViewer setExpandPreCheckFilters

Introduction

In this page you can find the example usage for org.eclipse.jface.viewers TreeViewer setExpandPreCheckFilters.

Prototype

public void setExpandPreCheckFilters(boolean checkFilters) 

Source Link

Document

Instructs #isExpandable(Object) to consult filters to more accurately determine if an item can be expanded.

Usage

From source file:org.eclipse.handly.ui.quickoutline.FilteringOutlinePopup.java

License:Open Source License

@Override
public void init(IOutlinePopupHost host, KeyStroke invokingKeyStroke) {
    super.init(host, invokingKeyStroke);
    TreeViewer treeViewer = getTreeViewer();
    treeViewer.setExpandPreCheckFilters(true);
    treeViewer.addFilter(new PatternBasedFilter());
}