Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Questions about TableEditingSupport
Questions about TableEditingSupport [message #135028] Fri, 05 June 2009 10:33 Go to next message
Eclipse UserFriend
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 #135204 is a reply to message #135028] Fri, 05 June 2009 16:55 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
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
Re: Questions about TableEditingSupport [message #135380 is a reply to message #135204] Mon, 08 June 2009 08:04 Go to previous message
Eclipse UserFriend
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
Previous Topic:Disable save resource question when closing editor
Next Topic:help_home in RAP
Goto Forum:
  


Current Time: Thu Apr 25 17:55:56 GMT 2024

Powered by FUDForum. Page generated in 5.03882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top