Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problems with shortcut keys in MultiPageEditorPart when a TextEditor is activated first
Problems with shortcut keys in MultiPageEditorPart when a TextEditor is activated first [message #291615] Wed, 21 September 2005 03:30
Eclipse UserFriend
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
Previous Topic:Switching User While Running Eclipse
Next Topic:Plugin dev. problems
Goto Forum:
  


Current Time: Thu Sep 25 17:24:18 EDT 2025

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

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

Back to the top