Skip to main content



      Home
Home » Eclipse Projects » GEF » selection in I20030116
selection in I20030116 [message #55820] Fri, 17 January 2003 17:09 Go to next message
Eclipse UserFriend
It looks like GraphicalEditor.selectionChanged is not called in latest
build, or there were some changes in behaviour I missed. My app is working
fine under previous build (20021218) but in latest one DeleteAction always
has selection == null. Any ideas/hints/references to manual or sources will
be highly appreciated :)

--
WBR Kir
Re: selection in I20030116 [message #55929 is a reply to message #55820] Fri, 17 January 2003 17:54 Go to previous messageGo to next message
Eclipse UserFriend
That was a bug. The method initializeActions() was being called from
GraphicalEditor.createPartControl(). But GraphicalEditorWithPalette.createPartControl() wasn't
calling this method. I just fixed it and released the change into CVS.

Eric


Kirill Paliy wrote:
> It looks like GraphicalEditor.selectionChanged is not called in latest
> build, or there were some changes in behaviour I missed. My app is working
> fine under previous build (20021218) but in latest one DeleteAction always
> has selection == null. Any ideas/hints/references to manual or sources will
> be highly appreciated :)
>
> --
> WBR Kir
>
>
Re: selection in I20030116 [message #55981 is a reply to message #55929] Sat, 18 January 2003 02:50 Go to previous messageGo to next message
Eclipse UserFriend
"Eric Bordeau" <ebordeau@us.ibm.com> ???????/???????? ? ???????? ?????????:
news:b0a0i7$mtb$2@rogue.oti.com...
> That was a bug. The method initializeActions() was being called from
> GraphicalEditor.createPartControl(). But
GraphicalEditorWithPalette.createPartControl() wasn't
> calling this method. I just fixed it and released the change into CVS.

Many thanks for feedback, but unfortunately it didn't help much - after
checking out from CVS selection still was null. I managed to get it working
by calling GraphicalEdit.init in my subclass init(), but I'm not sure that
this is desired behaviour - it was working without this in previous version
:-\
Re: selection in I20030116 [message #56190 is a reply to message #55929] Sun, 19 January 2003 09:10 Go to previous message
Eclipse UserFriend
There is another issue with actions - currently configureGraphicalViewer is
called _before_ initializeActions, so if one wants to install keyboard
shortcuts there (as it's done in Logic example), they will not work. Please
let us know if you don't plan to return old behaviour back.

"Eric Bordeau" <ebordeau@us.ibm.com> ???????/???????? ? ???????? ?????????:
news:b0a0i7$mtb$2@rogue.oti.com...
> That was a bug. The method initializeActions() was being called from
> GraphicalEditor.createPartControl(). But
GraphicalEditorWithPalette.createPartControl() wasn't
> calling this method. I just fixed it and released the change into CVS.
>
> Eric
>
>
> Kirill Paliy wrote:
> > It looks like GraphicalEditor.selectionChanged is not called in latest
> > build, or there were some changes in behaviour I missed. My app is
working
> > fine under previous build (20021218) but in latest one DeleteAction
always
> > has selection == null. Any ideas/hints/references to manual or sources
will
> > be highly appreciated :)
> >
> > --
> > WBR Kir
> >
> >
>
Previous Topic:Make Label to have several editable parts?
Next Topic:Direct Edit in GEF
Goto Forum:
  


Current Time: Sun May 04 19:18:32 EDT 2025

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

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

Back to the top