Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » dialogAndWindows and windows contexts problems
dialogAndWindows and windows contexts problems [message #277218] Mon, 06 December 2004 18:42 Go to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I'm trying to define CTRL+B to be BOLD when in the "graphicalText" scope,
which extends dialogAndWindows. However, CTRL+B is defined in the "window"
scope as being buildAll. But, the graphicalText context should win here
because the binding matches exactly the active Scope: "graphicalText". So
why do I get a warning message and disabled keybindings in this scenario?

My workaround is to have "graphicalText" extend the "windows" scope. But
this seems like it limits the use of the text function to the main workbench
window.
Re: dialogAndWindows and windows contexts problems [message #277358 is a reply to message #277218] Thu, 09 December 2004 11:20 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I need that "graphicalText" scope be a sub-scope of both dialog and window
scopes. But multiple parents aren't supported, so I must choose
inDialogAndWindows scope. The problem being that "inWindows" is considered
to be a sibling of "graphicalText", when really it should be one of its two
possible parents. The hierarchy seems inverted to me. We have inWindows
extends inDialogAndWindows instead of inDialogAndWindows extends both dialog
and windows scopes.

"Randy Hudson" <none@us.ibm.com> wrote in message
news:cp2qom$t2m$1@www.eclipse.org...
> I'm trying to define CTRL+B to be BOLD when in the "graphicalText" scope,
> which extends dialogAndWindows. However, CTRL+B is defined in the
"window"
> scope as being buildAll. But, the graphicalText context should win here
> because the binding matches exactly the active Scope: "graphicalText". So
> why do I get a warning message and disabled keybindings in this scenario?
>
> My workaround is to have "graphicalText" extend the "windows" scope. But
> this seems like it limits the use of the text function to the main
workbench
> window.
>
>
Previous Topic:CVS Error: Fetching children of Versions
Next Topic:Editor close
Goto Forum:
  


Current Time: Sat May 10 14:50:02 EDT 2025

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

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

Back to the top