Problems with shortcut keys in MultiPageEditorPart when a TextEditor is activated first [message #291615] |
Wed, 21 September 2005 03:30 |
Eclipse User |
|
|
|
Originally posted by: wchen.macromedia.com
Hello,
I have a MultiPageEditor with two pages. One is a TextEditor and other is an
EditorPart. If the TextEditor is activated first when opening a document and
i switch to the other editor, certain global actions handlers don't get
remapped properly. I have a MultiPageEditorContributor that calls
setGlobalActionHandler and then updateActionBars. If I activate the other
editor first, then global action handlers are fine. One thing that I did
notice while debugging is that in the MutableCommandManager the command
handler for the "org.eclipse.ui.edit.delete" command is a
TextOperationAction if the TextEditor is activated first, while the command
handler when the second editor is activated is a RetargetAction. Is there a
way to force an update of the command handler mapping when I switch to the
graphical editor? Is there something else that I need to implement?
Thanks,
winsha
|
|
|
Powered by
FUDForum. Page generated in 0.12400 seconds