[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: menu accelerator question
|
I don't have an answer to this question, but I can confirm that the
problem is not unique to your environment. Just a couple of days ago I
encountered the same situation. I have a multi-page editor with a
"custom" editor on one page (a mix of different widgets) and a
TextEditor-based component (Colorer plugin editor) on another page. When
I invoke Ctrl-C, it always dispatches to the TextEditor, even if I am in a
text widget on a different page of the multi-page editor.
Additionally, I have noticed that the Cut/Copy/Paste/Undo/Redo actions for
the TextEditor are not enabled in the Edit menu, despite the fact that the
actions exist and are bound to accelerators. I don't know if you ran into
this or not.
I'll be investigating this off and on over the next couple of weeks, so
I'll let you know if I find anything. I hope you'll do the same if you
are able to make any progress.
Good luck,
-Greg
Ron wrote:
> Hi All,
> I have a multi-page editor with two pages. One page/tab holds a Graph
> editor, derived from GEF's GraphicalEditorWithPalette, and the other is an
> unmodified TextEditor.
> I have implemented Cut, Copy and Paste Action/Command combinations for the
> Graph editor. I have made the necessary changes so that these actions are
> successfully and correctly invoked when one selects the corresponding menu
> item with the mouse.
> However, when an 'accelerator' key (e.g., Ctrl-C for Copy) is typed, the
> event is dispatched to the TextEditor - even when the Graph editor is
> active!
> Any thoughts on how I can fix this would be greatly appreciated.
> thanks,
> Ron