<!ELEMENT extension (variable*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT variable EMPTY>
<!ATTLIST variable
name CDATA #REQUIRED
resolver CDATA #REQUIRED
description CDATA #REQUIRED
supportsArgument (true | false) >
org.eclipse.core.variables.IDynamicVariableResolver
(它用来确定变量的值)的 Java 类true
。<extension point=
"org.eclipse.core.variables.dynamicVariables"
>
<variable name=
"resource_name"
expanderClass=
"com.example.ResourceNameExpander"
description=
"The name of the selected resource"
>
</variable>
</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