Package com._1c.g5.v8.dt.common.ui
Class UiLessTreeViewer
-
- All Implemented Interfaces:
IInputProvider
,IInputSelectionProvider
,IPostSelectionProvider
,ISelectionProvider
public class UiLessTreeViewer extends AbstractTreeViewer
Tree viewer that has no UI.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.StructuredViewer
StructuredViewer.ColorAndFontCollector, StructuredViewer.ColorAndFontCollectorWithProviders
-
-
Field Summary
Fields Modifier and Type Field Description static UiLessTreeViewer
INSTANCE
The shared instance.-
Fields inherited from class org.eclipse.jface.viewers.AbstractTreeViewer
ALL_LEVELS
-
Fields inherited from class org.eclipse.jface.viewers.Viewer
WIDGET_DATA_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UiLessTreeViewer()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTreeListener(org.eclipse.swt.widgets.Control control, org.eclipse.swt.events.TreeListener listener)
protected org.eclipse.swt.widgets.Item[]
getChildren(org.eclipse.swt.widgets.Widget widget)
org.eclipse.swt.widgets.Control
getControl()
protected boolean
getExpanded(org.eclipse.swt.widgets.Item item)
protected int
getItemCount(org.eclipse.swt.widgets.Control control)
protected int
getItemCount(org.eclipse.swt.widgets.Item item)
protected org.eclipse.swt.widgets.Item[]
getItems(org.eclipse.swt.widgets.Item item)
protected org.eclipse.swt.widgets.Item
getParentItem(org.eclipse.swt.widgets.Item item)
protected org.eclipse.swt.widgets.Item[]
getSelection(org.eclipse.swt.widgets.Control control)
protected org.eclipse.swt.widgets.Item
newItem(org.eclipse.swt.widgets.Widget parent, int style, int index)
protected void
removeAll(org.eclipse.swt.widgets.Control control)
protected void
setExpanded(org.eclipse.swt.widgets.Item item, boolean expand)
protected void
setSelection(List items)
protected void
showItem(org.eclipse.swt.widgets.Item item)
-
Methods inherited from class org.eclipse.jface.viewers.AbstractTreeViewer
add, add, addSelectionListener, addTreeListener, assertContentProviderType, associate, buildLabel, collapseAll, collapseToLevel, createChildren, createTreeItem, createViewerEditor, disassociate, doFindInputItem, doFindItem, doGetColumnCount, doUpdateItem, doUpdateItem, expandAll, expandAll, expandToLevel, expandToLevel, expandToLevel, expandToLevel, fireTreeCollapsed, fireTreeExpanded, getAutoExpandLevel, getChild, getChildren, getColumnViewerOwner, getExpandedElements, getExpandedState, getExpandedTreePaths, getItemAt, getNextItem, getParentElement, getPreviousItem, getRawChildren, getSelection, getSelectionFromWidget, getSortedChildren, getStructuredSelection, getTreePathFromItem, getViewerRowFromItem, getVisibleExpandedElements, handleDoubleSelect, handleTreeCollapse, handleTreeExpand, hookControl, indexForElement, inputChanged, insert, internalAdd, internalCollapseToLevel, internalExpand, internalExpandToLevel, internalFindItems, internalGetWidgetToSelect, internalInitializeTree, internalIsInputOrEmptyPath, internalRefresh, internalRefresh, internalRefresh, internalRemove, internalRemove, isExpandable, isSameSelection, labelProviderChanged, remove, remove, remove, removeTreeListener, reveal, scrollDown, scrollUp, setAutoExpandLevel, setContentProvider, setExpandedElements, setExpandedState, setExpandedTreePaths, setExpandPreCheckFilters, setSelectionToWidget, setSelectionToWidget, updateChildren, updatePlus
-
Methods inherited from class org.eclipse.jface.viewers.ColumnViewer
applyEditorValue, cancelEditing, checkBusy, editElement, getCell, getCellEditors, getCellModifier, getColumnProperties, getColumnViewerEditor, getItem, getLabelProvider, getViewerRow, handleDispose, hookEditingSupport, isBusy, isCellEditorActive, refresh, refresh, setBusy, setCellEditors, setCellModifier, setColumnProperties, setColumnViewerEditor, setLabelProvider, triggerEditorActivationEvent, update
-
Methods inherited from class org.eclipse.jface.viewers.StructuredViewer
addDoubleClickListener, addDragSupport, addDropSupport, addFilter, addOpenListener, addPostSelectionChangedListener, assertElementsNotNull, equals, filter, findItem, findItems, fireDoubleClick, fireOpen, firePostSelectionChanged, getColorAndFontCollector, getComparator, getComparer, getFilteredChildren, getFilters, getRoot, getSorter, handleInvalidSelection, handleLabelProviderChanged, handleOpen, handlePostSelect, handleSelect, hasFilters, internalUpdate, mapElement, needsRefilter, preservingSelection, refresh, refresh, refreshItem, removeDoubleClickListener, removeFilter, removeOpenListener, removePostSelectionChangedListener, resetFilters, setComparator, setComparer, setFilters, setInput, setSelection, setSorter, setUseHashlookup, testFindItem, testFindItems, unmapAllElements, unmapElement, unmapElement, update, updateItem, updateSelection, usingElementMap
-
Methods inherited from class org.eclipse.jface.viewers.ContentViewer
getContentProvider, getInput, getLabelProvider
-
Methods inherited from class org.eclipse.jface.viewers.Viewer
addHelpListener, addSelectionChangedListener, fireHelpRequested, fireSelectionChanged, getData, handleHelpRequest, removeHelpListener, removeSelectionChangedListener, setData, setSelection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
addSelectionChangedListener, removeSelectionChangedListener, setSelection
-
-
-
-
Field Detail
-
INSTANCE
public static final UiLessTreeViewer INSTANCE
The shared instance.
-
-
Method Detail
-
getControl
public org.eclipse.swt.widgets.Control getControl()
- Specified by:
getControl
in classViewer
-
addTreeListener
protected void addTreeListener(org.eclipse.swt.widgets.Control control, org.eclipse.swt.events.TreeListener listener)
- Specified by:
addTreeListener
in classAbstractTreeViewer
-
getChildren
protected org.eclipse.swt.widgets.Item[] getChildren(org.eclipse.swt.widgets.Widget widget)
- Specified by:
getChildren
in classAbstractTreeViewer
-
getExpanded
protected boolean getExpanded(org.eclipse.swt.widgets.Item item)
- Specified by:
getExpanded
in classAbstractTreeViewer
-
getItemCount
protected int getItemCount(org.eclipse.swt.widgets.Control control)
- Specified by:
getItemCount
in classAbstractTreeViewer
-
getItemCount
protected int getItemCount(org.eclipse.swt.widgets.Item item)
- Specified by:
getItemCount
in classAbstractTreeViewer
-
getItems
protected org.eclipse.swt.widgets.Item[] getItems(org.eclipse.swt.widgets.Item item)
- Specified by:
getItems
in classAbstractTreeViewer
-
getParentItem
protected org.eclipse.swt.widgets.Item getParentItem(org.eclipse.swt.widgets.Item item)
- Specified by:
getParentItem
in classAbstractTreeViewer
-
getSelection
protected org.eclipse.swt.widgets.Item[] getSelection(org.eclipse.swt.widgets.Control control)
- Specified by:
getSelection
in classAbstractTreeViewer
-
newItem
protected org.eclipse.swt.widgets.Item newItem(org.eclipse.swt.widgets.Widget parent, int style, int index)
- Specified by:
newItem
in classAbstractTreeViewer
-
removeAll
protected void removeAll(org.eclipse.swt.widgets.Control control)
- Specified by:
removeAll
in classAbstractTreeViewer
-
setExpanded
protected void setExpanded(org.eclipse.swt.widgets.Item item, boolean expand)
- Specified by:
setExpanded
in classAbstractTreeViewer
-
setSelection
protected void setSelection(List items)
- Specified by:
setSelection
in classAbstractTreeViewer
-
showItem
protected void showItem(org.eclipse.swt.widgets.Item item)
- Specified by:
showItem
in classAbstractTreeViewer
-
-