<!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. 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