<!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, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.