Plug-in configuration

The Config File of SuperMap iDesktopX is written in standard XML syntax, and the plug-in configuration content is included in … Between the labels, as follows:

  

Among XML version = "1.0" encoding = "utf-8"? > is the header of the XML file, which is used to describe the version information and the character Encode Type used. The meanings and functions of each attribute of the < plugin >.. tag are described in detail below.

  • " Xmlns: namespace for plugin Config File, value must be:" http://www.supermap.com/desktop ".".
  • name:The name of the plugin.
  • author:The author of the plugin.
  • URL: Plug-in developers can provide a URL for users to access or learn about.
  • description:The descriptive information about the plugin.

Tags are used to provide information about the plug-in runtime, where:

  • PackageName: the jarFile name (module name) of the implementation plug-in. The value of this attribute must be set correctly.
  • Plugin ClassName: Implements the name of the Plugin Class, which must inherit from the AbstractPlugin class. The class name given here to implement the plug-in must be the full name, that is, its package needs to be specified. The value of this property must be set correctly.
  • Enabled: Used to control whether to load the plug-in. True indicates that the plug-in is loaded and can be used; false indicates that the plug-in is not loaded and is disabled.

Related content

Environment deployment

Engineering template

Interface configuration

Ribbon configuration

Config File menu

Configure the status bar

Configure the Context Menu

Configure Dock Bars

Attributes