锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲一区二区三区深夜天堂,亚洲国产精品线观看不卡,精品无码专区亚洲http://www.tkk7.com/eagle-daiq/category/40091.htmlzh-cnThu, 18 Jun 2009 08:51:22 GMTThu, 18 Jun 2009 08:51:22 GMT60RCP 甯歌闂瀛︿範鎬葷粨http://www.tkk7.com/eagle-daiq/articles/280276.html鏈堜笅瀛ゅ煄鏈堜笅瀛ゅ煄Fri, 05 Jun 2009 13:54:00 GMThttp://www.tkk7.com/eagle-daiq/articles/280276.htmlhttp://www.tkk7.com/eagle-daiq/comments/280276.htmlhttp://www.tkk7.com/eagle-daiq/articles/280276.html#Feedback0http://www.tkk7.com/eagle-daiq/comments/commentRss/280276.htmlhttp://www.tkk7.com/eagle-daiq/services/trackbacks/280276.html緗戠珯鎺ㄨ崘錛?br /> 1.涓涓猨ava鏂歸潰鐨勫崥瀹紝閲岄潰鏈夊緢澶歟clipse鐨勭瑪璁?
http://liugang594.javaeye.com/category/24822
http://wokanxing.info/2007/05/undo-support-in-rcp/(user:eagle00001)

涓銆丒clipse Product瀵煎嚭浜у搧鍙戠敓涓枃涔辯爜瑙e喅鏂規硶錛?br />     鍦╞uild.properties鏂囦歡涓姞涓?#8220;javacDefaultEncoding..=UTF-8”銆?/p>

浜屻佽rcp寮鍙戠殑浜у搧鎴栨彃浠跺湪姣忔鍚姩紼嬪簭鏃朵繚鎸佹渶鍚庨鍑虹姸鎬侊紝濡備綍瀹炵幇?
    鍦ˋpplicationWorkbenchAdvisor.class綾諱腑閲嶆瀯
    public void initialize(IWorkbenchConfigurer configurer) {
                ...
                //浠ヤ笅鏄柊澧炰唬鐮?br />                 //鏄惁淇濆瓨鏈鍚庣▼搴忕獥鍙g姸鎬?br />                 configurer.setSaveAndRestore(true);
                ...
      }

    涓夈丒clispe Application鏍峰紡璁劇疆(鍨冨溇鍥炴敹鍣ㄦ樉紺恒佺壒鏁堟晥鏋溿乼ab欏甸潰嫻佺嚎鏄劇ず)?
           
        鍦ˋpplicationWorkbenchAdvisor涓坊鍔?/p>

            public void initialize(IWorkbenchConfigurer configurer) {
           
                 IPreferenceStore preStore = PlatformUI.getPreferenceStore();
                //鏄劇ず鐗規晥
                //preStore.setDefault(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS, true);
                //涓嶆樉紺轟紶緇焧ab鏍峰紡
                preStore.setDefault(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS,                                         false);
                //鍦ㄧ姸鎬佹爮鏄惁鏄劇ず鍨冨溇鍥炴敹鍣ㄥ姛鑳?br />                 preStore.setDefault(IWorkbenchPreferenceConstants.SHOW_MEMORY_MONITOR, true);
            }

 鍥涖?涓篈ction娣誨姞Command鍛戒護銆佸湪Command鍛戒護binding蹇嵎閿佸茍鍦≒referencePage緋葷粺灞炴т腑緇熶竴璁劇疆Command鍜?nbsp;               Key鐨勬槧灝勩?nbsp;
               
           plugin.xml鏂囦歡璁劇疆Section濡備笅鎵紺猴細

     //澹版槑搴旂敤'棣栭夐」'閰嶇疆欏甸潰
     <extension
         point="org.eclipse.ui.preferencePages">
        //棣栭夐」涓鑸郴緇熷弬鏁拌緗?br />       <page
            class="rcpdemo.preferences.GeneralPreferencePage"
            id="rcpdemo.preferences.GeneralPreferencePage"
            name="General">
      </page>
        //鍦ㄩ閫夐」欏甸潰涓坊鍔犲簲鐢ㄥ叏灞Action蹇嵎閿緗〉闈?br />       <page
            class="org.eclipse.ui.internal.keys.NewKeysPreferencePage"
            id="rcpdemo.preferences.keys"
            name="Keys"/>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer
            class="rcpdemo.preferences.PreferenceInitializer">
      </initializer>
   </extension>
    //澹版槑action鍛戒護   
   <extension
         point="org.eclipse.ui.commands">
        //鍛戒護鍒嗙被鐩綍澹版槑
      <category
            description="Generic Commands Category"
            id="rcpdemo.genericCmdCategory"
            name="甯哥敤鍛戒護鐩綍"/>
        /**鍛戒護澹版槑:id瀵瑰簲鐩稿簲Action綾諱腑鐨勫敮涓鏍囧織id.
         * 娉ㄦ剰錛氶氳繃鏄犲皠浜唊ey鐨凙ction鍦ˋpplicationActionBarAdvisor.java涓殑makeActions鏂?nbsp;
         * 娉曚腑涓瀹氳閫氳繃register鏂規硶娉ㄥ唽璇ction.
        */      
      <command
            categoryId="rcpdemo.genericCmdCategory"
            description="CustomerViewActionCommand"
            id="rcpdemo.actions.CustomerViewAction"
            name="瀹㈡埛瑙嗗浘鍛戒護"/>
        //key緇戝畾commandId鎸囧畾鐨凜ommand.keySequence鎸囧畾鍛戒護蹇嵎閿?鍏朵腑
        //M鏄閿洏鍔熻兘閿法緋葷粺騫沖彴鐨勯氱敤澶勭悊(M1錛欳trl;M2: Shift;M3:Alt).
      <keyBinding
            commandId="rcpdemo.actions.CustomerViewAction"
            keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration"
            keySequence="M1+M2+A"/>  
      <keyBinding
            commandId="org.eclipse.ui.file.exit"
            keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration"
            keySequence="M1+Q"/>        
   </extension>

   
 浜斻丷CP涓竴浜涘彲閲嶇敤鐨凙ctions銆乸ages銆乿iews銆?br />        
       1.閲嶇敤鐨凙ctions鍙湪ActionFactory綾諱腑鎵懼埌銆?br />        2.閲嶇敤鐨刾ages銆乿iews鍙湪ExtensionFactory綾諱腑鎵懼埌銆?br />         <extension point="org.eclipse.ui.views">
          <view
               class="org.eclipse.ui.ExtensionFactory:progressView"
               icon="icons/progress.gif"
               id="org.eclipsercp.hyperbola.views.progress"
               name="Progress"/>
        </extension>
        浠ヤ笂鏄湪plug-in.xml涓紩鐢ㄧ殑閰嶇疆淇℃伅銆傚叾涓璿iew鑺傜偣鐨刢lass灞炴?
        "org.eclipse.ui.ExtensionFactory:progressView"
        -----'org.eclipse.ui.ExtensionFactory':ExtensionFactory綾昏礬寰勩?br />         -----'progressView':ExtensionFactory綾諱腑瀵瑰簲闈欐佺啛鎮夊紁ropressView.



]]>
主站蜘蛛池模板: 亚洲日韩v无码中文字幕| 最新69国产成人精品免费视频动漫| 全黄性性激高免费视频| 亚洲妇女无套内射精| AV免费网址在线观看| 亚洲一区二区三区精品视频| 91高清免费国产自产拍2021| 亚洲精品在线观看视频| 日本视频在线观看永久免费| 亚洲AV无码AV男人的天堂| 久久久久成人片免费观看蜜芽 | 亚洲欧洲自拍拍偷综合| 182tv免费视视频线路一二三 | 免费人妻av无码专区| 无遮挡a级毛片免费看| 国产综合精品久久亚洲| 免费精品99久久国产综合精品| 亚洲av午夜成人片精品网站| 久久精品毛片免费观看| 亚洲精品福利你懂| 成人免费无码精品国产电影| 免费人妻精品一区二区三区| 亚洲日韩精品A∨片无码| 国产精品免费观看| 日韩色日韩视频亚洲网站 | 亚洲精品熟女国产| 青青青国产在线观看免费网站 | 亚洲综合久久1区2区3区| 国产成人A在线观看视频免费| jzzijzzij在线观看亚洲熟妇| 国内精品久久久久久久亚洲| 久久久久久毛片免费播放| 亚洲国色天香视频| 国产小视频免费观看| 日韩精品无码免费专区网站| 亚洲女人影院想要爱| 亚洲第一黄色网址| 亚洲精品视频在线免费| 特黄aa级毛片免费视频播放| 亚洲日本va午夜中文字幕一区| 成年女人免费v片|