Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Editor Menu isEnabled
EMF Editor Menu isEnabled [message #922639] Tue, 25 September 2012 03:38 Go to next message
Dominik Muttenthaler is currently offline Dominik Muttenthaler
Messages: 5
Registered: August 2012
Junior Member
I'm not sure whether this question is EMF specific, but here is the deal:

When using the EMF Editor (in this case a customized one) I have a little problem with the menu. As long as the editor is focused everything is fine. But when I edit something in the properties view and then open the editors menu (without focusing the editor in between) all menuitems are disabled.

It makes sense when thinking of multible editors are opened. Still i want to ask if there is a way to always enable some menuitems (as long as there is at least one editor opened)?
Re: EMF Editor Menu isEnabled [message #922652 is a reply to message #922639] Tue, 25 September 2012 03:47 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26000
Registered: July 2009
Senior Member
No, each editor contributes its own menu and Eclipse disables that menu
when the editor doesn't have focus.

On 25/09/2012 9:39 AM, Dominik Muttenthaler wrote:
> I'm not sure whether this question is EMF specific, but here is the deal:
>
> When using the EMF Editor (in this case a customized one) I have a
> little problem with the menu. As long as the editor is focused
> everything is fine. But when I edit something in the properties view
> and then open the editors menu (without focusing the editor in
> between) all menuitems are disabled.
>
> It makes sense when thinking of multible editors are opened. Still i
> want to ask if there is a way to always enable some menuitems (as long
> as there is at least one editor opened)?
Previous Topic:NoClassDefFoundError on AggregateProxyPackage
Next Topic:Before executing AddCommand check for duplicate EKey or run validation
Goto Forum:
  


Current Time: Fri Aug 22 13:43:52 EDT 2014

Powered by FUDForum. Page generated in 0.03040 seconds