<!ELEMENT extension (variablePresentation*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT variablePresentation EMPTY>
<!ATTLIST variablePresentation
variableName CDATA #REQUIRED
argumentSelector CDATA #REQUIRED>
IArgumentSelector
的 Java 類別的完整名稱在上述範例中,所提供的呈現方式供名為 "example_variable" 的變數使用。這時會指定一個引數選擇器,為這個變數配置一個合適的引數。<extension point=
"org.eclipse.debug.ui.stringVariablePresentations"
>
<variablePresentation variableName=
"example_variable"
argumentSelector=
"com.example.ExampleArgumentChooser"
>
</variablePresentation>
</extension>
Copyright (c) 2003, 2005 IBM Corporation and others.
All
rights reserved. 本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html