<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);
    主站蜘蛛池模板: 一区二区三区在线免费观看视频| 黄在线观看www免费看| 天黑黑影院在线观看视频高清免费| 成全视成人免费观看在线看| 国产jizzjizz免费视频| 亚洲高清中文字幕综合网| 久久久久成人精品免费播放动漫| 麻豆高清免费国产一区| 亚洲免费在线视频| 99国产精品免费观看视频| 亚洲日本在线看片| 69免费视频大片| 国产亚洲sss在线播放| 最近高清国语中文在线观看免费| 亚洲视频在线免费| 久久免费视频一区| 亚洲AV无码专区电影在线观看| 亚洲欧美综合精品成人导航| 妞干网在线免费观看| 亚洲国产日韩a在线播放| 日本媚薬痉挛在线观看免费| 婷婷久久久亚洲欧洲日产国码AV| 亚洲精品无码av片| 又大又粗又爽a级毛片免费看| 亚洲成a人片在线观看播放| 无码人妻一区二区三区免费| 亚洲乱码国产乱码精华| 中文字幕乱码免费视频| 亚洲综合无码无在线观看| 91久久精品国产免费一区| 亚洲国产激情在线一区| 久久综合国产乱子伦精品免费| 亚洲精品无码激情AV| 国产免费久久久久久无码| 无码专区—VA亚洲V天堂| 成年轻人网站色免费看| 日韩精品无码永久免费网站| 亚洲日本在线观看| 久久精品免费视频观看| 91麻豆精品国产自产在线观看亚洲| 亚洲国产成人精品无码区花野真一 |