配置状态栏

  状态栏(statusbar)配置,应用程序中的主窗口、子窗口都可以有自己的状态栏,并且每个窗口只能有一个状态栏,状态栏的配置通过 … 标签来配置,状态栏上可以放置各种 Ribbon 控件,向状态栏中添加 Ribbon 控件只需在 … 标签之间配置相应控件的标签即可。

<statusbars>
    <statusbar formClass="com.supermap.desktop.mapview.FormMap" id="Map" visible="true">
        <label index="1" label="选择个数:" visible="true" width="120"/>
        <label index="2" label="20" visible="true" width="0"/>
        <label index="3" label="  比例尺:" visible="true" width="0"/>
        <comboBox customProperty="" helpURL="" id="Scale" image="" index="4" label="比例尺" screenTip="" onAction="CtrlActionMapScale" screenTipImage="" visible="true" width="180">
            <item customProperty="" image="" index="0" label="1:5,000"/>
            <item customProperty="" image="" index="0" label="1:10,000"/>
            <item customProperty="" image="" index="0" label="1:25,000"/>
            <item customProperty="" image="" index="0" label="1:50,000"/>
            <item customProperty="" image="" index="0" label="1:100,000"/>
            <item customProperty="" image="" index="0" label="1:250,000"/>
            <item customProperty="" image="" index="0" label="1:500,000"/>
            <item customProperty="" image="" index="0" label="1:1,000,000"/>
        </comboBox>
        <textBox index="5" label="经度纬度" onAction="" readOnly="true" screenTip="" screenTipImage="" text="经度:***,纬度:***" visible="true" width="0"/>
        <textBox index="6" label="坐标系" onAction="" readOnly="true" screenTip="" screenTipImage="" text="坐标系:GCS_WGS_1984" visible="true" width="0"/>
        <label index="7" label="中心点:" visible="true" width="0"/>
        <textBox index="8" label="X" onAction="" readOnly="true" screenTip="" screenTipImage="" text="0" visible="true" width="0"/>
        <textBox index="9" label="Y" onAction="" readOnly="true" screenTip="" screenTipImage="" text="0" visible="true" width="0"/>
        <button index="10" onAction="CtrlActionCopyCenterPoint" screenTip="复制中心点坐标" image="../resources/MapView/Menu/CenterPositionCopy.png" visible="true" style="MEDIUM"/>
        <button index="11" onAction="CtrlActionPasteCenterPoint" screenTip="粘贴中心点坐标" image="../resources/MapView/Menu/CenterPositionPaste.png" visible="true" style="MEDIUM"/>
    </statusbar>
</statusbars>

  … 标签的配置内容要放置在配置文件中的… 标签之间,即 标签表示该插件配置文件中所配置的所有状态栏的集合,下面详细介绍 … 标签的各个属性的含义与作用。

  状态栏中可以放置 Ribbon 控件,配置 Ribbon 控件的标签都组织在 < statusbar ></ statusbar > 之间。下面详细介绍Ribbon控件 标签的各个属性的含义与作用。

相关内容

   环境部署

   工程模版

   插件配置概述

   界面配置

   功能区配置

   配置文件菜单

   配置右键菜单

   配置浮动窗口

   属性信息