Re: JFace Table Viewer Editor [message #332361] |
Mon, 20 October 2008 13:38 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 10/18/2008 6:30 PM, Jared Warren wrote:
> First off - I'm not sure if this is the right place for JFace questions.
> If it's not, please kindly tell me to shove off (and, if you can,
> point me in the right direction.)
JFace is a layer above SWT, so JFace questions are best posted to the
eclipse.platform newsgroup. I've copied that group to this thread.
More below...
> I have two different applications using the JFace TableViewer. In each
> case, after I've added my CellModifiers and I start trying to edit the
> contents of the cells, I have to click in the first column of a given
> row before I can click into other columns of the same row to edit. Is
> there a common "oopsie" that can cause this problem?
You are probably better off using the newer viewer-editing API
(org.eclipse.jface.viewers.EditingSupport). There are several examples
on the JFace snippets page,
http://wiki.eclipse.org/index.php/JFaceSnippets (for example,
http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet019Ta bleViewerAddRemoveColumnsWithEditingNewAPI)
Hope this helps,
Eric
|
|
|
Re: JFace Table Viewer Editor [message #332375 is a reply to message #332361] |
Mon, 20 October 2008 16:29 |
Jared Warren Messages: 1 Registered: July 2009 |
Junior Member |
|
|
Eric Rizzo wrote:
Both of you were correct....
I wasn't including SWT.FULL_SELECTION in the style (which fixed the bug),
and the new Editing framework does look like it would be a better option -
I'll be switching to it as I continue work.
Thanks,
jared
> On 10/18/2008 6:30 PM, Jared Warren wrote:
>> First off - I'm not sure if this is the right place for JFace questions.
>> If it's not, please kindly tell me to shove off (and, if you can,
>> point me in the right direction.)
> JFace is a layer above SWT, so JFace questions are best posted to the
> eclipse.platform newsgroup. I've copied that group to this thread.
> More below...
>> I have two different applications using the JFace TableViewer. In each
>> case, after I've added my CellModifiers and I start trying to edit the
>> contents of the cells, I have to click in the first column of a given
>> row before I can click into other columns of the same row to edit. Is
>> there a common "oopsie" that can cause this problem?
> You are probably better off using the newer viewer-editing API
> (org.eclipse.jface.viewers.EditingSupport). There are several examples
> on the JFace snippets page,
> http://wiki.eclipse.org/index.php/JFaceSnippets (for example,
>
http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet019Ta bleViewerAddRemoveColumnsWithEditingNewAPI)
> Hope this helps,
> Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03033 seconds