Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » e4 rcp focus on window (How to bring one of windows of my application to front (make it active/focus))
e4 rcp focus on window [message #940456] Thu, 11 October 2012 12:50 Go to previous message
Xiuang Lee is currently offline Xiuang Lee
Messages: 8
Registered: October 2012
Junior Member
I have to create multiwindowed e4 app. All my windows are collected in a map. I'm trying to focus on one of the windows programmaticaly:

MWindow window = windows.get("window number one");
EModelService service = window.getContext().get(EModelService.class);
service.bringToTop(window);


It does not help: nothing happens. Think, I missunderstand this method.

How to bring window to top, I mean - focus on this window/make it active?


Thanks in advance, Xiuang.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:NPE for typed command parameter
Next Topic:Re: Getting the Workbench in e4?
Goto Forum:
  


Current Time: Tue May 21 10:38:52 EDT 2013

Powered by FUDForum. Page generated in 0.01666 seconds