Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Command handler and active dialog

HI Remy,

I filedĀ 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=356209

Thomas

2011/8/30 Remy Suen <remysuen@xxxxxxxxxx>

On Sun, Aug 28, 2011 at 3:52 AM, Thomas Kratz <eiswind@xxxxxxxxxxxxxx> wrote:
> I want to access the active Dialog from a KeyBinding Handler.
> I found that the HandlerUtil.getActiveShell gives me always the parent
> (Workbench) Shell.

Hi Thomas, I just tried this in 4.x and 3.x and 3.x seems to give the right shell when I use a keybinding in the 'Open Type' dialog. This must be a bug in the compatibility layer then.


> Thats the same when I manually register my Dialigs Shell
> with the IContextService.registerShell. (Wondering why?, don't understand
> what I'm doing wrong here).

This might be a separate bug.

Regards,
Remy

----------
Remy Suen
Eclipse Platform/UI Committer
IBM Ottawa
1-613-356-5162


_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev



Back to the top