<!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, 2003 IBM Corporation and others.
All rights reserved.
本程式和隨附的資料可以根據隨附這項分送且可在 http://www.eclipse.org/legal/cpl-v10.html 中取得之 Common Public License v1.0 之條款來使用