Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » selection in I20030116
selection in I20030116 [message #55820] Fri, 17 January 2003 22:09 Go to next message
Kirill Paliy is currently offline Kirill PaliyFriend
Messages: 25
Registered: July 2009
Junior Member
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 22:54 Go to previous messageGo to next message
Eric Bordeau is currently offline Eric BordeauFriend
Messages: 259
Registered: July 2009
Senior Member
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 07:50 Go to previous messageGo to next message
Kirill Paliy is currently offline Kirill PaliyFriend
Messages: 25
Registered: July 2009
Junior Member
"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 14:10 Go to previous message
Kirill Paliy is currently offline Kirill PaliyFriend
Messages: 25
Registered: July 2009
Junior Member
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: Tue Jul 16 12:35:25 GMT 2024

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

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

Back to the top