|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.ralfebert.rcputils.tables.TableViewerBuilder
public class TableViewerBuilder
A convenient builder class for creating TableViewers with support for nested properties, sorting and editing.
http://www.ralfebert.de/blog/eclipsercp/tableviewerbuilder/
Constructor Summary | |
---|---|
TableViewerBuilder(Composite parent)
Creates a new TableViewerBuilder with default SWT styles. |
|
TableViewerBuilder(Composite parent,
int style)
Creates a new TableViewerBuilder. |
Method Summary | |
---|---|
ColumnBuilder |
createColumn(java.lang.String columnHeaderText)
Creates a new ColumnBuilder that can be used to configure the table column. |
Table |
getTable()
Returns the SWT Table. |
TableViewer |
getTableViewer()
Returns the JFace TableViewer. |
void |
setInput(java.util.Collection<?> input)
Sets the given collection as input object and an ArrayContentProvider as content provider for the
TableViewer . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableViewerBuilder(Composite parent, int style)
public TableViewerBuilder(Composite parent)
Method Detail |
---|
public ColumnBuilder createColumn(java.lang.String columnHeaderText)
public void setInput(java.util.Collection<?> input)
ArrayContentProvider
as content provider for the
TableViewer
.
public TableViewer getTableViewer()
public Table getTable()
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |