...
Name | type | cardinality | description |
label | String | 0..1 | Label to display in tab |
location | String | 1..1 | Which region to add the view to |
toolbar | toolbar | 0..1 | A toolbar of items to appear at the top of the view |
statusbar | statusbar | 0..1 | A toolbar of items to appear at the bottom of the view |
contextmenu | contextmenu | 0..1 | a right-click context menu |
checkParentOnVisible | boolean | 0..1 | Should the parent group also be turned on when a layer is turned on , the. The default is |
turnOnActive | boolean | 0..1 | Should the associated layer be turned on when the active entity is changed? The default is false. Only available since 2.5.26 |
allowExclusiveOff | boolean | 0..1 | Should it be possible to turn off the active child in an exclusive toc group? Prior to 2.6.5 the default was true, 2.6.5 and layer the default is false. Only available since 2.6.6 and 2.6.5 .26..2 |
activateEntity | boolean | 0..1 | Should the associated entity by set active when the layer is turned on? The default is false. Only available since 2.6.6 |
Code Block | ||||
---|---|---|---|---|
| ||||
<view id="com.cohga.html.client.map.tocView"> <label>Layers</label> <location>west</location> <toolbar> <item action="weave.toc.expandAll"/> <item action="weave.toc.collapseAll"/> <item action="weave.toc.save"/> <item action="weave.toc.load"/> <item>-></item> <item action="weave.toc.favourites"/> <item component="weave.toc.filter"/> </toolbar> <contextmenu> <item action="weave.toc.styleLayer"/> <item action="weave.toc.selectLayer"/> <item action="weave.toc.zoomToLayer"/> <item action="weave.toc.zoomSelection"/> <item action="weave.toc.zoomToMinScale"/> <item action="weave.toc.zoomToMaxScale"/> <item action="weave.toc.clearSelection"/> <item action="weave.toc.lockLayer"/> <item action="weave.toc.favourite"/> <item action="weave.toc.checkAll"/> <item action="weave.toc.uncheckAll"/> </contextmenu> </view> |
...