Skip to main content



      Home
Home » Eclipse Projects » JFace » How to stop cell editing in ColumnViewer?
How to stop cell editing in ColumnViewer? [message #780746] Thu, 19 January 2012 04:37 Go to next message
Eclipse UserFriend
I have a treeviewer, with three columns and I have enabled cell editing by using EditingSupport. There is a method "cancelEditing" in the TreeViewer (actually ColumnViewer) class, but what if I want to stop editing, that is close cell editor and apply editor value? The applyEditorValue method in the class ColumnViewerEditor is protected and therefore not usable, any reason why?

I am using Eclipse SDK 3.7.0 on Windows XP.

Thanks
Jan Rosczak
Re: How to stop cell editing in ColumnViewer? [message #871672 is a reply to message #780746] Mon, 14 May 2012 12:56 Go to previous messageGo to next message
Eclipse UserFriend
Hello Jan,
Did you find a solution for your problem? I have the same problem.
Re: How to stop cell editing in ColumnViewer? [message #889374 is a reply to message #871672] Tue, 19 June 2012 03:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi Roberto,

did you try to set focus on another control and then back to the columnViewer?
Re: How to stop cell editing in ColumnViewer? [message #889708 is a reply to message #889374] Tue, 19 June 2012 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jan,
I was trying to create a work around for an issue in Eclipse for MAC OS, but fortunately the original problem was already fixed in the platform, so I do not need to fix this any longer.
But if I face this problem in the future again, I will try your suggestion
Thank you.
Re: How to stop cell editing in ColumnViewer? [message #892347 is a reply to message #889708] Wed, 27 June 2012 16:30 Go to previous message
Eclipse UserFriend
If you using EditingSupport it supports the method "canEditing", here you have to return a false. It deactivates the editing.
Previous Topic:How to display a button in SWT tableviewer using LabelProvider/ContentProvider
Next Topic:Where/How can I post my improvement suggestion
Goto Forum:
  


Current Time: Sun Jul 27 18:17:55 EDT 2025

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

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

Back to the top