Configuring Dock Bars

The configuration content for dock bars must be placed within the <dockbar>...</dockbar> tags.

<dockbars>
    <dockbar title="Output Window" id="outputFrame" visible="true" dockDirection="bottom" dockState="minimized"
             component="com.supermap.desktop.controls.ui.output.OutputFrame"/>
    <dockbar title="Workspace Manager" id="workspaceComponentManager" visible="true" dockDirection="leftTop"
             dockState="normal" component="com.supermap.desktop.controls.ui.WorkspaceComponentManager"/>
    <dockbar title="Layer Manager" id="layersComponentManager" visible="true" dockDirection="leftBottom" dockState="normal"
             component="com.supermap.desktop.controls.ui.LayersComponentManager"/>
    <dockbar title="Properties" id="dataPropertyContainer" visible="false" dockDirection="right" dockState="normal"
             component="com.supermap.desktop.controls.property.DataPropertyContainer"/>
</dockbars>      

Each dock bar corresponds to a <dockbar>...</dockbar> tag in the config file. To add dock bars to the interface, simply add <dockbar>...</dockbar> tags with appropriate attribute settings. Multiple dock bars require multiple tags. Below are detailed explanations of each attribute:

  • title: The title of the dock bar.
  • dockState: Specifies the docking mode. Values: normal, minimized, maximized, float. Default is normal.
  • dockDirection: Specifies the docking position relative to the main window. Values: left, right, bottom, top.
  • visible: Determines visibility. true = visible, false = hidden.
  • component: The embedded control class in the dock bar (fully qualified class path). Must be correctly specified.

Related Topics

Environment Deployment

Project Template

Plugin Configuration Overview

Interface Configuration

Ribbon Configuration

Config File Menu

Configuring Status Bar

Configuring Context Menu

Attributes