|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.viewers.ViewerColumn
Instances of this class represent a column of a ColumnViewer
. Label
providers and editing support can be configured for each column separately.
Concrete subclasses of ColumnViewer
should implement a matching
concrete subclass of ViewerColumn
.
Constructor Summary | |
---|---|
protected |
ViewerColumn(ColumnViewer viewer,
Widget columnOwner)
Create a new instance of the receiver at columnIndex. |
Method Summary | |
---|---|
protected void |
handleDispose()
Disposes of the label provider (if set), unregisters the listener and nulls the references to the label provider and editing support. |
void |
setEditingSupport(EditingSupport editingSupport)
Set the editing support. |
void |
setLabelProvider(CellLabelProvider labelProvider)
Set the label provider for the column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ViewerColumn(ColumnViewer viewer, Widget columnOwner)
viewer
- the viewer the column is part ofcolumnOwner
- the widget owning the viewer in case the widget has no columns
this could be the widget itselfMethod Detail |
public void setLabelProvider(CellLabelProvider labelProvider)
labelProvider
- the new CellLabelProvider
public void setEditingSupport(EditingSupport editingSupport)
editingSupport
- The EditingSupport
to set.protected void handleDispose()
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.