Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » DirectEdit and FieldAssist
DirectEdit and FieldAssist [message #220601] Wed, 02 August 2006 16:16 Go to next message
Eclipse UserFriend
Originally posted by: Daniel.Rozeboom.cda.canon.com

Hi ya'll,

Has anyone tried to use GEF's DirectEdit functionality with a
DecoratedField for FieldAssist? I'm trying to do it and if my cell editor
creates control A, the control that is actually providing the editing
functionality, it works fine. However, when I wrap control A in a
DecoratedField as per the FieldAssist example, I lose some functionality in
the control (the cursor doesn't show up when the user performs editing,
namely). Anyone encounter this or have any ideas? Thanks much.
Re: DirectEdit and FieldAssist [message #220615 is a reply to message #220601] Wed, 02 August 2006 17:38 Go to previous message
Eclipse UserFriend
Originally posted by: Daniel.Rozeboom.cda.canon.com

A bit of an update - it turns out this isn't just a DecoratedField thing,
it's a control-in-a-parent thing. That is, when I am implementing my cell
editor, if I'm given parent C and I am creating control A, creating A with
the parent C is fine. But if I decide to create, say, a Composite B whose
parent is C, and then create A with the parent B, I run into the problems
mentioned. Anyone know why this might be? My guess is there is some direct
edit operation that gets performed to show the selection onscreen that
assumes A and C are directly referencing each other, but I can't figure out
what that might be. Thanks.

- Daniel

"Daniel Rozeboom" <Daniel.Rozeboom@cda.canon.com> wrote in message
news:eaqj4g$jvf$1@utils.eclipse.org...
> Hi ya'll,
>
> Has anyone tried to use GEF's DirectEdit functionality with a
> DecoratedField for FieldAssist? I'm trying to do it and if my cell editor
> creates control A, the control that is actually providing the editing
> functionality, it works fine. However, when I wrap control A in a
> DecoratedField as per the FieldAssist example, I lose some functionality
> in the control (the cursor doesn't show up when the user performs editing,
> namely). Anyone encounter this or have any ideas? Thanks much.
>
Previous Topic:Editparts, Figures and children
Next Topic:Print figure operation yields blank page
Goto Forum:
  


Current Time: Thu Apr 25 15:54:13 GMT 2024

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

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

Back to the top