Editor -> MultiPageEditor [message #157307] |
Mon, 08 November 2004 13:37  |
Eclipse User |
|
|
|
Originally posted by: nospam.gmx.net
Hello group!
After having embedded my GEF Editor into an MultipageEditorPart,
the SelectionActions are disabled, because getSelectedObjects() of
SelectionAction returns an empty List.
After some debugging, I found out, that
GraphicalEditor.selectionChanged(....) doesn
|
|
|
|
Re: Editor -> MultiPageEditor [message #157467 is a reply to message #157307] |
Tue, 09 November 2004 16:55  |
Eclipse User |
|
|
|
I ran into the same thing, but concluded that although
GraphicalEditor.selectionChanged(....) was in fact called, it didn't do
anything because its call to getActiveEditor() returned the wrong thing
thanks to Eclipse bug #71345. My work-around was to listen for SWT.Activate
and SWT.Deactivate in my editor and do what selectionChanged(....) was
doing.
Carl
This is a consequence of Eclipse bug #71345, which causes the call to
getActiveEditor() in
"Ingo Koch" <nospam@gmx.net> wrote in message
news:cmoecg$rpq$1@eclipse.org...
> Hello group!
>
> After having embedded my GEF Editor into an MultipageEditorPart,
> the SelectionActions are disabled, because getSelectedObjects() of
> SelectionAction returns an empty List.
>
> After some debugging, I found out, that
> GraphicalEditor.selectionChanged(....) doesn
|
|
|
Powered by
FUDForum. Page generated in 0.04652 seconds