Questions about TableEditingSupport [message #135028] |
Fri, 05 June 2009 10:33  |
Eclipse User |
|
|
|
Originally posted by: bjoern.bjoernfischer.de
Hello Everybody,
I started using TableEditingSupport for editing data in a TableViewer.
My TableEditingSupport looks about like the one Lars Vogel uses in his
RCP tutorial:
http://www.vogella.de/articles/EclipseJFaceTable/article.htm l#jfaceeditor
Now I have several Questions:
1. Is the CheckboxCellEditor supposed to work in RAP? In my case I do
not see a Checkbox.
2. Is it possible to navigate cell-wise? I did not use
SWT.FULL_SELECTION, though I can only navigate row-wise with the arrow
keys. How can I navigate from a cell to neighbour cell with the keyboard?
3. Is it possible to navigate to the next lower cell (same column, next
row) when leaving a cell with <ENTER>? The same is for navigating to the
right neighbour cell when a cell is left with <TAB>. This would more be
user-friendly because everyone expects this (Excel-Like) behaviour.
I appreciate any hints and prposals to achieve the described behaviour.
Regards,
Björn
|
|
|
|
Re: Questions about TableEditingSupport [message #135380 is a reply to message #135204] |
Mon, 08 June 2009 08:04  |
Eclipse User |
|
|
|
Originally posted by: bjoern.bjoernfischer.de
Hi Rüdiger,
thanks for your answer. Phew, that seems to be quite a confusing topic.
But with the controls demo I think I can dig my way through it :-)
Regards,
Björn
Rüdiger Herrmann schrieb:
> Björn Fischer wrote:
>> Hello Everybody,
>> I started using TableEditingSupport for editing data in a TableViewer.
>> My TableEditingSupport looks about like the one Lars Vogel uses in his
>> RCP tutorial:
>> http://www.vogella.de/articles/EclipseJFaceTable/article.htm l#jfaceeditor
>>
>> Now I have several Questions:
>>
>> 1. Is the CheckboxCellEditor supposed to work in RAP? In my case I do
>> not see a Checkbox.
> The CheckboxCellEditor has no checkboxess in RCP either. Please read the
> JavaDoc.
>
>>
>> 2. Is it possible to navigate cell-wise? I did not use
>> SWT.FULL_SELECTION, though I can only navigate row-wise with the arrow
>> keys. How can I navigate from a cell to neighbour cell with the keyboard?
> Did you have a look at the code in the controls demo (class
> TableViewerTab)?
>
>>
>> 3. Is it possible to navigate to the next lower cell (same column, next
>> row) when leaving a cell with <ENTER>? The same is for navigating to the
>> right neighbour cell when a cell is left with <TAB>. This would more be
>> user-friendly because everyone expects this (Excel-Like) behaviour.
> A starting point could be TableViewerEditor#create(). A very basic
> example that makes use of this method can again be found in TableViewerTab.
>
>>
>> I appreciate any hints and prposals to achieve the described behaviour.
>>
>> Regards,
>> Björn
|
|
|
Powered by
FUDForum. Page generated in 0.01350 seconds