Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Direct edit with toolbar
Direct edit with toolbar [message #183435] Thu, 02 June 2005 17:14 Go to next message
Eclipse UserFriend
Originally posted by: freddie_nurke.hotmail.com

Hi folks,

I have implemented in-place text editing using a DirectEditManager and a
CellEditor containing the GEF text editor that's implemented in the
sample code. What I'd like to do now is enter edit mode, select a range
of text, and click a toolbar button to set a style (e.g. bold) on that
selection. The problem is that clicking the toolbar control causes the
CellEditor to immediately lose focus, exiting edit mode.

Obviously the CellEditor has to respond to lost focus in most situations
-- that's how the DirectEditManager commits changes. How can I get it
to selectively lose focus so I can click the "Big B" button or select a
font from a combo box?

Thanks,

Fred
Re: Direct edit with toolbar [message #775129 is a reply to message #183435] Thu, 05 January 2012 11:45 Go to previous message
Nicoara Mihai is currently offline Nicoara MihaiFriend
Messages: 1
Registered: January 2012
Junior Member
Any1 solved this ? I have the same problem now ...
Previous Topic:Eclipse does not close until GEF editor is closed
Next Topic:Anchor position question
Goto Forum:
  


Current Time: Tue Mar 19 05:18:20 GMT 2024

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

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

Back to the top