Package | Description |
---|---|
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 |
TreeViewer.getChild(Widget widget,
int index) |
protected Item |
TableTreeViewer.getChild(Widget widget,
int index) |
protected Item |
AbstractTreeViewer.getChild(Widget widget,
int index)
Get the child for the widget at index.
|
protected Item[] |
TreeViewer.getChildren(Widget o) |
protected Item[] |
TableTreeViewer.getChildren(Widget o) |
protected abstract Item[] |
AbstractTreeViewer.getChildren(Widget widget)
Returns the SWT child items for the given SWT widget.
|
protected Item |
TreeViewer.getItem(int x,
int y) |
protected Item |
StructuredViewer.getItem(int x,
int y)
Returns the item at the given display-relative coordinates, or
null if there is no item at that location. |
protected Item |
TableTreeViewer.getItem(int x,
int y) |
protected Item[] |
TreeViewer.getItems(Item item) |
protected Item[] |
TableTreeViewer.getItems(Item item) |
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) |
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 Item[] |
TreeViewer.getSelection(Control widget) |
protected Item[] |
TableTreeViewer.getSelection(Control widget) |
protected abstract Item[] |
AbstractTreeViewer.getSelection(Control control)
Returns all selected items for the given SWT control.
|
protected Item |
TreeViewer.newItem(Widget parent,
int flags,
int ix) |
protected Item |
TableTreeViewer.newItem(Widget parent,
int flags,
int ix) |
protected abstract Item |
AbstractTreeViewer.newItem(Widget parent,
int style,
int index)
Creates a new item.
|
Item |
Viewer.scrollDown(int x,
int y)
Scrolls the viewer's control down by one item from the given
display-relative coordinates.
|
Item |
AbstractTreeViewer.scrollDown(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.
|
Item |
AbstractTreeViewer.scrollUp(int x,
int y) |
Modifier and Type | Method and Description |
---|---|
protected void |
StructuredViewer.associate(Object element,
Item item)
Associates the given element with the given widget.
|
protected void |
AbstractTreeViewer.associate(Object element,
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. |
protected void |
TreeViewer.doUpdateItem(Item item,
Object element) |
protected void |
TableTreeViewer.doUpdateItem(Item item,
Object element) |
protected abstract 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) |
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) |
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) |
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) |
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 |
TreeViewer.isSameSelection(List items,
Item[] current)
Returns
true if the given list and array of items refer to
the same model elements. |
protected void |
TreeViewer.setExpanded(Item node,
boolean expand) |
protected void |
TableTreeViewer.setExpanded(Item node,
boolean expand) |
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) |
protected abstract void |
AbstractTreeViewer.showItem(Item item)
Shows the given item.
|
protected void |
AbstractTreeViewer.updatePlus(Item item,
Object element)
Updates the "+"/"-" icon of the tree node from the given 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 |
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 |
---|---|
Rectangle |
CommonDropAdapter.getBounds(Item item) |
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.