There are three mechanisms in eclipse to locate the language environment-specific files in the plug-in:
* Core platform mechanism (the platform Runtime is subject to subdirectory search in the language environment)
* Java resource bundle (Java. util. resourcebundl)
* Plugin. properties mechanism (convert values in the plugin. xml file)
Plugin. properties is one of them, which is used to convert values in the plugin. xml file.
For example, the plugin. properties file contains the following content:
Org. Eclipse. STP. Wizards. Category. LBL = SOA tools
In plugin. XML, You can reference: % key. The key is the key name of the Value Pair in plugin. properties.
< Extension
ID = "Org. Eclipse. STP. SC. SCA. java. jarbuilder"
Name = "% Org. Eclipse. STP. SC. SCA. java. jarbuilder. LBL"
Point = "Org. Eclipse. Core. Resources. Builders" >
< Builder Hasnature = "True" >
< Run Class = "Org. Eclipse. STP. SC. SCA. java. builders. jarbuilder" />
</ Builder >
</ Extension >
Among them, % org. Eclipse. STP. SC. SCA. java. jarbuilder. LBL corresponds to the value in plugin. properties: SOA tools