<!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>
java.util.Comparator
的类的标准名称。
在上面的示例中,当比较键入的属性与名称 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, 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