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 13:14 Go to next message
Eclipse User
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 06:45 Go to previous message
Nicoara Mihai is currently offline Nicoara Mihai
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: Thu Aug 28 03:28:18 EDT 2014

Powered by FUDForum. Page generated in 0.01889 seconds