开发者

Eclipse PDE: Open internal web browser in specific position

I want to open the Eclipse internal Web browser programmatically on the right side of the editor area, regardless of the open perspective.

I have no problem doing it in the main editor area, but when I open the browser as (or inside) a View, it is opened at the bottom position.

How do I do that? So far I tried: - PlatformUI.getWorkbench().getBrowserSupport().createBrowser - create a view and call ShowView - create a fast view开发者_运维问答 and open it using org.eclipse.ui.perspectiveExtensions but none of them gave me any control over the position. I don't want to create my own perspective, because the browser I want to add must not change the user's environment.

Thanks for your help, Yaron.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜