<!ELEMENT extension (launchConfigurationComparator*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT launchConfigurationComparator EMPTY>
<!ATTLIST launchConfigurationComparator
id CDATA #REQUIRED
attribute CDATA #REQUIRED
class CDATA #REQUIRED>
在上面的示例中,当比较键入的属性与名称 com.example.ExampleAttributeName 的等同性时将咨询指定类型的启动配置比较程序。<extension point=
"org.eclipse.debug.core.launchConfigurationComparators"
>
<launchConfigurationComparator id=
"com.example.ExampleIdentifier"
attribute=
"com.example.ExampleAttributeName"
class=
"com.example.ComparatorImplementation"
>
</launchConfigurationComparator>
</extension>
Copyright (c) 2000, 2004 IBM Corporation and others.
All rights reserved. 本程序及所附带提供的资料依据 Common Public License v1.0 的条款方可使用,本发行中提供了该许可条款,并且在以下位置也可获得该条款:http://www.eclipse.org/legal/cpl-v10.html。