Methods in
org.eclipse.jface.viewers with parameters of type
Item
|
protected void
|
StructuredViewer.
associate
(
Object element,
Item item)
Associates the given element with the given widget. |
protected void
|
AbstractTreeViewer.
associate
(
Object element,
Item item)
|
void
|
StructuredViewerInternals.AssociateListener.
associate
(
Object element,
Item item)
Call when an element is associated with an Item |
protected void
|
TreeViewer.
disassociate
(
Item item)
|
protected void
|
StructuredViewer.
disassociate
(
Item item)
Disassociates the given SWT item from its corresponding element. |
protected void
|
AbstractTreeViewer.
disassociate
(
Item item)
The AbstractTreeViewer implementation of this method also
recurses over children of the corresponding element. |
void
|
StructuredViewerInternals.AssociateListener.
disassociate
(
Item item)
Called when an Item is no longer associated |
protected abstract int
|
AbstractTableViewer.
doIndexOf
(
Item item)
Searches the receiver's list starting at the first item (index 0) until
an item is found that is equal to the argument, and returns the index of
that item. |
protected int
|
TableViewer.
doIndexOf
(
Item item)
|
protected abstract void
|
AbstractTableViewer.
doResetItem
(
Item item)
Resets the given item in the receiver. |
protected void
|
TableViewer.
doResetItem
(
Item item)
|
protected abstract void
|
AbstractTableViewer.
doSetSelection
(
Item[] items)
Sets the receiver's selection to be the given array of items. |
protected void
|
TableViewer.
doSetSelection
(
Item[] items)
|
protected abstract void
|
AbstractTableViewer.
doShowItem
(
Item item)
Shows the item. |
protected void
|
TableViewer.
doShowItem
(
Item item)
|
protected void
|
TableTreeViewer.
doUpdateItem
(
Item item,
Object element)
Deprecated. |
protected void
|
CheckboxTreeViewer.
doUpdateItem
(
Item item,
Object element)
|
protected void
|
AbstractTreeViewer.
doUpdateItem
(
Item item,
Object element)
Copies the attributes of the given element into the given SWT item. |
protected
Rectangle
|
ViewerDropAdapter.
getBounds
(
Item item)
Returns the bounds of the given SWT tree or table item. |
protected boolean
|
TreeViewer.
getExpanded
(
Item item)
|
protected boolean
|
TableTreeViewer.
getExpanded
(
Item item)
Deprecated. |
protected abstract boolean
|
AbstractTreeViewer.
getExpanded
(
Item item)
Returns whether the given SWT item is expanded or collapsed. |
protected int
|
TreeViewer.
getItemCount
(
Item item)
|
protected int
|
TableTreeViewer.
getItemCount
(
Item item)
Deprecated. |
protected abstract int
|
AbstractTreeViewer.
getItemCount
(
Item item)
Returns the number of child items of the given SWT item. |
protected
Item[]
|
TreeViewer.
getItems
(
Item item)
|
protected
Item[]
|
TableTreeViewer.
getItems
(
Item item)
Deprecated. |
protected abstract
Item[]
|
AbstractTreeViewer.
getItems
(
Item item)
Returns the child items of the given SWT item. |
protected
Item
|
AbstractTreeViewer.
getNextItem
(
Item item,
boolean includeChildren)
Returns the item after the given item in the tree, or null
if there is no next item. |
protected
Item
|
TreeViewer.
getParentItem
(
Item item)
|
protected
Item
|
TableTreeViewer.
getParentItem
(
Item item)
Deprecated. |
protected abstract
Item
|
AbstractTreeViewer.
getParentItem
(
Item item)
Returns the parent item of the given item in the tree, or
null if there is no parent item. |
protected
Item
|
AbstractTreeViewer.
getPreviousItem
(
Item item)
Returns the item before the given item in the tree, or null
if there is no previous item. |
protected
TreePath
|
AbstractTreeViewer.
getTreePathFromItem
(
Item item)
Returns the tree path for the given item. |
protected boolean
|
AbstractTreeViewer.
isSameSelection
(
List items,
Item[] current)
Returns true if the given list and array of items refer to
the same model elements. |
protected void
|
TreeViewerEditor.
setEditor
(
Control w,
Item item,
int fColumnNumber)
|
protected void
|
TableViewerEditor.
setEditor
(
Control w,
Item item,
int columnNumber)
|
protected abstract void
|
ColumnViewerEditor.
setEditor
(
Control w,
Item item,
int fColumnNumber)
Position the editor inside the control |
protected void
|
TreeViewer.
setExpanded
(
Item node,
boolean expand)
|
protected void
|
TableTreeViewer.
setExpanded
(
Item node,
boolean expand)
Deprecated. |
protected abstract void
|
AbstractTreeViewer.
setExpanded
(
Item item,
boolean expand)
Sets the expand state of the given item. |
protected void
|
TreeViewer.
showItem
(
Item item)
|
protected void
|
TableTreeViewer.
showItem
(
Item item)
Deprecated. |
protected abstract void
|
AbstractTreeViewer.
showItem
(
Item item)
Shows the given item. |
protected void
|
TreeViewer.
updatePlus
(
Item item,
Object element)
|
protected void
|
AbstractTreeViewer.
updatePlus
(
Item item,
Object element)
Updates the "+"/"-" icon of the tree node from the given element. |