Plugin Configuration
The config files for SuperMap iDesktopX are written using standard XML syntax. The plugin configuration content is contained between the <plugin>...</plugin> tags, as shown below:

Where <?xml version="1.0" encoding="utf-8"?> is the header of the XML file, indicating version information and the character encoding type used. The following details the meaning and function of each attribute of the <plugin>...</plugin> tags.
- xmlns: The namespace for the plugin config file. Its value must be: "http://www.supermap.com/desktop".
- name: the name of the plugin.
- author: the author of the plugin.
- url: The plugin developer can provide a URL for users to access or learn more information.
- description: the descriptive information about the plugin.
The <runtime> tag is used to provide information about the plugin runtime library. Where:
- packageName: The jar file name (module name) that implements the plugin. This attribute's value must be set correctly.
- pluginClassName: The name of the "plugin class" that implements the functionality. This class must inherit from the AbstractPlugin class. The class name given here for the plugin implementation must be the fully qualified name, i.e., its package must be specified. This attribute's value must be set correctly.
- enabled: It is used for controlling whether to load the plugin. True means to load the plugin. False is the opposite.
Related Topics