|
Re: How to select a cell in a SWT table [message #438331 is a reply to message #438324] |
Tue, 22 June 2004 12:23 |
Eclipse User |
|
|
|
Originally posted by: ihazan.cablemx.com
In my apllication i defined a TableViewer and it is the default behavior.
Following is the code of the creation:
Table table = new Table(composite, SWT.BORDER | SWT.V_SCROLL |
SWT.H_SCROLL );
table.setLayoutData(new GridData(GridData.FILL_HORIZONTAL |
GridData.FILL_VERTICAL));
m_tableViewer = new TableViewer(table);
m_tableViewer.setContentProvider(new CMX_TableContentProvider());
m_tableViewer.setLabelProvider(new CMX_TableLabelProvider());
TableColumn column = new TableColumn(table, SWT.LEFT);
column.setText(CMX_EMSConfig.getProperty("com.cmx.ems.view_pane.attribute "))
;
column.setWidth(160);
TableColumn value_column =
new TableColumn(table, SWT.LEFT);
value_column.setText(CMX_EMSConfig.getProperty("com.cmx.ems.view_pane.value "
));
value_column.setWidth(160);
table.setHeaderVisible(true);
"Nicolas" <nicolas.buttin@eurobios.com> wrote in message
news:cb8rd6$9d5$1@eclipse.org...
> Is it possible to only select a cell instead of a row in a SWT Table ?
> How can I do this ?
>
>
> Nicolas
>
>
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03792 seconds