對於eclipse插件開發,我怎麼能知道plugin.xml中的所有標籤都可用?
是否有可用的標籤列表?eclipse中plugin.xml中的所有可用標記
0
A
回答
0
從eclipse.org給出的article您需要根據您的插件配置
您可以使用Eclipse使用編輯這個文件中plugin.xml
<?xml version="1.0"?>
<plugin
name="Eclipse Hello World Example"
id="org.eclipse.examples.helloworld"
version="0.0.0"
provider-name="OTI">
<requires>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.ui"/>
</requires>
<runtime>
<library name="helloworld.jar"/>
</runtime>
<extension point = "org.eclipse.ui.actionSets">
<actionSet
id="org.eclipse.examples.helloworld.HelloWorldActionSet"
label="Hello World"
visible="true"
description="The action set for the Eclipse Hello World example">
<menu
id="org.eclipse.examples.helloworld.HelloWorldMenu"
label="Samples">
<separator name="samples"/>
</menu>
<action id="org.eclipse.examples.helloworld.actions.HelloWorldAction"
menubarPath="org.eclipse.examples.helloworld.HelloWorldMenu/samples"
toolbarPath="Normal"
label="Hello World"
tooltip="Press to see a message"
icon="icons/helloworld.gif"
class="org.eclipse.examples.helloworld.HelloWorldAction"/>
</actionSet>
</extension>
</plugin>
設置這些標籤只需編輯plugin.xml
文件,並把這些標籤默認的文本編輯器。爲此,請選擇窗口 - >首選項,展開工作臺條目,然後選擇文件關聯。添加資源擴展xml,並將文本編輯器添加到其關聯。現在,當您嘗試在.xml文件上打開編輯器時,您將使用默認文本編輯器執行此操作.PDE使複雜插件更輕鬆
1
plugin.xml中可用的一組標籤是在Eclipse的不同安裝中不是有限的,也不是相同的。擴展點由確定plugin.xml子集模式的各種插件提供。
要理解這一點,請不要使用文本編輯器來編輯plugin.xml文件。始終使用PDE附帶的基於表單的編輯器。它將指導您發現可用的擴展點及其屬性。
相關問題
- 1. 在plugin.xml中使用eclipse構建圖標
- 2. Devolping Eclipse插件。 plugin.xml中
- 3. eclipse中的android更新幾乎所有標記爲錯誤
- 4. 標記欄在Eclipse中不可見
- 5. Eclipse-Plugin - plugin.xml - 理解?after = refactor
- 6. 列出Cucumber中的所有可用標記
- 7. Eclipse中的隱形標記
- 8. 在aem中顯示所有可用標記
- 9. 防止HTMLPurifier中的所有html標記
- 10. yang vim中的所有標記行
- 11. 是否有可能從網頁中拉出所有iframe標記
- 12. 在Eclipse中標記文件
- 13. 在Eclipse中隱藏標記
- 14. 在'plugin.xml'中爲一個eclipse插件使用一個類字段
- 15. 單獨的eclipse plugin.xml SWTBot測試
- 16. 如何查找XML中特定標記內的所有標記
- 17. Eclipse中IRemoteFile中的標記錯誤
- 18. AbstractUIPlugin錯誤和從Eclipse中plugin.xml中缺少選項卡
- 19. 在SPSS中標記所有變量的所有負值缺失
- 20. GMSCoordinateBounds返回所有標記而不是僅僅可見標記
- 21. 使用kendoEditor從MVC中的HTML TextArea中刪除所有標記
- 22. eclipse plugin.xml中的以下代碼行是什麼意思?
- 23. 如何在android中顯示googlemap中的所有標記標題
- 24. eclipse中的建議方法的標記
- 25. Activator.getImageDescriptor(路徑)返回null即使plugin.xml中利用圖標的
- 26. Java:用錨定標記替換所有的URL並不在錨標記中
- 27. 使用Acts_As_Taggable_On進行Rails標記:查找上下文中的所有標記
- 28. 是否有可能使用jQuery從段落中刪除所有定位標記?
- 29. 將標記監聽器添加到循環中的所有標記中
- 30. 如何使用css禁用jsp中的所有td標記
問題不在於要求示例plugin.xml文件。 –