org.eclipse.emf.common.ui.viewer
Class ExtendedTableTreeViewer.ExtendedTableTreeItem
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Item
org.eclipse.swt.custom.TableTreeItem
org.eclipse.emf.common.ui.viewer.ExtendedTableTreeViewer.ExtendedTableTreeItem
- Enclosing class:
- ExtendedTableTreeViewer
public class ExtendedTableTreeViewer.ExtendedTableTreeItem
- extends TableTreeItem
Fields inherited from class org.eclipse.swt.widgets.Widget |
handle |
Methods inherited from class org.eclipse.swt.custom.TableTreeItem |
dispose, getBackground, getBounds, getChecked, getExpanded, getFont, getForeground, getGrayed, getImage, getImage, getItem, getItemCount, getItems, getParent, getParentItem, getText, indexOf, setBackground, setChecked, setExpanded, setFont, setForeground, setGrayed, setImage, setText |
Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
firstImage
protected Image firstImage
ExtendedTableTreeViewer.ExtendedTableTreeItem
public ExtendedTableTreeViewer.ExtendedTableTreeItem(TableTree parent,
int style)
ExtendedTableTreeViewer.ExtendedTableTreeItem
public ExtendedTableTreeViewer.ExtendedTableTreeItem(TableTree parent,
int style,
int index)
ExtendedTableTreeViewer.ExtendedTableTreeItem
public ExtendedTableTreeViewer.ExtendedTableTreeItem(TableTreeItem parent,
int style)
ExtendedTableTreeViewer.ExtendedTableTreeItem
public ExtendedTableTreeViewer.ExtendedTableTreeItem(TableTreeItem parent,
int style,
int index)
setText
public void setText(int index,
java.lang.String text)
- Overrides:
setText
in class TableTreeItem
getText
public java.lang.String getText(int index)
- Overrides:
getText
in class TableTreeItem
setImage
public void setImage(int index,
Image image)
- Overrides:
setImage
in class TableTreeItem
getFirstImage
public Image getFirstImage()
- Returns the additional first image, which would have been set
by setImage(..., 0).
getImagePaddingWidth
public int getImagePaddingWidth()
getImageBounds
public Rectangle getImageBounds(int column)
- This is equivalent to TableItem.getImageBounds(), except that it
gives corrected values on GTK.
See Bugzilla 42434.
getFirstImageBounds
public Rectangle getFirstImageBounds()
- Returns the bounds of the additional first image, which would have
been set by setImage(..., 0).
getTableItem
protected TableItem getTableItem()
- Returns the underlying TableItem.