Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Active Contexts and Pages in the MultiPageEditorPart
Active Contexts and Pages in the MultiPageEditorPart [message #332919] Thu, 13 November 2008 23:19 Go to next message
Nick Sandonato is currently offline Nick SandonatoFriend
Messages: 126
Registered: July 2009
Senior Member
I have two pages in a MultiPageEditorPart that share common keybindings,
but have different commands. When one page loads, all of its keybindings
work correctly. When I switch to the other page, and activate all of its
contexts, the keybindings work properly for that page's editor.

However, If I switch back to the first page, I get a bunch of keybinding
conflict messages in my log. Trying to execute a key sequence will
result in a small dialog opening asking me to pick which command to execute.

Am I missing something or will I have to manually deactivate all of the
contexts I've activated when switching pages in a MultiPageEditorPart?

Thanks,
Nick
Re: Active Contexts and Pages in the MultiPageEditorPart [message #333053 is a reply to message #332919] Fri, 21 November 2008 20:02 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

What version of eclipse are you on? How are you activating the context
for page 1? For page 2?

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Adding ContributionItem directly to Coolbar causes all Separators to be invisible.
Next Topic:Can a view be fast and sticky at the same time?
Goto Forum:
  


Current Time: Fri Aug 16 17:34:52 GMT 2024

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

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

Back to the top