锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品无码人妻无码,国产av天堂亚洲国产av天堂,亚洲91av视频http://m.tkk7.com/nemo-zhp/category/5439.html鍙湁鐢樻効鍋氱敓媧諱腑鐨勫皬涓戯紝鎵嶄笉浼氳鐢熸椿鑵愯殌zh-cnThu, 28 Jun 2007 14:44:44 GMTThu, 28 Jun 2007 14:44:44 GMT60鍦‥clipse RCP涓嬌鐢≧esourceNavigatorhttp://m.tkk7.com/nemo-zhp/archive/2007/06/28/Eclipse-ResourceNavigator.htmlnemonemoWed, 27 Jun 2007 16:30:00 GMThttp://m.tkk7.com/nemo-zhp/archive/2007/06/28/Eclipse-ResourceNavigator.htmlhttp://m.tkk7.com/nemo-zhp/comments/126688.htmlhttp://m.tkk7.com/nemo-zhp/archive/2007/06/28/Eclipse-ResourceNavigator.html#Feedback0http://m.tkk7.com/nemo-zhp/comments/commentRss/126688.htmlhttp://m.tkk7.com/nemo-zhp/services/trackbacks/126688.html闃呰鍏ㄦ枃

nemo 2007-06-28 00:30 鍙戣〃璇勮
]]>
XMLMemento瀵硅薄鐨勭浉鍏沖垎鏋?/title><link>http://m.tkk7.com/nemo-zhp/archive/2007/04/26/Eclipse_XMLMemento.html</link><dc:creator>nemo</dc:creator><author>nemo</author><pubDate>Thu, 26 Apr 2007 10:00:00 GMT</pubDate><guid>http://m.tkk7.com/nemo-zhp/archive/2007/04/26/Eclipse_XMLMemento.html</guid><wfw:comment>http://m.tkk7.com/nemo-zhp/comments/113871.html</wfw:comment><comments>http://m.tkk7.com/nemo-zhp/archive/2007/04/26/Eclipse_XMLMemento.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/nemo-zhp/comments/commentRss/113871.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/nemo-zhp/services/trackbacks/113871.html</trackback:ping><description><![CDATA[     鎽樿: 1.鍒嗘瀽Eclipse瀹樻柟鍖呬腑XMLMemento綾伙紝浠嬬粛XMLMemento鐨勪嬌鐢紱 <br>2.鎻愬嚭Eclispe瀹樻柟鍙戝竷鐨刋MLMemento綾葷殑緙洪櫡涓庨檺鍒訛紱 <br>3.鎻愪緵瑙e喅榪欎簺緙洪櫡涓庨檺鍒剁殑鏂規硶錛屽茍鎸囧嚭XMLMemento綾葷殑浣跨敤鍦哄悎錛氫綔涓篨ML鏂囦歡瑙f瀽鍣紱鍒涘緩綾諱技DOM鐨勬枃浠舵ā鍨嬨?nbsp; <a href='http://m.tkk7.com/nemo-zhp/archive/2007/04/26/Eclipse_XMLMemento.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/nemo-zhp/aggbug/113871.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/nemo-zhp/" target="_blank">nemo</a> 2007-04-26 18:00 <a href="http://m.tkk7.com/nemo-zhp/archive/2007/04/26/Eclipse_XMLMemento.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浣跨敤ResourceNavigator鍑虹幇鐨勯棶棰樿В鍐?/title><link>http://m.tkk7.com/nemo-zhp/archive/2007/03/29/107134.html</link><dc:creator>nemo</dc:creator><author>nemo</author><pubDate>Thu, 29 Mar 2007 02:09:00 GMT</pubDate><guid>http://m.tkk7.com/nemo-zhp/archive/2007/03/29/107134.html</guid><wfw:comment>http://m.tkk7.com/nemo-zhp/comments/107134.html</wfw:comment><comments>http://m.tkk7.com/nemo-zhp/archive/2007/03/29/107134.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/nemo-zhp/comments/commentRss/107134.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/nemo-zhp/services/trackbacks/107134.html</trackback:ping><description><![CDATA[ <p> <font face="Arial" size="2"> <span id="hjnjmsl" class="submitted">problem loading ResourceNavigator</span> </font> </p> <p> <font face="Arial" size="2"> <span id="itcbqyb" class="submitted">鍏抽敭璇嶏細Eclipse RCP, ResourceNavigator</span> </font> </p> <p> <font face="Arial" size="2"> <span id="uailuwo" class="submitted">瑙e喅鑰咃細Eingetragen von Volker Wegert. | So, 04/02/2007 - 13:17</span> </font> </p> <p> <font face="Arial" size="2">When starting an eclipse instance (using the current development version) that uses the ResourceNavigator plugin, you might experience an exception during startup.<br /></font> </p> <font face="Arial" size="2"> <font face="Courier New"> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"> <!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--> <span style="color: rgb(0, 0, 0);">!</span> <span style="color: rgb(0, 0, 0);">ENTRY聽org.eclipse.equinox.registry聽</span> <span style="color: rgb(0, 0, 0);">4</span> <span style="color: rgb(0, 0, 0);">聽</span> <span style="color: rgb(0, 0, 0);">1</span> <span style="color: rgb(0, 0, 0);">聽</span> <span style="color: rgb(0, 0, 0);">2007</span> <span style="color: rgb(0, 0, 0);">-</span> <span style="color: rgb(0, 0, 0);">02</span> <span style="color: rgb(0, 0, 0);">-</span> <span style="color: rgb(0, 0, 0);">04</span> <span style="color: rgb(0, 0, 0);">聽</span> <span style="color: rgb(0, 0, 0);">13</span> <span style="color: rgb(0, 0, 0);">:</span> <span style="color: rgb(0, 0, 0);">12</span> <span style="color: rgb(0, 0, 0);">:</span> <span style="color: rgb(0, 0, 0);">21.150</span> <span style="color: rgb(0, 0, 0);"> <br /> </span> <span style="color: rgb(0, 0, 0);">!</span> <span style="color: rgb(0, 0, 0);">MESSAGE聽Unable聽to聽create聽view聽ID聽org.eclipse.ui.views.ResourceNavigator:聽Plug</span> <span style="color: rgb(0, 0, 0);">-</span> <span style="color: rgb(0, 0, 0);">in聽</span> <span style="color: rgb(0, 0, 0);">"</span> <span style="color: rgb(0, 0, 0);">org.eclipse.ui.ide</span> <span style="color: rgb(0, 0, 0);">"</span> <span style="color: rgb(0, 0, 0);">聽was聽unable聽to聽instantiate聽</span> <span style="color: rgb(0, 0, 255);">class</span> <span style="color: rgb(0, 0, 0);">聽</span> <span style="color: rgb(0, 0, 0);">"</span> <span style="color: rgb(0, 0, 0);">org.eclipse.ui.views.navigator.ResourceNavigator</span> <span style="color: rgb(0, 0, 0);">"</span> <span style="color: rgb(0, 0, 0);">.<br /></span> <span style="color: rgb(0, 0, 0);">!</span> <span style="color: rgb(0, 0, 0);">STACK聽</span> <span style="color: rgb(0, 0, 0);">0</span> <span style="color: rgb(0, 0, 0);"> <br />java.lang.IllegalStateException<br />聽聽聽聽at聽org.eclipse.core.runtime.Platform.getPluginRegistry(Platform.java:</span> <span style="color: rgb(0, 0, 0);">748</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.runtime.Platform.getPlugin(Platform.java:</span> <span style="color: rgb(0, 0, 0);">723</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.views.navigator.ResourceNavigator.initLinkingEnabled(ResourceNavigator.java:</span> <span style="color: rgb(0, 0, 0);">413</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.views.navigator.ResourceNavigator.</span> <span style="color: rgb(0, 0, 0);"><</span> <span style="color: rgb(0, 0, 0);">init</span> <span style="color: rgb(0, 0, 0);">></span> <span style="color: rgb(0, 0, 0);">(ResourceNavigator.java:</span> <span style="color: rgb(0, 0, 0);">241</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native聽Method)<br />聽聽聽聽at聽sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:</span> <span style="color: rgb(0, 0, 0);">39</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:</span> <span style="color: rgb(0, 0, 0);">27</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽java.lang.reflect.Constructor.newInstance(Constructor.java:</span> <span style="color: rgb(0, 0, 0);">494</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽java.lang.Class.newInstance0(Class.java:</span> <span style="color: rgb(0, 0, 0);">350</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽java.lang.Class.newInstance(Class.java:</span> <span style="color: rgb(0, 0, 0);">303</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:</span> <span style="color: rgb(0, 0, 0);">170</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:</span> <span style="color: rgb(0, 0, 0);">787</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:</span> <span style="color: rgb(0, 0, 0);">243</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:</span> <span style="color: rgb(0, 0, 0);">51</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:</span> <span style="color: rgb(0, 0, 0);">234</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:</span> <span style="color: rgb(0, 0, 0);">69</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:</span> <span style="color: rgb(0, 0, 0);">305</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:</span> <span style="color: rgb(0, 0, 0);">210</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:</span> <span style="color: rgb(0, 0, 0);">566</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:</span> <span style="color: rgb(0, 0, 0);">3881</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:</span> <span style="color: rgb(0, 0, 0);">2905</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:</span> <span style="color: rgb(0, 0, 0);">1948</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">2888</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">1696</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench.access$</span> <span style="color: rgb(0, 0, 0);">11</span> <span style="color: rgb(0, 0, 0);">(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">1681</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench$</span> <span style="color: rgb(0, 0, 0);">18</span> <span style="color: rgb(0, 0, 0);">.run(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">1560</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:</span> <span style="color: rgb(0, 0, 0);">37</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">1504</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:</span> <span style="color: rgb(0, 0, 0);">183</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:</span> <span style="color: rgb(0, 0, 0);">751</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench.init(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">1109</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench.runUI(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">1878</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:</span> <span style="color: rgb(0, 0, 0);">425</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:</span> <span style="color: rgb(0, 0, 0);">149</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:</span> <span style="color: rgb(0, 0, 0);">95</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽sun.reflect.NativeMethodAccessorImpl.invoke0(Native聽Method)<br />聽聽聽聽at聽sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:</span> <span style="color: rgb(0, 0, 0);">39</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:</span> <span style="color: rgb(0, 0, 0);">25</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽java.lang.reflect.Method.invoke(Method.java:</span> <span style="color: rgb(0, 0, 0);">585</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:</span> <span style="color: rgb(0, 0, 0);">522</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:</span> <span style="color: rgb(0, 0, 0);">147</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:</span> <span style="color: rgb(0, 0, 0);">104</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:</span> <span style="color: rgb(0, 0, 0);">74</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:</span> <span style="color: rgb(0, 0, 0);">354</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:</span> <span style="color: rgb(0, 0, 0);">170</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽sun.reflect.NativeMethodAccessorImpl.invoke0(Native聽Method)<br />聽聽聽聽at聽sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:</span> <span style="color: rgb(0, 0, 0);">39</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:</span> <span style="color: rgb(0, 0, 0);">25</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽java.lang.reflect.Method.invoke(Method.java:</span> <span style="color: rgb(0, 0, 0);">585</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.launcher.Main.invokeFramework(Main.java:</span> <span style="color: rgb(0, 0, 0);">339</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.launcher.Main.basicRun(Main.java:</span> <span style="color: rgb(0, 0, 0);">283</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.launcher.Main.run(Main.java:</span> <span style="color: rgb(0, 0, 0);">984</span> <span style="color: rgb(0, 0, 0);">)<br />聽聽聽聽at聽org.eclipse.core.launcher.Main.main(Main.java:</span> <span style="color: rgb(0, 0, 0);">959</span> <span style="color: rgb(0, 0, 0);">)</span> </div> <br /> </font>This causes the navigator view to display nothing but a grey box. It took me some time to figure out what went wrong here, especially since the validation of the plug-in set did not show any problems. You have to enable</font> <br /> <font face="Courier New" size="2"> <br /> </font> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"> <!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--> <span style="color: rgb(0, 0, 0);">org.eclipse.core.runtime.compatibility聽 <br /></span> </div> <font face="Arial" size="2"> <br />in order to get the resource navigator working.<br />------------------------<font size="2"><br /><font size="2">鍗沖綋ResourceNavigator鍦≧CP紼嬪簭涓棤娉曟甯歌皟鐢ㄦ椂錛岄渶瑕佸湪渚濊禆欏逛腑澧炲姞涓涓吋瀹規ф彃浠?/font></font></font> <font size="2"> <span style="color: rgb(0, 0, 0);">org.eclipse.core.runtime.compatibility銆傝繖涓姙娉曞緢濂藉湴瑙e喅浜嗘垜閬囧埌鐨勯棶棰樸?/span> </font> <img src ="http://m.tkk7.com/nemo-zhp/aggbug/107134.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/nemo-zhp/" target="_blank">nemo</a> 2007-03-29 10:09 <a href="http://m.tkk7.com/nemo-zhp/archive/2007/03/29/107134.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Eclipse鐨勬彃浠剁涓夌瀹夎鏂規硶http://m.tkk7.com/nemo-zhp/archive/2006/04/05/39366.htmlnemonemoWed, 05 Apr 2006 05:44:00 GMThttp://m.tkk7.com/nemo-zhp/archive/2006/04/05/39366.htmlhttp://m.tkk7.com/nemo-zhp/comments/39366.htmlhttp://m.tkk7.com/nemo-zhp/archive/2006/04/05/39366.html#Feedback10http://m.tkk7.com/nemo-zhp/comments/commentRss/39366.htmlhttp://m.tkk7.com/nemo-zhp/services/trackbacks/39366.html緗戜笂鏈変笉灝戝叧浜巐ink鏂瑰紡瀹夎Eclipse鎻掍歡鐨勬柟娉曪紝浣嗕笉鐭ヤ負浠涔堬紝鐓х潃鍋氫簡璁稿嬈★紝鍙兘浠ユ鏂瑰紡澧炲姞涓涓彃浠剁洰褰曪紝鍐嶅鍔犵浜屼釜鐩綍鏃跺氨鏃犺濡備綍鎵句笉鍒頒簡銆備笉鐭ラ亾鏄垜鐨勭増鏈湁闂榪樻槸鍏朵粬闂錛屾諱篃涓嶇煡閿欏湪鍝噷錛屽疄鍦ㄥお楹葷儲銆?br />榪笉寰楀凡錛屼負浜嗙鐞嗘垜閭e法閲忕殑eclipse鎻掍歡錛屾垜閲囩敤浜嗗彟澶栦竴縐嶆柟娉曪細浣跨敤閰嶅埗綆$悊閫夐」鍗℃潵澧炲姞鎻掍歡銆?br />鍏蜂綋鍋氭硶濡備笅錛?br />鎵撳紑甯姪-銆夎蔣浠舵洿鏂?銆夌鐞嗛厤鍒訛紝鍗曞嚮EclipseSDK寮瑰嚭鍙抽敭鑿滃崟鏍忓悗錛岄夋嫨娣誨姞-銆夋墿灞曚綅緗細聽
Snap1.bmp

鏍規嵁鎻愮ず錛屾垜浠幇鍦ㄥ垱寤哄涓嬫枃浠剁粨鏋勶紙鏂囦歡澶規墍澶勪綅緗換鎰忥紝浣嗗繀欏誨寘鍚玡clipse鏂囦歡澶瑰強features鍜宲lugins瀛愭枃浠跺す錛夛細

Snap3.bmp

鎺ョ潃鍦╡clipse/鐩綍涓嬪垱寤?eclipseextension鏂囦歡錛屾敞鎰忓湪windows涓嬩笉鑳界洿鎺ュ垱寤烘綾繪枃浠訛紝闇瑕佹墦寮璁頒簨鏈紝鍦ㄥ彟瀛樹負涓繚瀛樼被鍨?閫夋嫨all files鎵嶅彲浠ヤ繚瀛樸?br />鍦?eclipseextension鏂囦歡涓姞鍏ュ涓嬩唬鐮侊細
id=org.eclipse.platform聽name=Eclipse聽Platform
version
=3.1.1

鍏朵腑version涓烘墍浣跨敤鐨凟clipse鐗堟湰鍙楓?br />鐒跺悗灝嗕綘甯屾湜瀹夎鐨勬彃浠舵斁鍏clipse鐩綍涓嬶紝瑕嗙洊features鍜宲lugins鏂囦歡澶廣?br />鍦ㄧ鐞嗛厤緗腑娣誨姞榪欎釜鏂板垱寤哄ソ鐨勬墿灞曚綅緗紝閲嶅惎鍗沖彲銆?br />濡傛灉涓嶆兂鐢ㄦ鎵╁睍浣嶇疆錛屽彧闇瑕佸皢姝や綅緗鐢ㄥ嵆鍙?br />鏄笉鏄瘮link鏂瑰紡瑕佹柟渚跨伒媧諱竴浜?



nemo 2006-04-05 13:44 鍙戣〃璇勮
]]>
瀵煎嚭Eclipse RCP欏圭洰蹇冨緱http://m.tkk7.com/nemo-zhp/archive/2006/03/31/38460.htmlnemonemoFri, 31 Mar 2006 05:18:00 GMThttp://m.tkk7.com/nemo-zhp/archive/2006/03/31/38460.htmlhttp://m.tkk7.com/nemo-zhp/comments/38460.htmlhttp://m.tkk7.com/nemo-zhp/archive/2006/03/31/38460.html#Feedback4http://m.tkk7.com/nemo-zhp/comments/commentRss/38460.htmlhttp://m.tkk7.com/nemo-zhp/services/trackbacks/38460.html

聽聽聽聽聽聽聽聽 鎼炰簡鏁存暣涓ゅぉ鎵嶇粓浜庡皢欏圭洰浠?/span> Eclipse 涓浜嗗嚭鏉ワ紝緗戜笂铏界劧鏈夎澶氬彲渚涘弬鑰冪殑鏍囧噯瀵煎嚭姝ラ錛屼絾瀵逛簬鍏蜂綋鐨勯」鐩潵璇村彲鑳戒細鍥犱負鐗堟湰鐨勪笉鍚屾垨鑰呮槸鎻掍歡鐨勪笉鍚屼駭鐢熷悇縐嶅悇鏍風殑闂銆備笅闈㈡槸鎴戝湪瀵煎嚭 RCP 紼嬪簭榪囩▼涓殑涓浜涘績寰楋紝甯屾湜瀵瑰ぇ瀹?/span> 鏈変簺甯姪銆?/font>

  1. 鏈夋牱瀛︽牱娉曞垯鐪熺殑鏄緢閲嶈錛岀壒鍒槸褰撲綘鏃犳硶椹笂鐞嗚В Eclipse 鍐呴儴鏈哄埗鐨勬椂鍊欐洿鏄姝ゃ傝嚜宸變竴涓漢鎽哥儲寰堜箙榪樹笉濡傜収鐫鐜版垚鐨勫幓鍋氭洿鍔犳湁鏁堢巼銆傚彲浠ュ湪瀵煎嚭 RCP 欏圭洰鏃跺療鐪嬬ず渚嬫簮鐮?/span> Hyperbola 錛屾槸涓涓亰澶╃▼搴忥紝 Eclipse.Rich.Client.Platform.Designing.Coding.and.Packaging.Java.Applications 涔︿腑鐨勭ず渚嬨傝涔︾綉涓婃湁 chm 鐗堟湰鐨勪笅杞姐傛簮鐮佷笅杞介摼鎺ワ細 http://eclipsercp.org/book/cd.php 銆?/span> 娉ㄦ剰錛氬綋鍑虹幇閿欒鏃朵竴瀹氳鐓х潃婧愮爜鐨勯厤緗竴欏逛竴欏圭殑媯鏌ワ紝閲嶇偣鏄鏌?/span> .product 鏂囦歡鍜?/span> PDE 涓?/span> Build 欏瑰拰 MENIFEST.MF 銆傝澶氭椂鍊欎竴涓潪甯哥粏灝忕殑宸埆寰寰浣跨▼搴忓鍑哄け璐ャ?/span>
  1. 鍦ㄥ彂甯?/span> RCP 浠ュ強瀵煎嚭鎻掍歡鍖呮椂錛屽叾浠栫浉鍏崇殑鎻掍歡錛?/span> Required Plugins 錛夊繀欏繪墦鍖呭悗鍔犺澆榪?/span> Eclipse 鎻掍歡涓紙鍙互閲囩敤 Link 鏂瑰紡錛夛紝鑰屼笉鑳戒綔涓?/span> WorkSpace 涓墦寮鐨勯」鐩姞杞藉湪鎻掍歡渚濊禆欏逛腑錛岃繖鏍鋒墠鑳介『鍒╁皢鎻掍歡鍜?/span> RCP 欏圭洰瀵煎嚭銆傛垨鑰呬笉鍔犺澆榪?/span> Eclipse 鎻掍歡涓紝鍙灝嗗叾浣滀負絎笁鏂規彃浠訛紝鍦?/span> PDE 涓?/span> runtime 閫夐」緇勬坊鍔犺鎻掍歡鍐嶆墦鍖呫傛垨鑰呭湪 WorkSpace 璇ユ彃浠墮」鐩腑鏂板鍔犱竴涓枃浠跺す錛屽湪鍏朵腑鏀懼叆鎵渚濊禆鐨勬彃浠墮」銆傜劧鍚庡湪 PDE 涓?/span> Build 閫夐」緇勪簩榪涘埗鏋勫緩瀛愰夐」緇勪腑灝嗗叾鍖呭惈涔熷彲銆?/span>
  1. 鍦?/span> PDE 涓?/span> Build 閫夐」緇勪腑鐨勮繍琛屾椂淇℃伅錛岄粯璁ゅ悕鏄竴涓?/span> . 鈥濓紝鎰忔濇槸鐩存帴鍦?/span> plugins 鐩綍涓嬬敓鎴?/span> jar 鏂囦歡錛屽鏋滅粰瀹冭搗鑷繁鐨勫悕縐扮殑璇濓紝灝嗕細鏍規嵁閭d釜鍚嶇О鍦?/span> plugins 鐩綍涓嬬敓鎴愪竴涓枃浠跺す錛岀劧鍚庡湪璇ユ枃浠跺す閲屾墠浼氭湁鑷繁鐨?/span> jar 鏂囦歡銆傚湪瀵煎嚭 Eclipse RCP 欏圭洰鏃訛紝涓繪彃浠跺簲璇ヤ繚鎸侀粯璁ゅ悕錛屼嬌鍏剁敓鎴愮殑 jar 鏂囦歡鍦?/span> plugins 鐩綍涓嬩究瀛樺湪錛屽惁鍒欎究浼氬嚭鐜板簲鐢ㄧ▼搴忔壘涓嶅埌鐨勯敊璇?/span>
  1. MENIFEST.MF 閲岄潰鐨勪唬鐮佽窡鏈緇堢殑緇撴灉鍏崇郴寰堝ぇ銆備笅闈㈡妸鍏朵腑鐨勬牸寮忓鍒跺嚭鏉ワ紝浠ヤ究鏈変竴浜涘弬鑰冩х殑涓滆タ銆?/span>
聽1 Manifest - Version:聽 1.0
聽2 Bundle - ManifestVersion:聽 2
聽3 Bundle - Name:聽MyProject聽Plug - in
聽4 Bundle - SymbolicName:聽MyProject;聽singleton: = true
聽5 Bundle - Version:聽 1.0 . 0
聽6 Bundle - Localization:聽plugin
聽7 Require - Bundle:聽org.eclipse.ui,
聽8 org.eclipse.core.runtime,
聽9 org.eclipse.core.resources,
10 org.eclipse.ui.ide,
11 Eclipse - AutoStart:聽 true
12 Export - Package:聽myProject,
13Bundle-Activator: myProject.MyProjectPlugin

鍏朵腑錛?/span>12琛?/span>Export-Package欏規槸浣犲笇鏈涘閮ㄥ彲瑙佺殑鍖咃紝鍐欎笉鍐欏瀵煎嚭欏圭洰娌℃湁褰卞搷銆?/span>
涓嬮潰絎?/span>13欏瑰湪MENIFEST.MF涓彲鑳戒細鑷姩鐢熸垚錛屽湪瀵煎嚭鎻掍歡鏃惰娉ㄦ剰灝嗗叾鍘繪帀錛屽惁鍒欎細浜х敓閿欒銆傦紙鍏蜂綋鍘熷洜榪樻湭鐭ワ紝甯屾湜楂樹漢鎸囩偣榪鋒觸錛?/span>.聽 鍏朵粬鐨勫簲璇ヤ笉鐢ㄨ浜嗗惂錛燂紒



nemo 2006-03-31 13:18 鍙戣〃璇勮
]]>
灝咵clipse3.0寮鍙戠殑鎻掍歡紼嬪簭鍗囩駭鍒癊clipse3.1緇忓父閬囧埌鐨勪竴涓棶棰?/title><link>http://m.tkk7.com/nemo-zhp/archive/2005/12/03/22347.html</link><dc:creator>nemo</dc:creator><author>nemo</author><pubDate>Sat, 03 Dec 2005 09:10:00 GMT</pubDate><guid>http://m.tkk7.com/nemo-zhp/archive/2005/12/03/22347.html</guid><wfw:comment>http://m.tkk7.com/nemo-zhp/comments/22347.html</wfw:comment><comments>http://m.tkk7.com/nemo-zhp/archive/2005/12/03/22347.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/nemo-zhp/comments/commentRss/22347.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/nemo-zhp/services/trackbacks/22347.html</trackback:ping><description><![CDATA[<P><FONT face=瀹嬩綋 size=2>鏈榪戝涔?SPAN lang=EN-US>RCP</SPAN>錛屼簬鏄渶瑕佹煡鐪嬩竴浜涙簮鐮併傛湁浜涙簮鐮佸湪<SPAN lang=EN-US>Eclipse3.0</SPAN>涓嬩竴鐐歸棶棰橀兘娌℃湁錛屽彲鏄皢<SPAN lang=EN-US>Eclipse SDK</SPAN>鏇存柊鍒?SPAN lang=EN-US>3.1</SPAN>鍚庯紝濂藉婧愮爜閮芥姤閿欙紝鏃犳硶榪愯銆傝屼笖澶у鏁版槸鍚屼竴涓敊璇傚叿浣撻敊璇槸鍦?SPAN lang=EN-US>META-INF</SPAN>鐩綍涓嬬殑<SPAN lang=EN-US>MENIFEST.MF</SPAN>涓嚭鐜扮殑銆傚涓嬪浘鎵紺猴細</FONT><SPAN lang=EN-US><BR><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><IMG height=82 alt=o_Eclipse3.0-3.1-6.bmp src="http://m.tkk7.com/images/blogjava_net/nemo-zhp/5546/o_Eclipse3.0-3.1-6.bmp" width=479 border=0><BR></SPAN><FONT face=瀹嬩綋 size=2>鏀逛簡鍗婂ぉ涔熶笉鐭ラ亾鏄粈涔堟柟闈㈢殑鍘熷洜銆傛妸榧犳爣鏀懼湪鍑洪敊鎻愮ず澶勶紝鍙戠幇鏈夊涓嬪浘鎵紺虹殑鎻愮ず錛?/FONT><SPAN lang=EN-US><BR><IMG height=71 alt=o_Eclipse3.0-3.1-11.bmp src="http://m.tkk7.com/images/blogjava_net/nemo-zhp/5546/o_Eclipse3.0-3.1-11.bmp" width=480 border=0><BR><BR></SPAN><FONT face=瀹嬩綋 size=2>鐒跺悗鏌ユ壘浜嗗ぇ閲忚祫鏂欙紝鍙堢敤<SPAN lang=EN-US>3.1</SPAN>鐗堢殑<SPAN lang=EN-US>Eclipse</SPAN>鑷姩鐢熸垚浜?SPAN lang=EN-US>MENIFEST.MF</SPAN>鏂囦歡錛岀湅浜嗕竴涓嬪紑澶達紝姣旇繖涓彃浠剁殑寮濮嬪鍦?SPAN lang=EN-US>Bundle-SymbolicName</SPAN>涓浜嗚繖涔堜竴欏癸細</FONT><SPAN lang=EN-US><BR><FONT face=瀹嬩綋 size=2>Bundle-SymbolicName:Test; singleton:=true<BR></FONT></SPAN><FONT face=瀹嬩綋 size=2>閭e氨灝嗚繖鍙ヨ瘽鍔犱笂鍚э紒</FONT><SPAN lang=EN-US><BR><IMG height=82 alt=o_Eclipse3.0-3.1-33.bmp src="http://m.tkk7.com/images/blogjava_net/nemo-zhp/5546/o_Eclipse3.0-3.1-33.bmp" width=479 border=0><BR><BR></SPAN><FONT face=瀹嬩綋 size=2>婊′互涓鴻繖嬈″簲璇ユ病浠涔堥棶棰樹簡錛屽彲璋佺煡榪樻槸鍑洪敊銆傚叿浣撴姤鐨勯敊璇槸榪欐牱鐨勶細</FONT><SPAN lang=EN-US><BR><BR><IMG height=67 alt=Eclipse3.0-3.1-222.bmp src="http://m.tkk7.com/images/blogjava_net/nemo-zhp/Eclipse3.0-3.1-222.bmp" width=478 border=0><BR><BR></SPAN><FONT face=瀹嬩綋 size=2>涓婇潰璇村0鏄庢墿灞曟垨鎵╁睍鐐圭殑鎻掍歡蹇呴』灝?SPAN lang=EN-US>"singleton"</SPAN>灞炴ц緗負<SPAN lang=EN-US>"true"</SPAN>錛屾煡浜嗘墍鏈夌殑鎵╁睍鍜屾墿灞曠偣欏癸紝閮芥病鏈夊彂鐜版彁紺轟腑鎵璇寸殑<SPAN lang=EN-US>singleton</SPAN>灞炴э紝涔熷氨褰撶劧涓嶇煡閬撳浣曡緗負<SPAN lang=EN-US>"true"</SPAN>浜嗐?/FONT><SPAN lang=EN-US><BR></SPAN><FONT face=瀹嬩綋 size=2>鍚庢潵鍙ソ涓姝ヤ竴姝ユ潵錛岄噸鏂板垱寤轟竴涓彃浠跺伐紼嬶紝鎶婂師鏉ョ殑婧愪唬鐮佸叏閮ㄦ嫹榪囧幓錛屾墜宸ユ坊鍔犳墍鏈夌殑鎵╁睍鍜屾墿灞曠偣欏癸紙绱懙錛侊級鏈鍚庣粓浜庢壘鍒頒簡涓や釜闈炲父緇嗗皬鐨勫樊鍒傜浉姣?.0鐗堟湰鐨凪ENIFEST.MF錛?.1鐗堢殑澧炲姞浜嗕笅闈袱欏癸細<BR>Bundle-ManifestVersion: 2<BR>鍜?BR>Bundle-Localization:plugin銆傚皢榪欎袱欏瑰姞鍏ENIFEST.MF鏂囦歡涔嬪悗錛岄敊璇В鍐充簡錛侊紒錛?BR><IMG height=107 alt=o_Eclipse3.0-3.1-55.bmp src="http://m.tkk7.com/images/blogjava_net/nemo-zhp/5546/o_Eclipse3.0-3.1-55.bmp" width=483 border=0><BR>絀剁珶鏄摢涓欏瑰鑷翠笂榪伴敊璇憿錛熷彧鍘繪帀Bundle-ManifestVersion:2榪欎竴欏瑰悗錛屽彂鐜伴敊璇噸鏂板嚭鐜幫紝鑰屽彧鍘繪帀Bundle-Localization:plugin鍚庯紝閿欒娌℃湁鍑虹幇銆?BR>鎵浠ユ垜浠湪閬囧埌涓婅堪闂鏃訛紝鍙互鍋氬涓嬫搷浣滐細<BR>1.璁劇疆singleton:=true錛屽鏋滀粛鐒舵病鏈夎В鍐抽棶棰橈細<BR>2.娣誨姞Bundle-ManifestVersion:2<BR>鎴戝氨鏄繖鏍峰皢閿欒淇鐨勩備絾鎰挎湁綾諱技緇忓巻鐨勫悓鑳炰笉鍐嶅彈榪欎釜闂鐨勫洶鎵般?BR>浣嗘槸錛岀敱浜庡OSGI浠ュ強Eclipse搴曞眰鐨勬満鍒朵笉浜嗚В錛屾墍浠ヤ笉娓呮涓轟粈涔堜細鍑虹幇涓婅堪闂錛屼互鍙婁負浠涔堝鍔犳琛屽悗灝變笉鍐嶆姤閿欍傚笇鏈涘悇浣嶄簡瑙g殑鑳藉鎸囩偣榪鋒觸錛?BR></FONT><SPAN lang=EN-US><BR><BR><BR><o:p></o:p></SPAN></P><img src ="http://m.tkk7.com/nemo-zhp/aggbug/22347.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/nemo-zhp/" target="_blank">nemo</a> 2005-12-03 17:10 <a href="http://m.tkk7.com/nemo-zhp/archive/2005/12/03/22347.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦‥clipseRCP涓紜殑鍔犺澆鍥懼儚鏂囦歡http://m.tkk7.com/nemo-zhp/archive/2005/11/29/21862.htmlnemonemoTue, 29 Nov 2005 11:21:00 GMThttp://m.tkk7.com/nemo-zhp/archive/2005/11/29/21862.htmlhttp://m.tkk7.com/nemo-zhp/comments/21862.htmlhttp://m.tkk7.com/nemo-zhp/archive/2005/11/29/21862.html#Feedback1http://m.tkk7.com/nemo-zhp/comments/commentRss/21862.htmlhttp://m.tkk7.com/nemo-zhp/services/trackbacks/21862.html鏈榪戜竴浣嶅悓浜嬩篃鍦ㄧ敤RCP寮鍙戯紝瀵瑰浘鍍忔枃浠剁殑鍔犺澆澶寸柤涓嶅凡銆?BR>鎯寵搗鍑犱釜鏈堝墠鎴戝湪寮鍙戞椂涔熸湁綾諱技鐨勪簨鎯呭彂鐢燂紝浜庢槸綆鍗曟葷粨浜嗕竴涓嬶紝甯屾湜瀵瑰ぇ瀹舵湁浜涚敤澶勩?BR>鐢變簬Eclipse RCP 闇瑕侀潰鍚戜笉鍚岀殑騫沖彴錛屾墍浠ヤ笉鑳界敤涓鑸殑鏂規硶鏉ュ姞杞藉浘鍏冿紝鎴戜滑鍙互浣跨敤ImageDescriptor綾繪潵瀵瑰浘鍏冭繘琛屽姞杞姐傝屼笖鎴戜滑鍦ㄥ姞杞藉畬鍥懼厓涔嬪悗錛屽繀欏諱翰鑷皢鍥懼厓dispose鎺夛紝鍚﹀垯鏈夊彲鑳戒細瀵艱嚧緋葷粺璧勬簮娉勬紡銆?BR>瀹炵幇鏂規硶涓錛?/FONT>

  1. 鍦?/SPAN>Application鏂囦歡涓坊鍔犳湰宸ョ▼鐨?/SPAN>ID錛圫tring綾誨瀷錛屽彧瑕佷笌plugin.xml涓殑宸ョ▼ID鐩稿悓鍗沖彲錛?/SPAN>銆?/SPAN>
  2. 鍦ㄦ兂瑕佽幏寰楀浘鍍忔枃浠剁殑綾諱腑瀹炵幇createImageDescriptorFor(String id)鏂規硶銆?/SPAN>

鍏蜂綋瀹炵幇濡備笅錛?/FONT>

public ImageDescriptor createImageDescriptorFor(String id) //id琛ㄧず鍥懼艦鏂囦歡鐩稿浜庢湰宸ョ▼鐨勯粯璁よ礬寰?/SPAN>.

{

URL url = Platform.getBundle(pluginId).getEntry(id);//pluginId琛ㄧず鏈伐紼嬬殑ID.
return ImageDescriptor.createFromURL(url);

}
瀹炵幇鏂規硶浜岋細
璋冪敤org.eclipse.ui.plugin.AbstractUIPlugin.imageDescriptorFromPlugin(String pluginId, String imageFilePath)鏂規硶銆?BR>浠嶇劧闇瑕佸畾涔塸luginId銆?BR>涓句緥錛氬亣璁炬垜浠殑鍥懼儚鏂囦歡涓烘湰宸ョ▼鐨?icons/image.gif銆?BR>閭d箞鎴戜滑瑕佸姞杞藉浘鍏冨彲浠ヤ嬌鐢ㄤ竴涓嬭鍙ワ細
Image image1 = org.eclipse.ui.plugin.AbstractUIPlugin.imageDescriptorFromPlugin(pluginId, "/icons/image.gif");



nemo 2005-11-29 19:21 鍙戣〃璇勮
]]>
寰Eclipse RCP瑙嗗浘涓坊鍔犲彸閿脊鍑鴻彍鍗曪紙涓錛?/title><link>http://m.tkk7.com/nemo-zhp/archive/2005/11/29/21861.html</link><dc:creator>nemo</dc:creator><author>nemo</author><pubDate>Tue, 29 Nov 2005 11:14:00 GMT</pubDate><guid>http://m.tkk7.com/nemo-zhp/archive/2005/11/29/21861.html</guid><wfw:comment>http://m.tkk7.com/nemo-zhp/comments/21861.html</wfw:comment><comments>http://m.tkk7.com/nemo-zhp/archive/2005/11/29/21861.html#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://m.tkk7.com/nemo-zhp/comments/commentRss/21861.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/nemo-zhp/services/trackbacks/21861.html</trackback:ping><description><![CDATA[<P><FONT size=2>寰eclipse鐨勯粯璁avigationView涓紝娣誨姞鍙抽敭鑿滃崟欏規槸闈炲父瀹規槗鐨勶紝鐢氳嚦涓嶉渶瑕佽嚜宸卞啓浠g爜錛屽彧瑕佸湪plugin.xml涓坊鍔犳墿灞曢」渚垮彲浠ヤ簡銆?BR>浣嗘槸榪欒繙榪滆揪涓嶅埌鎴戜滑鐨勮姹傘傚鏋滆鎴戜滑鍦ㄨ嚜宸辯殑rcp紼嬪簭鐨刅iew涓坊鍔犲彸閿脊鍑鴻彍鍗曞氨涓嶆槸寰堝鏄撲簡銆傜幇鍦ㄦ垜浠嬬粛涓涓嬪浣曞湪涓涓爲瑙嗗浘涓拡瀵逛笉鍚岀殑TreeObject娣誨姞涓嶅悓鐨勫彸閿脊鍑鴻彍鍗曠殑鏂規硶銆?BR>濡傛灉涓嶆竻妤氬浣曟瀯寤轟竴涓爲錛岃鍙傝?/FONT><A ><FONT size=2>http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/CatalogSWT-JFace-Eclipse.htm</FONT></A><FONT size=2>, 榪欓噷鏈夊緢澶氬叧浜巈clipse Tree鐨勫疄渚嬨傜畝鍗曞皢鏉ワ紝Eclipse涓垱寤烘爲鏈変袱縐嶏紝涓縐嶆槸浣跨敤SWT鎻愪緵鐨勬爲錛屼緷鐓т竴瀹氱殑鏍煎紡緇欏叾鎻愪緵鏁版嵁錛屾垜鑷繁鍙敤榪欑鏂規硶鍒涘緩涓浜涚畝鍗曠殑銆侀潤鎬佺殑鏍戙傚彟涓縐嶆柟娉曪紝閽堝浜嶳CP紼嬪簭錛屽彲浠ヤ嬌鐢↗Face鎻愪緵鐨凾reeViewer綾伙紝闈炲父鐏墊椿騫朵笖鏄撲簬鎵╁睍銆備嬌鐢═reeViewer闇瑕佸疄鐜癐TreeContentProvider鎺ュ彛鍜孖TreeLableProvider鎺ュ彛銆傜敱浜庢垜鐨勬椂闂存湁闄愶紝涓嶈兘鍚戝ぇ瀹舵彁渚涘叿浣撶殑瀹炵幇鏂規硶錛岃鍘熻皡銆傚彲浠ュ弬鑰冧互涓嬫枃绔狅細</FONT><A ><FONT size=2>http://eclipse.org/articles/treeviewer-cg/TreeViewerArticle.htm</FONT></A><BR><FONT size=2>鍦ㄥぇ浣撲簡瑙d簡濡備綍鏋勯犱竴涓爲涔嬪悗錛屾垜浠笅闈㈠氨鏉ヤ粙緇嶅彸閿脊鍑鴻彍鍗昪ontext menu鐨勫疄鐜版柟娉曘?BR>涓涓猅reeViewer 蹇呴』緇ф壙ViewPart鏂規硶錛屽茍涓旈噸鍐欏叾涓殑createPartControl(Composite parent)綾匯?/FONT><BR><BR><FONT style="BACKGROUND-COLOR: #ffffff" face=Tahoma color=#000080><FONT size=2><FONT style="BACKGROUND-COLOR: #9acd32" color=#000080>1  </FONT>   public void createPartControl(Composite parent) {<BR><FONT style="BACKGROUND-COLOR: #9acd32">2  </FONT><BR><FONT style="BACKGROUND-COLOR: #9acd32">3  </FONT>   /* Set the imput data and image model of the tree viewer,<BR><FONT style="BACKGROUND-COLOR: #9acd32">4  </FONT>    * and layout the viewer on the left part of the composite.<BR><FONT style="BACKGROUND-COLOR: #9acd32">5  </FONT>    */<BR><FONT style="BACKGROUND-COLOR: #9acd32">6  </FONT>    viewer = new TreeViewer(parent);<BR><FONT style="BACKGROUND-COLOR: #9acd32">7  </FONT>    viewer.setContentProvider(new ViewContentProvider());<BR><FONT style="BACKGROUND-COLOR: #9acd32">8  </FONT>    viewer.setLabelProvider(new ViewLabelProvider());<BR><FONT style="BACKGROUND-COLOR: #9acd32">9  </FONT>    viewer.setInput(createDummyModel());<BR><FONT style="BACKGROUND-COLOR: #9acd32">10</FONT><BR><FONT style="BACKGROUND-COLOR: #9acd32">11</FONT>   createActions();<BR><FONT style="BACKGROUND-COLOR: #9acd32">12</FONT>   createMenus();<BR><FONT style="BACKGROUND-COLOR: #9acd32">13</FONT>   createContextMenu(parent);<BR></FONT></FONT><FONT style="BACKGROUND-COLOR: #ffffff" face=Tahoma color=#000080><FONT size=2><FONT style="BACKGROUND-COLOR: #9acd32">14</FONT><BR><FONT style="BACKGROUND-COLOR: #9acd32">15</FONT>   //handles the actions related with treeviewer.<BR><FONT style="BACKGROUND-COLOR: #9acd32">16</FONT>   makeActions(parent);<BR></FONT></FONT><FONT style="BACKGROUND-COLOR: #000080"><FONT face=Tahoma><FONT style="BACKGROUND-COLOR: #ffffff" color=#000080><FONT size=2><FONT style="BACKGROUND-COLOR: #9acd32">17</FONT> }<BR></FONT><FONT color=#000000><FONT size=2>鍏朵腑錛岀7鍒?琛屼負璁劇疆TreeViewer鐨勫唴瀹規彁渚涘櫒銆佸浘鍍忔彁渚涘櫒銆佷互鍙婂垵濮嬪寲鏃剁殑杈撳叆鏁版嵁銆傜13琛屼負鍒涘緩鍙抽敭寮瑰嚭鑿滃崟銆?BR><BR></FONT><FONT color=#000080><FONT size=2><FONT style="BACKGROUND-COLOR: #9acd32">1  </FONT>   private void createContextMenu(Composite parent) { <BR><FONT style="BACKGROUND-COLOR: #9acd32">2  </FONT><BR><FONT style="BACKGROUND-COLOR: #9acd32">3  </FONT>       MenuManager mgr = new MenuManager(); <BR><FONT style="BACKGROUND-COLOR: #9acd32">4  </FONT>       mgr.setRemoveAllWhenShown(true); <BR><FONT style="BACKGROUND-COLOR: #9acd32">5  </FONT>       mgr.addMenuListener(new IMenuListener() { <BR><FONT style="BACKGROUND-COLOR: #9acd32">6  </FONT>           public void menuAboutToShow(IMenuManager manager) { <BR><FONT style="BACKGROUND-COLOR: #9acd32">7  </FONT>              fillContextMenu(manager); <BR><FONT style="BACKGROUND-COLOR: #9acd32">8  </FONT>           } <BR><FONT style="BACKGROUND-COLOR: #9acd32">9  </FONT>       }); <BR><FONT style="BACKGROUND-COLOR: #9acd32">10</FONT><FONT style="BACKGROUND-COLOR: #ffffff">     Menu menu = mgr.createContextMenu(viewer.getControl()); </FONT><BR><FONT style="BACKGROUND-COLOR: #9acd32">11</FONT>     viewer.getControl().setMenu(menu); <BR><FONT style="BACKGROUND-COLOR: #9acd32">12</FONT>     getSite().registerContextMenu(mgr, viewer); <BR><FONT style="BACKGROUND-COLOR: #9acd32">13</FONT>   }<BR></FONT><FONT face="Times New Roman" color=#000000><FONT size=2>絎?琛屼唬鐮佷腑錛宻etRemoveAllWhenShown(true)鐨勪綔鐢ㄦ槸娓呯┖浠ュ墠鏄劇ず鐨勮彍鍗曢」錛屽綋瑙﹀彂浜唌enu浜嬩歡鏃訛紝閲嶆柊濉厖錛坒illContextMenu錛夛紝鎵浠ュ鏋滀笉鎶妑emoveAllWhenShow緗負true鐨勮瘽錛屾瘡鐐逛竴涓嬪彸閿綘灝變細鐪嬪埌鑿滃崟欏瑰鍑轟竴鍊嶆潵銆侻enu鏄痵wt鐨勬帶浠訛紝鑰孧enumanager鏄疛face涓殑鎺т歡錛屼笉璞WT閭f牱鐩存帴鍚屽簳灞傛墦浜ら亾銆傜敤MenuManager鍙互鍒涘緩鍑轟竴涓狹enu瀵硅薄銆傜鍗佽</FONT><FONT face=Tahoma color=#000080><FONT size=2>mgr.createContextMenu(viewer.getControl());</FONT><FONT face="Times New Roman" color=#000000><FONT size=2>榪欓噷鐨剉iewer鍗充負涓婇潰鐨剉iewer銆傜鍗佷竴琛岋紝鐒跺悗鎴戜滑灝嗘爲鐨剆etMenu鏂規硶灝嗘爲鎺т歡涓嶮enu鎺т歡鑱旂郴鍦ㄤ竴璧峰氨濂戒簡銆?BR>鏈閲嶈鐨勬槸絎崄浜岃錛岃繖鏄痗ontext menu鑳戒笉鑳芥樉紺虹殑鍏抽敭銆備竴涓鍥句腑鍙互鏈夊涓猚ontext menu, 鑰屾瘡涓涓猚ontext menu閮藉繀欏繪敞鍐岀粰workbench銆傝繖闇瑕侀氳繃璋冪敤</FONT><FONT face=Tahoma color=#000080><FONT size=2>org.eclipse.ui.IWorkbenchPartSite.registerContextMenu(MenuManager menuManager, ISelectionProvider selectionProvider)<FONT face="Times New Roman" color=#000000>鎴栬咃紙褰撴湁澶氫釜娉ㄥ唽鐨刢ontext menu鏃訛級</FONT>org.eclipse.ui.IWorkbenchPartSite.registerContextMenu(String menuId, MenuManager menuManager, ISelectionProvider selectionProvider) </FONT><FONT face="Times New Roman" color=#000000><FONT size=2>澧炲姞鐨勫弬鏁癿enuId鐢ㄤ簬鍖哄垎涓嶅悓鐨刢ontext menu銆?BR>鎺ヤ笅鏉ワ紝鎴戜滑鏈変袱縐嶆柟娉曟潵鍒涘緩鍙抽敭寮瑰嚭鑿滃崟欏廣傜涓縐嶏紝瀹炵幇fillContextMenu()鏂規硶銆傚吀鍨嬬殑瀹炵幇浠g爜濡備笅錛?BR></FONT><FONT color=#000080><FONT face=Tahoma><FONT size=2><FONT style="BACKGROUND-COLOR: #9acd32">1  </FONT>   protected void fillContextMenu(IMenuManager manager) {<BR><FONT style="BACKGROUND-COLOR: #9acd32">2  </FONT><BR><FONT style="BACKGROUND-COLOR: #9acd32">3  </FONT>       manager.add(openAction);<BR><FONT style="BACKGROUND-COLOR: #9acd32">4  </FONT>       manager.add(removeAction);<BR><FONT style="BACKGROUND-COLOR: #9acd32">5  </FONT>       manager.add(addAction);<BR><FONT style="BACKGROUND-COLOR: #9acd32">6  </FONT>            }  <BR></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT><BR><FONT size=2>榪欎簺Action閮藉彲鐢辮嚜宸卞畾涔夊垱寤恒?BR>鍙﹀鐨勬柟娉曪紝鍙互緙栬緫plugin.xml鏂囦歡銆備笉闇瑕佽嚜宸卞啓浠諱綍浠g爜渚垮彲浠ユ樉紺哄嚭鑷繁鎯寵鐨勫脊鍑洪」銆?BR>榪欐鍏堣鍒拌繖閲岋紝涓嬫浠嬬粛鍙﹀鐨勪竴縐嶅疄鐜版柟寮忋傦紙涓昏鏄敱浜庡垰鍒涘緩Blog錛屼笉鐭ラ亾濡備綍鎻掑叆鍥劇墖錛岃繖涔堝啓澶垂鍔蹭篃澶灟鐕ヤ簡錛岀浉淇″ぇ瀹朵竴瀹氫笉鑳藉繊浜嗗惂錛佸挶浠笅嬈″啀瑙?/FONT><IMG height=19 src="http://m.tkk7.com/Emoticons/regular_smile.gif" width=19 border=0>錛?/P><img src ="http://m.tkk7.com/nemo-zhp/aggbug/21861.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/nemo-zhp/" target="_blank">nemo</a> 2005-11-29 19:14 <a href="http://m.tkk7.com/nemo-zhp/archive/2005/11/29/21861.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://www664660a.com" target="_blank">精品女同一区二区三区免费播放</a>| <a href="http://www5g9.com" target="_blank">91精品免费高清在线</a>| <a href="http://littlevv.com" target="_blank">中文字幕免费人成乱码中国</a>| <a href="http://x3013.com" target="_blank">999久久久免费精品播放</a>| <a href="http://shlamore.com" target="_blank">日韩一区二区三区免费体验</a>| <a href="http://5gi555.com" target="_blank">亚洲AV无码久久精品成人</a>| <a href="http://js06vip.com" target="_blank">亚洲欧美国产日韩av野草社区</a>| <a href="http://vvihh.com" target="_blank">国产免费爽爽视频在线观看</a>| <a href="http://siqingsizu.com" target="_blank">无码日韩精品一区二区免费</a>| <a href="http://2023852.com" target="_blank">亚洲欧洲国产精品你懂的</a>| <a href="http://zuche001.com" target="_blank">免费中文字幕视频</a>| <a href="http://singbomb.com" target="_blank">在线看片无码永久免费视频</a>| <a href="http://xyxpx.com" target="_blank">亚洲综合欧美色五月俺也去</a>| <a href="http://www-3499.com" target="_blank">免费黄色电影在线观看</a>| <a href="http://3688008.com" target="_blank">亚洲视频在线免费看</a>| <a href="http://j3223.com" target="_blank">99精品视频在线观看免费</a>| <a href="http://ningxialanh.com" target="_blank">免费在线观看日韩</a>| <a href="http://3789re.com" target="_blank">中文字幕无码精品亚洲资源网久久 </a>| <a href="http://hbjinmaitang.com" target="_blank">三上悠亚电影全集免费</a>| <a href="http://286513.com" target="_blank">亚洲动漫精品无码av天堂</a>| <a href="http://cg-fun.com" target="_blank">一级A毛片免费观看久久精品</a>| <a href="http://guakao88.com" target="_blank">免费看大黄高清网站视频在线</a>| <a href="http://wlamyx.com" target="_blank">亚洲精品乱码久久久久久下载 </a>| <a href="http://yisousou.com" target="_blank">4399影视免费观看高清直播</a>| <a href="http://786087.com" target="_blank">亚洲中文字幕久久精品无码APP </a>| <a href="http://benjiebf.com" target="_blank">手机看片国产免费永久</a>| <a href="http://fense1.com " target="_blank">亚洲综合激情另类小说区</a>| <a href="http://006dh.com" target="_blank">四虎影视www四虎免费</a>| <a href="http://www-777730.com" target="_blank">亚洲色精品VR一区区三区</a>| <a href="http://datian-cn.com" target="_blank">免费A级毛片无码久久版</a>| <a href="http://cdhxfj.com" target="_blank">免费人成在线观看视频高潮</a>| <a href="http://hezuoedu.com" target="_blank">亚洲国产电影av在线网址</a>| <a href="http://wwwkk5679.com" target="_blank">特级aa**毛片免费观看</a>| <a href="http://abab14.com" target="_blank">亚洲第一区在线观看</a>| <a href="http://fdhkauto.com" target="_blank">3344在线看片免费</a>| <a href="http://fshomppa.com" target="_blank">亚洲乱亚洲乱妇24p</a>| <a href="http://xxzyyj.com" target="_blank">亚洲国产精品无码久久久不卡</a>| <a href="http://516698.com" target="_blank">永久免费av无码不卡在线观看 </a>| <a href="http://jggbk.com" target="_blank">亚洲成色999久久网站</a>| <a href="http://4438xa48.com" target="_blank">97人妻精品全国免费视频 </a>| <a href="http://html5text.com" target="_blank">免费观看国产网址你懂的</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>