Class XViewerFilteredTree
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.nebula.widgets.xviewer.util.internal.FilteredTreeComposite
org.eclipse.nebula.widgets.xviewer.util.internal.XViewerFilteredTree
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
public class XViewerFilteredTree extends FilteredTreeComposite
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.nebula.widgets.xviewer.util.internal.FilteredTreeComposite
FilteredTreeComposite.NotifyingTreeViewer
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.xviewer.util.internal.FilteredTreeComposite
filterComposite, filterText, filterToolBar, initialText, parent, showFilterControls, treeComposite, treeViewer
-
Constructor Summary
Constructors Constructor Description XViewerFilteredTree(org.eclipse.swt.widgets.Composite parent)
XViewerFilteredTree(org.eclipse.swt.widgets.Composite parent, int treeStyle)
XViewerFilteredTree(org.eclipse.swt.widgets.Composite parent, int treeStyle, PatternFilter filter)
-
Method Summary
Modifier and Type Method Description protected org.eclipse.swt.widgets.Composite
createFilterControls(org.eclipse.swt.widgets.Composite parent)
Create the filter controls.protected void
createFilterText(org.eclipse.swt.widgets.Composite parent)
Creates the filter text and adds listeners.Methods inherited from class org.eclipse.nebula.widgets.xviewer.util.internal.FilteredTreeComposite
clearText, createControl, createTreeControl, doCreateFilterText, doCreateRefreshJob, doCreateTreeViewer, getBoldFont, getFilterControl, getFilterString, getInitialText, getPatternFilter, getViewer, init, selectAll, setBackground, setFilterText, setInitialText, textChanged, updateToolbar
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList, toString
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData
-
Constructor Details
-
XViewerFilteredTree
public XViewerFilteredTree(org.eclipse.swt.widgets.Composite parent) -
XViewerFilteredTree
public XViewerFilteredTree(org.eclipse.swt.widgets.Composite parent, int treeStyle) -
XViewerFilteredTree
public XViewerFilteredTree(org.eclipse.swt.widgets.Composite parent, int treeStyle, PatternFilter filter)
-
-
Method Details
-
createFilterControls
protected org.eclipse.swt.widgets.Composite createFilterControls(org.eclipse.swt.widgets.Composite parent)Description copied from class:FilteredTreeComposite
Create the filter controls. By default, a text and corresponding tool bar button that clears the contents of the text is created. Subclasses may override.- Overrides:
createFilterControls
in classFilteredTreeComposite
- Parameters:
parent
- parentComposite
of the filter controls- Returns:
- the
Composite
that contains the filter controls
-
createFilterText
protected void createFilterText(org.eclipse.swt.widgets.Composite parent)Description copied from class:FilteredTreeComposite
Creates the filter text and adds listeners. This method callsFilteredTreeComposite.doCreateFilterText(Composite)
to create the text control. Subclasses should overrideFilteredTreeComposite.doCreateFilterText(Composite)
instead of overriding this method.- Overrides:
createFilterText
in classFilteredTreeComposite
- Parameters:
parent
-Composite
of the filter text
-