這個延伸點以提供更多內容、其他 StandbyContentParts 或其他 IntroUrl 動作,來延伸現有的簡介配置。
從 3.2 開始,這個延伸點也用來提供呈現佈景主題,供歡迎使用實作用來區分內容和呈現。
<!ELEMENT extension (configExtension+ , standbyContentPart* , action* , theme*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT configExtension EMPTY>
<!ATTLIST configExtension
configId CDATA #REQUIRED
content CDATA #REQUIRED>
可定義簡介配置的延伸。 如果簡介部分配置中的任何一頁或群組有定義錨點來宣告延伸性的話, 它們全都可以延伸。
<!ELEMENT standbyContentPart EMPTY>
<!ATTLIST standbyContentPart
id CDATA #REQUIRED
pluginId CDATA #REQUIRED
class CDATA #REQUIRED>
standbyContentPart 登錄。登錄之後,您就可以透過下述格式的 introURL 動作,來啟動待機部分:
http://org.eclipse.ui.intro/showStandby?partId=<id of standbyContentPart>
org.eclipse.ui.intro.config.IStandbyContentPart
來處理顯示替代待命內容(如:提要)之類別的完整類別名稱。<!ELEMENT action EMPTY>
<!ATTLIST action
name CDATA #REQUIRED
replaces CDATA #REQUIRED>
自訂「簡介 URL」動作登錄。您可以用它建立新的簡介 URL 動作,或是通往預先定義之動作的捷徑。
<!ATTLIST theme
id CDATA #REQUIRED
name CDATA #REQUIRED
path CDATA #REQUIRED
default (true | false) "false"
previewImage CDATA #IMPLIED>
<!ELEMENT property EMPTY>
<!ATTLIST property
name CDATA #REQUIRED
value CDATA #REQUIRED>
可供簡介配置者用來進一步自訂簡介呈現方式的選用佈景主題內容。
<extension point=
"org.eclipse.ui.intro.configExtension"
>
<configExtension configId=
"com.org.xyz.introConfig"
content=
"extensionContent.xml"
/>
<standbyContentPart id=
"com.org.xyz.myStandbyPart"
class=
"com.org.xyz.internal.MyStandbyContent"
pluginId=
"com.org.xyz"
/>
<action name=
"shortcutAction"
replaces=
"http://org.eclipse.ui.intro/showStandby?partId=com.org.xyz.myStandbyPart"
/>
<action name=
"customAction"
replaces=
"runAction?pluginId=com.org.xyz&class=com.org.xyz.CustomAction&param1=value1"
/>
<theme id=
"com.example.intro.flowers"
name=
"A Nice Flowers Welcome"
path=
"$nl$/themes/flowers"
previewImage=
"$nl$/themes/flowers/preview.png"
>
</theme>
</extension>
Copyright (c) 2004, 2006 IBM Corporation and others.
All
rights reserved.本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html