How to create Filter for org.eclipse.jface.viewers.CheckboxTreeViewer? <p>I have to create Filter for my CheckboxTreeViewer. I'm not getting how to do that. I'm using following class</p> <pre><code>org.eclipse.pde.internal.ui.shared.FilteredCheckboxTree </code></pre> <p>and following way to get the FilteredCheckboxTree object:</p> <pre><code>FilteredTree ft = new FilteredCheckboxTree(parent, null, 0, null); </code></pre> <p>but it is telling me: </p> <p>The constructor FilteredCheckboxTree(Composite, FormToolkit, int, PatternFilter) refers to the missing type FormToolkit. </p> <p>I'm not getting what exactly the problem is. Please help if you know about it. Or if there is any other way to get Filter then do let me know.</p> <p>Thanks in advance!!!</p>