<!ELEMENT extension (configExtension+ , standbyContentPart* , action*)>
<!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 動作,或是通往預先定義之動作的捷徑。
<extension point=
"org.eclipse.ui.intro.configExtension"
>
<configExtension configId=
"com.org.xyz.introConfig"
content=
"extensionContent.xml"
/>
<standbyPart 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"
/>
</extension>
Copyright (c) 2004 IBM Corporation and others.
All rights reserved. 本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html