To help users avoid writing extensive code to implement the interface construction of application systems and instead focus on business function implementation, SuperMap iDesktopX provides an interface configuration management approach. It achieves interface layout and construction through config files, and the interface style adopts the Ribbon mode, i.e., the Microsoft Office 2007 style interface; the functions bound to interface elements are also specified when configuring interface elements.
SuperMap iDesktopX provides a tag for each interface element. When adding interface elements to the interface, you only need to add and set the corresponding tag in the config file. When adding multiple interface elements, you add multiple tags for the interface elements and set the attributes of the tags. Therefore, this allows easy addition of 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.
The interface style adopted by SuperMap iDesktopX is the Ribbon style, which is the familiar Microsoft Office 2007 interface style. The following details how to construct the interface, add interface elements, and specify the behavior (onAction) of interface elements through config files.
The interface configuration of plugins is mainly divided into the following types. These types of interface configuration content must be placed within the … tags in the plugin config file, and these types of interface configuration are at the same level. There is no inclusion relationship between them; rather, they are in a parallel relationship.
- Ribbon Configuration(Ribbon)
- Status Bar Configuration(Statusbar)
- Start Menu Configuration(StartMenu)
- Context Menu Configuration(ContextMenu)
- Dock Bars Configuration(Dockbar)
Related Topics