Uses of Class
org.eclipse.swt.widgets.Item
-
Packages that use Item Package Description org.eclipse.jface.action Provides support for shared UI resources such as menus, tool bars, and status lines.org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.org.eclipse.swt.custom SWT Custom widgets.org.eclipse.swt.widgets SWT widget public API classes.org.eclipse.ui.dialogs Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.org.eclipse.ui.navigator Provides the Common Navigator framework. -
-
Uses of Item in org.eclipse.jface.action
Methods in org.eclipse.jface.action that return Item Modifier and Type Method Description protected Item
MenuManager. getMenuItem(int index)
Get an item from the implementation's widget.protected Item[]
MenuManager. getMenuItems()
Get all the items from the implementation's widget. -
Uses of Item in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers that return Item Modifier and Type Method Description protected abstract Item
AbstractTableViewer. doGetItem(int index)
Returns the item at the given, zero-relative index in the receiver.protected Item
TableViewer. doGetItem(int index)
protected abstract Item[]
AbstractTableViewer. doGetItems()
Returns a (possibly empty) array of TableItems which are the items in the receiver.protected Item[]
TableViewer. doGetItems()
protected abstract Item[]
AbstractTableViewer. doGetSelection()
Returns an array ofItem
that are currently selected in the receiver.protected Item[]
TableViewer. doGetSelection()
protected Item
AbstractTreeViewer. getChild(Widget widget, int index)
Get the child for the widget at index.protected Item
TreeViewer. getChild(Widget widget, int index)
protected abstract Item[]
AbstractTreeViewer. getChildren(Widget widget)
Returns the SWT child items for the given SWT widget.Item[]
AbstractTreeViewer. getChildren(Widget widget, Object[] elementChildren)
Deprecated.This method was inadvertently released as API but is not intended to be called by clients.protected Item[]
TreeViewer. getChildren(Widget o)
protected Item
ColumnViewer. getItem(int x, int y)
protected Item
StructuredViewer. getItem(int x, int y)
Deprecated.This method is deprecated in 3.3 in favor ofColumnViewer.getItemAt(org.eclipse.swt.graphics.Point)
.protected Item
AbstractTreeViewer. getItemAt(Point point)
This implementation ofAbstractTreeViewer.getItemAt(Point)
returns null to ensure API backwards compatibility.protected abstract Item
ColumnViewer. getItemAt(Point point)
Returns theItem
at the given widget-relative coordinates, ornull
if there is no item at the given coordinates.protected Item
TableViewer. getItemAt(Point p)
protected Item
TreeViewer. getItemAt(Point p)
protected abstract Item[]
AbstractTreeViewer. getItems(Item item)
Returns the child items of the given SWT item.protected Item[]
TreeViewer. getItems(Item item)
protected Item
AbstractTreeViewer. getNextItem(Item item, boolean includeChildren)
Returns the item after the given item in the tree, ornull
if there is no next item.protected abstract Item
AbstractTreeViewer. getParentItem(Item item)
Returns the parent item of the given item in the tree, ornull
if there is no parent item.protected Item
TreeViewer. getParentItem(Item item)
protected Item
AbstractTreeViewer. getPreviousItem(Item item)
Returns the item before the given item in the tree, ornull
if there is no previous item.protected abstract Item[]
AbstractTreeViewer. getSelection(Control control)
Returns all selected items for the given SWT control.protected Item[]
TreeViewer. getSelection(Control widget)
protected abstract Item
AbstractTreeViewer. newItem(Widget parent, int style, int index)
Creates a new item.protected Item
TreeViewer. newItem(Widget parent, int flags, int ix)
Item
AbstractTreeViewer. scrollDown(int x, int y)
Item
Viewer. scrollDown(int x, int y)
Scrolls the viewer's control down by one item from the given display-relative coordinates.Item
AbstractTreeViewer. scrollUp(int x, int y)
Item
Viewer. scrollUp(int x, int y)
Scrolls the viewer's control up by one item from the given display-relative coordinates.Methods in org.eclipse.jface.viewers with parameters of type Item Modifier and Type Method Description protected void
AbstractTreeViewer. associate(Object element, Item item)
protected void
StructuredViewer. associate(Object element, Item item)
Associates the given element with the given widget.void
StructuredViewerInternals.AssociateListener. associate(Object element, Item item)
Call when an element is associated with an Itemprotected void
AbstractTreeViewer. disassociate(Item item)
TheAbstractTreeViewer
implementation of this method also recurses over children of the corresponding element.protected void
StructuredViewer. disassociate(Item item)
Disassociates the given SWT item from its corresponding element.void
StructuredViewerInternals.AssociateListener. disassociate(Item item)
Called when an Item is no longer associatedprotected void
TreeViewer. disassociate(Item item)
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
AbstractTreeViewer. doUpdateItem(Item item, Object element)
Copies the attributes of the given element into the given SWT item.protected void
CheckboxTreeViewer. doUpdateItem(Item item, Object element)
protected Rectangle
ViewerDropAdapter. getBounds(Item item)
Returns the bounds of the given SWT tree or table item.protected abstract boolean
AbstractTreeViewer. getExpanded(Item item)
Returns whether the given SWT item is expanded or collapsed.protected boolean
TreeViewer. getExpanded(Item item)
protected abstract int
AbstractTreeViewer. getItemCount(Item item)
Returns the number of child items of the given SWT item.protected int
TreeViewer. getItemCount(Item item)
protected abstract Item[]
AbstractTreeViewer. getItems(Item item)
Returns the child items of the given SWT item.protected Item[]
TreeViewer. getItems(Item item)
protected Item
AbstractTreeViewer. getNextItem(Item item, boolean includeChildren)
Returns the item after the given item in the tree, ornull
if there is no next item.protected abstract Item
AbstractTreeViewer. getParentItem(Item item)
Returns the parent item of the given item in the tree, ornull
if there is no parent item.protected Item
TreeViewer. getParentItem(Item item)
protected Item
AbstractTreeViewer. getPreviousItem(Item item)
Returns the item before the given item in the tree, ornull
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<Item> items, Item[] current)
Returnstrue
if the given list and array of items refer to the same model elements.protected void
CheckboxTreeViewer. setCheckedChildren(Item item, boolean state)
Sets the checked state for the children of the given item.protected abstract void
ColumnViewerEditor. setEditor(Control w, Item item, int fColumnNumber)
Position the editor inside the controlprotected void
TableViewerEditor. setEditor(Control w, Item item, int columnNumber)
protected void
TreeViewerEditor. setEditor(Control w, Item item, int fColumnNumber)
protected abstract void
AbstractTreeViewer. setExpanded(Item item, boolean expand)
Sets the expand state of the given item.protected void
TreeViewer. setExpanded(Item node, boolean expand)
protected abstract void
AbstractTreeViewer. showItem(Item item)
Shows the given item.protected void
TreeViewer. showItem(Item item)
protected void
AbstractTreeViewer. updatePlus(Item item, Object element)
Updates the "+"/"-" icon of the tree node from the given element.protected void
TreeViewer. updatePlus(Item item, Object element)
Method parameters in org.eclipse.jface.viewers with type arguments of type Item Modifier and Type Method Description protected boolean
AbstractTreeViewer. isSameSelection(List<Item> items, Item[] current)
Returnstrue
if the given list and array of items refer to the same model elements.protected abstract void
AbstractTreeViewer. setSelection(List<Item> items)
Sets the selection to the given list of items.protected void
TreeViewer. setSelection(List<Item> items)
-
Uses of Item in org.eclipse.swt.custom
Subclasses of Item in org.eclipse.swt.custom Modifier and Type Class Description class
CTabItem
Instances of this class represent a selectable user interface object that represent a page in a notebook widget. -
Uses of Item in org.eclipse.swt.widgets
Subclasses of Item in org.eclipse.swt.widgets Modifier and Type Class Description class
CoolItem
Instances of this class are selectable user interface objects that represent the dynamically positionable areas of aCoolBar
.class
ExpandItem
Instances of this class represent a selectable user interface object that represents a expandable item in a expand bar.class
MenuItem
Instances of this class represent a selectable user interface object that issues notification when pressed and released.class
TabItem
Instances of this class represent a selectable user interface object corresponding to a tab for a page in a tab folder.class
TableColumn
Instances of this class represent a column in a table widget.class
TableItem
Instances of this class represent a selectable user interface object that represents an item in a table.class
TaskItem
Instances of this class represent a task item.class
ToolItem
Instances of this class represent a selectable user interface object that represents a button in a tool bar.class
TrayItem
Instances of this class represent icons that can be placed on the system tray or task bar status area.class
TreeColumn
Instances of this class represent a column in a tree widget.class
TreeItem
Instances of this class represent a selectable user interface object that represents a hierarchy of tree items in a tree widget. -
Uses of Item in org.eclipse.ui.dialogs
Methods in org.eclipse.ui.dialogs with parameters of type Item Modifier and Type Method Description protected void
ContainerCheckedTreeViewer. setExpanded(Item item, boolean expand)
-
Uses of Item in org.eclipse.ui.navigator
Methods in org.eclipse.ui.navigator with parameters of type Item Modifier and Type Method Description void
ICommonViewerMapper. addToMap(Object element, Item item)
Adds a new item to the map.Rectangle
CommonDropAdapter. getBounds(Item item)
void
ICommonViewerMapper. removeFromMap(Object element, Item item)
Removes an element from the map.
-