<!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>
<!ELEMENT fileExtension EMPTY>
<!ATTLIST fileExtension
extension CDATA #REQUIRED
default (true | 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, 2004 IBM Corporation and others.
All rights reserved.
This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html