當簡介網頁處於待命模式時,外掛程式也可以實作一個部分來顯示替代內容。 舉例來說,平台會定義一個待命部分,顯示相關簡介內容的提要。 這個部分是利用與專用 URL 的網頁鏈結來啟動。 待命部分則是利用含有顯示待命部分之特殊指令的 URL 來啟動, 例如 http://org.eclipse.ui.intro/showStandby?partId=somePartId。 這個部分是在 org.eclipse.ui.intro.configExtension 延伸的 standbyContentPart 子元素中定義。 您必須為這個部分指定 id、pluginId 和 class。 該類別必須實作 IStandbyContentPart。 下述片段所示範的是,平台如何定義待命部分來顯示提要。
<extension point="org.eclipse.ui.intro.configExtension"> <standbyContentPart id="org.eclipse.platform.cheatsheet" class="org.eclipse.platform.internal.CheatSheetStandbyContent" pluginId="org.eclipse.platform"/> </extension>本提要可以利用 URL 為 http://org.eclipse.ui.intro/showStandby?partId=org.eclipse.platform.cheatsheet&input=org.eclipse.pde.helloworld 的 link 子元素,從簡介網頁啟動。 這個 IntroURL 會啟動 org.eclipse.platform.cheatsheet 待命內容部分,並且將其輸入設為 "org.eclipse.pde.helloworld"。 不過,有關實作待命部分的詳細機制,就不在本文的討論範圍內了。 如果需要詳細資訊,請參閱 IStandbyContentPart 及其相關類別。