02_Eclipse_RCP(二)(快速入门).pptVIP

  • 2
  • 0
  • 约6.99千字
  • 约 43页
  • 2017-02-27 发布于湖北
  • 举报
周甫(zoofchow@) * 再次运行 在Overview中再次“Lanch an Eclipse application”,现在我们的浏览器能够工作了.(前提是要把tomcat运行起来,端口是8080) 周甫(zoofchow@) * 一点润饰:去掉EditorArea 在浏览器透视图下方会发现有一个空的视图区域, 这是EditorArea, 在 Perspective 类的 createInitialLayout 方法中添layout.setEditorAreaVisible(false); 把它隐藏掉. 现在 Perspective 类的代码变成了这个样子: layout.setEditorAreaVisible(false); layout.addView(SimpleView.ID, IPageLayout.TOP, IPageLayout.RATIO_MAX, IPageLayout.ID_EDITOR_AREA ); 周甫(zoofchow@) * 一点润饰:修改窗体标题 现在RCP打开的窗口的标题还是 ”Hello RCP” ,在ApplicationWorkbenchWindowAdvisor 类的preWindowOpen() 方法中修改它: public void preWindowOpen() { IWorkbenc

文档评论(0)

1亿VIP精品文档

相关文档