<!ELEMENT extension (launchConfigurationType*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT launchConfigurationType (fileExtension+)>
<!ATTLIST launchConfigurationType
id CDATA #REQUIRED
delegate CDATA #REQUIRED
modes CDATA #REQUIRED
name CDATA #REQUIRED
public (true | false)
category CDATA #IMPLIED
sourcePathComputerId CDATA #IMPLIED
sourceLocatorId CDATA #IMPLIED>
ILaunchConfigurationDelegate
的 Java 类的标准名称。此类型的启动配置实例将委托此类的实例执行启动。true
。null
)。类别是客户机定义的。在 2.1 发行版中添加了此属性。<!ELEMENT fileExtension EMPTY>
<!ATTLIST fileExtension
extension CDATA #REQUIRED
default (true | false) >
false
。
在上面的示例中,指定的启动配置类型同时支持运行和调试方式。启动配置适用于 .txt 和 .gif 文件,并且是 .txt 文件的缺省启动配置。<extension point=
"org.eclipse.debug.core.launchConfigurationTypes"
>
<launchConfigurationType id=
"com.example.ExampleIdentifier"
delegate=
"com.example.ExampleLaunchConfigurationDelegate"
modes=
"run,debug"
name=
"Example Application"
>
<fileExtension extension=
"txt"
default=
"true"
/>
<fileExtension extension=
"gif"
default=
"false"
/>
</launchConfigurationType>
</extension>
Copyright (c) 2000, 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