org.eclipse.pde.ui.pluginContent 延伸點,組合成一個外掛程式內容精靈。這些範本會為新建立的外掛程式專案,建立有趣的內容。此外,在外掛程式內容精靈的特殊版本中,可以看到以這個延伸點來提供的所有範本,精靈中會列出範本,且可讓使用者在清單勾選範本來自行合併範本。
<!ELEMENT extension (template+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT template EMPTY>
<!ATTLIST template
id CDATA #REQUIRED
name CDATA #REQUIRED
icon CDATA #IMPLIED
class CDATA #REQUIRED
contributingId CDATA #REQUIRED
>org.eclipse.pde.ui.templates.ITemplateSection 介面之類別的完整名稱。
<extension point="org.eclipse.pde.ui.templates"> <template contributingId="org.eclipse.ui.actionSets" name="XYZ Action Set Generator" class="com.example.xyz.XYZActionSetTemplate" id="com.example.xyz.ActionSetTemplate"> </template> </extension>
org.eclipse.pde.ui.templates.ITemplateSection 介面的類別。
不過,您可以使用實作介面且能夠延伸的抽象類別。
Copyright © 2004 IBM Corporation and others.
All rights reserved. 本程式與隨附的資料依照本發行版所隨附的 Elipse Public License 1.0 版條款而提供,可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html。