<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    沙漠中的魚

    欲上天堂,先下地獄
    posts - 0, comments - 56, trackbacks - 0, articles - 119
      BlogJava :: 首頁 ::  :: 聯系 :: 聚合  :: 管理

    RCP視圖顯示位置設置

    Posted on 2012-03-12 14:25 沙漠中的魚 閱讀(547) 評論(0)  編輯  收藏 所屬分類: RCP開發
    在RCP有時候需要將視圖放在一邊,分上下顯示,但是在RCP沒有RIGHT_TOP和RIGHT_BOTTOM這樣的方位設置,我們可以通過添加視圖的關聯ID設置相對位置。如下代碼addView方法,createFolder也相同
        /**
         * Adds a view with the given compound id to this page layout.
         * See the {
    @link IPageLayout} type documentation for more details about compound ids.
         * The primary id must name a view contributed to the workbench's view extension point 
         * (named <code>"org.eclipse.ui.views"</code>).
         *
         * 
    @param viewId the compound view id
         * 
    @param relationship the position relative to the reference part;
         *  one of <code>TOP</code>, <code>BOTTOM</code>, <code>LEFT</code>,
         *  or <code>RIGHT</code>
         * 
    @param ratio a ratio specifying how to divide the space currently occupied by the reference part,
         *    in the range <code>0.05f</code> to <code>0.95f</code>.
         *    Values outside this range will be clipped to facilitate direct manipulation.
         *    For a vertical split, the part on top gets the specified ratio of the current space
         *    and the part on bottom gets the rest.
         *    Likewise, for a horizontal split, the part at left gets the specified ratio of the current space
         *    and the part at right gets the rest.
         * 
    @param refId the id of the reference part; either a view id, a folder id,
         *   or the special editor area id returned by <code>getEditorArea</code>
         
    */
        
    public void addView(String viewId, int relationship, float ratio,
                String refId);
    主站蜘蛛池模板: 亚洲av无码兔费综合| 亚洲午夜福利在线视频| 91国内免费在线视频| 国产日产亚洲系列| 最近免费中文字幕中文高清| 亚洲伊人成无码综合网| av片在线观看永久免费| 亚洲香蕉成人AV网站在线观看| 久久高潮一级毛片免费| 亚洲成AV人片在线播放无码| 亚洲免费精彩视频在线观看| 亚洲成人网在线播放| 99精品全国免费观看视频| 亚洲av无码一区二区三区四区| 免费人妻无码不卡中文字幕18禁| 免费又黄又爽又猛大片午夜| 久久亚洲国产午夜精品理论片| 91在线手机精品免费观看| 亚洲娇小性xxxx| 亚洲成AV人网址| 午夜精品免费在线观看| 亚洲永久在线观看| 成人伊人亚洲人综合网站222| 国产又黄又爽又大的免费视频| 亚洲视频一区在线观看| 在线免费观看一级毛片| eeuss影院免费92242部| 亚洲高清在线mv| 在线永久免费观看黄网站| 日本免费A级毛一片| 亚洲一区二区三区无码国产| 免费国产不卡午夜福在线| 久久午夜免费鲁丝片| 亚洲人片在线观看天堂无码| 中文字幕日韩亚洲| 国产四虎免费精品视频| 一级毛片免费视频网站| 亚洲中文久久精品无码1| 亚洲精品色婷婷在线影院| 1区2区3区产品乱码免费| 真人无码作爱免费视频|