|
|
|
|
Re: Direct Edit in GEF [message #58385 is a reply to message #56515] |
Mon, 27 January 2003 20:17 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: hudsonr.us.i_b_m.com
"yinglcs" <yinglcs@netscape.com> wrote in message
news:b0h4k8$1gs$1@rogue.oti.com...
> how should I implement my direct edit so that it pops up a shell when the
> label is doubled clicked?
>
> what classes I need to create? Do I need my own DriectEditrManager? but no
> cell editor?
Yes, I believe DirectEditManager is designed to work with a JFace CellEditor
only. If you want to popup a shell, create some other helper class,
probably a subclass of JFace's Dialog.
> Thanks.
>
> "Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
> news:b0f0qh$r0j$1@rogue.oti.com...
> > You're probably trying to access the CellEditor after the dialog is
> opened. DirectEditManager
> > commits the current cell editor value when it loses focus (like when
your
> dialog opens) and then the
> > cell editor is disposed. What is the dialog for? I'm not sure why
you'd
> need a cell editor if
> > you're going to open a dialog for editing.
> >
> > Eric
> >
> >
> > yinglcs wrote:
> > > Hi,
> > > I am trying to make Direct Edit of my figure to open a Dialog when
user
> > > clicks on the label.
> > > Is this possible? I am at a one where a Dialog (shell) does show up
but
> it
> > > disappears and it said "widget is disposed" in the direct edit
manager.
> > >
> > > Thanks for any feedback.
> > >
> > >
> > >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03212 seconds