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);

  • 相关阅读:
    Web测试与App测试的区别
    unittest参数化
    算法-python
    冒泡排序算法-python
    mysql基础知识
    Web自动化-浏览器驱动chromedriver安装方法
    Selenium-三种等待方式
    C++中进制转换问题
    C++11新特性,对象移动,右值引用,移动构造函数
    C++ 拷贝控制和资源管理,智能指针的简单实现
  • 原文地址:https://www.cnblogs.com/cupsuccess/p/3746283.html
Copyright © 2011-2022 走看看