[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: JFace Table Viewer Editor

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#Snippet019TableViewerAddRemoveColumnsWithEditingNewAPI)

Hope this helps,
Eric