In order to avoid writing a lot of codes to realize the interface construction of the application system, and to focus on the realization of business functions, SuperMap iDesktopX provides a way of interface configuration management to realize the layout and construction of the interface through Config File. The Region Style uses Ribbon mode, that is, the Microsoft Office 2007 style interface; the functions bound to the interface elements are also specified when configuring the interface elements.
SuperMap iDesktopX provides a tag for each interface element. When adding an interface element to the interface, you only need to add and set the tag corresponding to the interface element in the Config File. When adding multiple interface elements, you need to add the tags of multiple interface elements and set the attributes of the tags. Therefore, it is easy to add corresponding interface elements, such as buttons, text boxes, combo boxes, and more complex elements, to the basic framework provided by SuperMap iDesktopX, and the functions implemented by each interface element are also specified in the Config File.
SuperMap iDesktopX adopts the interface Region Style Ribbon style, which is the familiar interface Region Style of Microsoft Office 2007. The following is a detailed description of how to build the interface through Config File. Add an interface element and specify the behavior of the interface element (onAction).
Plug-in interface configuration is mainly divided into the following categories, which must be placed in the plug-in Config File. Within the label, and these types of interface configurations are at the same level, there is no containing and containing relationship between them, but a parallel relationship.
- Ribbon configuration(Ribbon)
- Status bar configuration(Statusbar)
- Start menu configuration(StartMenu)
- Context Menu configuration(ContextMenu)
- Dock Bars configuration(Dockbar)
Related content
Plug-in configuration overview