【问题标题】:Eclipse RCP - hiding the editorEclipse RCP - 隐藏编辑器
【发布时间】:2012-06-12 20:35:47
【问题描述】:

我关注Vogella RCP Tutorial 并创建了一个应用程序,如下所示:

“我的视图”已明确添加到透视图中。
下面的编辑器默认存在。

问题:

  • 如何禁用默认编辑器?
  • 上图中的工作台和透视图在哪里?

【问题讨论】:

    标签: editor eclipse-rcp


    【解决方案1】:

    在你看来

    public void createInitialLayout(IPageLayout layout) {
            this.layout = layout;
    
            String editorAreaId = layout.getEditorArea();
            layout.setEditorAreaVisible(false);
    }
    

    这应该禁用你的编辑器

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-13
      • 2023-04-11
      • 2018-07-17
      • 1970-01-01
      • 2018-04-22
      • 1970-01-01
      • 1970-01-01
      • 2012-08-25
      相关资源
      最近更新 更多