Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » default selection listener not called for 'Return' key in a text editor located in a dialog(default selection listener not called for 'Return' key in a text editor located in a dialog)
default selection listener not called for 'Return' key in a text editor located in a dialog [message #638242] Wed, 10 November 2010 15:51 Go to next message
Jamie  is currently offline Jamie Friend
Messages: 5
Registered: November 2010
Location: Canada
Junior Member
I have a TextCellEditor used in a EditingSupport which handles the editing in a TableViewer, and this TableViewer locates in a Dialog. The problem is, when I edited the cell in the table and then pressed 'Enter', the whole dialog was closed.

The correct behavior should be that the editor was deactivated. And the same code works well in RCP. So it is a problem in RAP.

With almost the same code, except that the TableViewer was moved from a dialog to a view, it worked with no problem, even in RAP.

I debug the code, and found that the TextCellEditor.handleDefaultSelection() was not called when the 'Enter' was pressed. While in RCP, or using a view in RAP, the method was called.

Does anyone have encountered and/or solved this problem, please advice? Thank you in advance.
Re: default selection listener not called for 'Return' key in a text editor located in a dialog [message #638249 is a reply to message #638242] Wed, 10 November 2010 16:21 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Jamie,
looks like a bug in RAP. Please file a bugzilla with a snippet to reproduce it.
Thanks,
Ivan
Re: default selection listener not called for 'Return' key in a text editor located in a dialog [message #638287 is a reply to message #638249] Wed, 10 November 2010 17:23 Go to previous message
Jamie  is currently offline Jamie Friend
Messages: 5
Registered: November 2010
Location: Canada
Junior Member
Bug filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=329926

Thanks.
Previous Topic:Web Project with RAP
Next Topic:Perspective Bar
Goto Forum:
  


Current Time: Fri Apr 19 14:32:52 GMT 2024

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

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

Back to the top