Set RCP Application's default perspective

来源:互联网 发布:学党史知国史征文300字 编辑:程序博客网 时间:2024/05/18 15:23

在 ApplicationWorkbenchAdvisor类中修改其getInitialWindowPerspectiveId方法返回值:

设置其返回值为默认透视图的ID,如:

@Overridepublic String getInitialWindowPerspectiveId() {// set default perspectivereturn PerspectiveFactoryGIS.PERSPECTIVE_ID;}



原创粉丝点击