Uses of Class
org.eclipse.swt.widgets.Item
Package
Description
Provides support for shared UI resources such as menus,
tool bars, and status lines.
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
SWT Custom widgets.
SWT widget public API classes.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
Provides the Common Navigator framework.
-
Uses of Item in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionstatic void
Utilities.setMenuImage
(Item item) Sets the menu image for the givenItem
. -
Uses of Item in org.eclipse.e4.ui.css.swt.dom
ModifierConstructorDescriptionCTabItemElement
(Item item, CSSEngine engine) ItemElement
(Item item, CSSEngine engine) -
Uses of Item in org.eclipse.e4.ui.css.swt.helpers
Modifier and TypeMethodDescriptionstatic void
CSSSWTImageHelper.restoreDefaultImage
(Item item) static void
CSSSWTImageHelper.storeDefaultImage
(Item item) -
Uses of Item in org.eclipse.e4.ui.css.swt.properties.custom
Modifier and TypeMethodDescriptionstatic Item[]
static Item
CTabETabHelper.getSelection
(Widget widget) Modifier and TypeMethodDescriptionstatic void
CTabETabHelper.setShowClose
(Item item, boolean bool) -
Uses of Item in org.eclipse.jface.action
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionprotected 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
Get the child for the widget at index.protected Item
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
This implementation ofAbstractTreeViewer.getItemAt(Point)
returns null to ensure API backwards compatibility.protected abstract Item
Returns theItem
at the given widget-relative coordinates, ornull
if there is no item at the given coordinates.protected Item
protected Item
protected abstract Item[]
Returns the child items of the given SWT item.protected 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
Creates a new item.protected Item
AbstractTreeViewer.scrollDown
(int x, int y) Viewer.scrollDown
(int x, int y) Scrolls the viewer's control down by one item from the given display-relative coordinates.AbstractTreeViewer.scrollUp
(int x, int y) Viewer.scrollUp
(int x, int y) Scrolls the viewer's control up by one item from the given display-relative coordinates.Modifier and TypeMethodDescriptionprotected void
protected void
Associates the given element with the given widget.void
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
ColumnViewer.disassociate
(Item item) 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
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
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
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[]
Returns the child items of the given SWT item.protected 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
Position the editor inside the controlprotected void
protected void
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
Shows the given item.protected void
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) Modifier and TypeMethodDescriptionprotected 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.jface.widgets
Modifier and TypeClassDescriptionclass
AbstractItemFactory<F extends AbstractItemFactory<?,
?, ?>, I extends Item, P extends Widget> Abstract factory for items. -
Uses of Item in org.eclipse.swt.custom
Modifier and TypeClassDescriptionclass
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
Modifier and TypeClassDescriptionclass
Instances of this class are selectable user interface objects that represent the dynamically positionable areas of aCoolBar
.class
Instances of this class represent a selectable user interface object that represents a expandable item in a expand bar.class
Instances of this class represent a selectable user interface object that issues notification when pressed and released.class
Instances of this class represent a selectable user interface object corresponding to a tab for a page in a tab folder.class
Instances of this class represent a column in a table widget.class
Instances of this class represent a selectable user interface object that represents an item in a table.class
Instances of this class represent a task item.class
Instances of this class represent a selectable user interface object that represents a button in a tool bar.class
Instances of this class represent icons that can be placed on the system tray or task bar status area.class
Instances of this class represent a column in a tree widget.class
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
Modifier and TypeMethodDescriptionprotected void
ContainerCheckedTreeViewer.setExpanded
(Item item, boolean expand)