文档结构
代码示例如下
<?xml version="1.0" encoding="utf-8" ?>
<PluginFile Name="IASystem.ProjectManage"
Author="Zhan zhao"
Version="1.0"
Description="projectManage Plugin.">
<Manifest>
</Manifest>
<Runtime Assembly="IA.ProjectManagePlugin.dll"/>
<Resources>
<String Language="zh_cn" File="Language/zh_cn/ia.projectmanageplugin_zh.qm"></String>
<String Language="en" File="Language/en/ia.projectmanageplugin_en.qm"></String>
<Icon File="resource/projectmanageplugin.res"></Icon>
</Resources>
<!--Initialize some plugin node Path-->
<Extension Path="/System/MainWindow/DockWindow">
<DockWindow Name="LayerListView" Text="LayerListView" DefaultPosition="Left" ></DockWindow>
<DockWindow Name="ResourceView" Text="ResourceView" DefaultPosition="Left" ></DockWindow>
<DockWindow Name="TaskView" Text="TaskView" DefaultPosition="Left" ></DockWindow>
<DockWindow Name="LogView" Text="LogView" DefaultPosition="Bottom"></DockWindow>
<DockWindow Name="ToolBoxView" Text="ToolBoxView" DefaultPosition="Right"></DockWindow>
</Extension>
<Extension Path="/System/MainWindow/View">
<View Name="MapView" Text="MapView" DefaultPosition="Left"></View>
</Extension>
<Extension Path="/System/MainWindow/StatusBar">
<Item Name="ProgressItem" Type="Item" Class="ProgressItem"/>
<Item Name="CoordsLabel" Type="Item" Class="CoordsLabel"/>
<Item Name="CoordsItem" Type="Item" Class="CoordsItem"/>
<Item Name="RenderSuppressionItem" Type="Item" Class="RenderSuppressionItem"/>
</Extension>
<Extension Path="/System/MainWindow/Menu">
<CategoryItem Name="project management" Text="project management" Type="Category">
<CategoryItem Name="openProject" Text="open" Icon=":/icon/mOpen.svg" ToolButtonStyle="ToolButtonTextOnly"
Type="Command" Class="OpenProjectCommand" />
</CategoryItem>
</Extension>
<Extension Path="/System/MainWindow/Toolbar">
<CategoryItem Name="MapTools" Text="Map Tools" Type="Category">
<CategoryItem Name="AddData" Text="Add Data" Icon=":/Home/AddData32.png" Type="Command" Class="AddDataCommand"/>
</CategoryItem>
</Extension>
</PluginFile>