<!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>
在上述範例中,所提供的呈現方式供名為 "example_variable" 的變數使用。這時會指定一個引數選擇器,為這個變數配置一個合適的引數。<extension point=
"org.eclipse.debug.ui.stringVariablePresentations"
>
<variablePresentation variableName=
"example_variable"
argumentSelector=
"com.example.ExampleArgumentChooser"
>
</variablePresentation>
</extension>
Copyright (c) 2003, 2004 IBM Corporation and others.
All rights reserved.
本程式和隨附的資料可以根據隨附這項分送且可在 http://www.eclipse.org/legal/cpl-v10.html 中取得之 Common Public License v1.0 之條款來使用