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

  • 相关阅读:
    批量管理增量日志(seek、tell)
    字符串和编码
    5.activiti--完成任务
    4.activiti--代理任务Claiming the task
    3.activiti--待办任务
    2.activiti-启动流程实例
    1.activiti-流程图
    html 各种高度
    redis-过期时间、访问限制与缓存
    spring mvc controller 接收参数
  • 原文地址:https://www.cnblogs.com/cupsuccess/p/3746283.html
Copyright © 2011-2022 走看看