|Re: show a view from a LaunchDelegate [message #451364 is a reply to message #441836]
||Sat, 01 August 2009 06:27
| Christoph HÃ¶ger
Registered: July 2009
Am 31.07.2009 13:32, schrieb Prakash G.R.:|
> Christoph Höger wrote:
>> after my launch delegate succeeded I would like to open a special view
>> that shows the output of the launch to the user. But I am not able to
>> get an active IWorkbenchwindow from "down there" (aka the launch()
>> method) is there any trick to do that?
> Probably the launch() method is from a class of debug core plugin. Did
> you try PlatformUI.getWorkbench().getActiveWindow()?
Yeah, that returned null. The trick is to run that via
Display.asyncExec(). Ugly - but works.
Powered by FUDForum
. Page generated in 0.02011 seconds