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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 of
Item 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 Item |
TableTreeViewer.getChild(Widget widget,
int index)
Deprecated.
|
protected abstract Item[] |
AbstractTreeViewer.getChildren(Widget widget)
Returns the SWT child items for the given SWT widget.
|
protected Item[] |
TreeViewer.getChildren(Widget o) |
protected Item[] |
TableTreeViewer.getChildren(Widget o)
Deprecated.
|
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 |
StructuredViewer.getItem(int x,
int y)
Deprecated.
This method is deprecated in 3.3 in favor of
ColumnViewer.getItemAt(org.eclipse.swt.graphics.Point) .
Viewers who are not subclasses of ColumnViewer should consider using a
widget relative implementation like ColumnViewer.getItemAt(org.eclipse.swt.graphics.Point) . |
protected Item |
ColumnViewer.getItem(int x,
int y) |
protected Item |
TableViewer.getItemAt(Point p) |
protected Item |
AbstractTreeViewer.getItemAt(Point point)
This implementation of
AbstractTreeViewer.getItemAt(Point) returns null to ensure
API backwards compatibility. |
protected abstract Item |
ColumnViewer.getItemAt(Point point)
Returns the
Item at the given widget-relative coordinates, or
null if there is no item at the given coordinates. |
protected Item |
TreeViewer.getItemAt(Point p) |
protected Item |
TableTreeViewer.getItemAt(Point p)
Deprecated.
|
protected abstract Item[] |
AbstractTreeViewer.getItems(Item item)
Returns the child items of the given SWT item.
|
protected Item[] |
TreeViewer.getItems(Item item) |
protected Item[] |
TableTreeViewer.getItems(Item item)
Deprecated.
|
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 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 |
TreeViewer.getParentItem(Item item) |
protected Item |
TableTreeViewer.getParentItem(Item item)
Deprecated.
|
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 abstract Item[] |
AbstractTreeViewer.getSelection(Control control)
Returns all selected items for the given SWT control.
|
protected Item[] |
TreeViewer.getSelection(Control widget) |
protected Item[] |
TableTreeViewer.getSelection(Control widget)
Deprecated.
|
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) |
protected Item |
TableTreeViewer.newItem(Widget parent,
int flags,
int ix)
Deprecated.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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 Item
|
protected void |
AbstractTreeViewer.associate(Object element,
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 associated
|
protected void |
AbstractTreeViewer.disassociate(Item item)
The
AbstractTreeViewer implementation of this method also
recurses over children of the corresponding element. |
protected 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 |
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 void |
TableTreeViewer.doUpdateItem(Item item,
Object element)
Deprecated.
|
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 boolean |
TableTreeViewer.getExpanded(Item item)
Deprecated.
|
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 int |
TableTreeViewer.getItemCount(Item item)
Deprecated.
|
protected abstract Item[] |
AbstractTreeViewer.getItems(Item item)
Returns the child items of the given SWT item.
|
protected Item[] |
TreeViewer.getItems(Item item) |
protected Item[] |
TableTreeViewer.getItems(Item item)
Deprecated.
|
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 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 |
TreeViewer.getParentItem(Item item) |
protected Item |
TableTreeViewer.getParentItem(Item item)
Deprecated.
|
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 abstract void |
ColumnViewerEditor.setEditor(Control w,
Item item,
int fColumnNumber)
Position the editor inside the control
|
protected void |
TreeViewerEditor.setEditor(Control w,
Item item,
int fColumnNumber) |
protected void |
TableViewerEditor.setEditor(Control w,
Item item,
int columnNumber) |
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 void |
TableTreeViewer.setExpanded(Item node,
boolean expand)
Deprecated.
|
protected abstract void |
AbstractTreeViewer.showItem(Item item)
Shows the given item.
|
protected void |
TreeViewer.showItem(Item item) |
protected void |
TableTreeViewer.showItem(Item item)
Deprecated.
|
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 Type | Class and Description |
---|---|
class |
CTabItem
Instances of this class represent a selectable user interface object
that represent a page in a notebook widget.
|
class |
TableTreeItem
Deprecated.
As of 3.1 use Tree, TreeItem and TreeColumn
|
Modifier and Type | Class and Description |
---|---|
class |
CoolItem
Instances of this class are selectable user interface
objects that represent the dynamically positionable
areas of a
CoolBar . |
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ContainerCheckedTreeViewer.setExpanded(Item item,
boolean expand) |
Modifier and Type | Method and 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.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.