读书人

怎么通过代码打开eclipse透视图(或者A

发布时间: 2012-07-23 09:42:19 作者: rapoo

如何通过代码打开eclipse透视图(或者Application)
RT,求救~~~

[解决办法]
http://blog.sina.com.cn/s/blog_6a1928130100l181.html
参考下
[解决办法]
参考

org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(String perspectiveId, IWorkbenchWindow activeWorkbenchWindow) throws ExecutionException

直接 void org.eclipse.ui.IWorkbenchPage.setPerspective(IPerspectiveDescriptor perspective)

读书人网 >Eclipse开发

热点推荐