zoukankan      html  css  js  c++  java
  • rcp perspective 添加9个视图均匀排列

    PageLayout布局方法

    pageLayout.addView("NodePMTSStream" + ":1", IPageLayout.TOP, 0.5f,
    editorArea);
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":2", IPageLayout.RIGHT,
    0.33f, "NodePMTSStream" + ":1");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":3", IPageLayout.RIGHT,
    0.5f, "NodePMTSStream" + ":2");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":4", IPageLayout.BOTTOM,
    0.33f, "NodePMTSStream" + ":1");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":5", IPageLayout.BOTTOM,
    0.33f, "NodePMTSStream" + ":2");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":6", IPageLayout.BOTTOM,
    0.33f, "NodePMTSStream" + ":3");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":7", IPageLayout.BOTTOM,
    0.5f, "NodePMTSStream" + ":4");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":8", IPageLayout.BOTTOM,
    0.5f, "NodePMTSStream" + ":5");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

    pageLayout.addView("NodePMTSStream" + ":9", IPageLayout.BOTTOM,
    0.5f, "NodePMTSStream" + ":6");
    pageLayout.getViewLayout("NodePMTSStream").setCloseable(false);

  • 相关阅读:
    struts 中 s:iterator 使用注意事项
    redmine 2.5.2 安装后邮件无法发送
    yum提示another app is currently holding the yum lock;waiting for it to exit
    UVA 11809 Floating-Point Numbers
    UVA 1587 Box
    UVA 1583 Digit Generator
    UVA 340 Master-Mind Hints
    UVA 401 Palindromes
    UVA 11175 From D to E and Back
    洛谷P3916 图的遍历
  • 原文地址:https://www.cnblogs.com/cupsuccess/p/3746283.html
Copyright © 2011-2022 走看看