-
Notifications
You must be signed in to change notification settings - Fork 2
Scripting Anchor Points
Andreas W. Bartels edited this page Nov 21, 2017
·
3 revisions
Configuration
<initializer>
<script:language>GROOVY</script:language>
<script:groovyScript>
<script:uri>LoadMap.groovy</script:uri>
</script:groovyScript>
</initializer>
Groovy Binding
- facade
Java Injection
- IFacade
Configuration
<closer>
<script:language>GROOVY</script:language>
<script:groovyScript>
<script:uri>WriteMap.groovy</script:uri>
</script:groovyScript>
</closer>
Groovy Binding
- facade
Java Injection
- IFacade
Configuration
<modes>
<mode>
<name>FOO</name>
<description>Foo and so on</description>
<icon>net/anwiba/script/icons/misc.png</icon>
<initializer>
:
</initializer>
<script>
:
</script>
<closer>
:
</closer>
</mode>
</modes>
Groovy Binding
- coordinate
- coordinateReferenceSystem
- buttonNumber
- clickCount
- geometryReceiver
- facade
Java Injection
- ICoordinate
- ICoordinateReferenceSystem
- IGeometryReceiver
- IFacade
Configuration
<toolbar>
<toolbaritem>
<menu:name>Load Backup</menu:name>
<menu:icon>net/anwiba/script/icons/misc.png</menu:icon>
<menu:tooltip><html>Load Backup<br>(Scripting Example)</html></menu:tooltip>
<script:script>
:
</script:script>
</toolbaritem>
<toolbaritem>
:
</toolbaritem>
<toolbar>
Groovy Binding
- monitor
- canceler
- facade
Java Injection
- IMessageCollector
- ICanceler
- IFacade
Configuration
<menu:menus>
<menu:menu>
<menu:name>Scripting</menu:name>
<menu:submenu>
<menu:name>Deutschland</menu:name>
<menu:menuitem>
<menu:name>Deutschland</menu:name>
<script:script>
:
</script:script>
</menu:menuitem>
:
<menu:submenu>
:
<menu:menuitem>
<menu:name>Create Polygons</menu:name>
<script:script>
:
</script:script>
</menu:menuitem>
:
<menu:menu>
:
<menu:menus>
Groovy Binding
- monitor
- canceler
- facade
Java Injection
- IMessageCollector
- ICanceler
- IFacade
Configuration
<popup:popup>
<popup:type>{Anchor Point}</popup:type>
<popup:menuitem>
<popup:name>Map Popup Script (groovy)</popup:name>
<popup:applicable>
<popup:script>
:
</popup:script>
</popup:applicable>
<script:script>
:
</script:script>
</popup:menuitem>
<popup:menuitem>
<popup:name>Map Popup Script (java)</popup:name>
<script:script>
:
</script:script>
</popup:menuitem>
</popup:popup>
</popup:popups>
Groovy Binding
- monitor
- canceler
- facade
Java Injection
- IMessageCollector
- ICanceler
- IFacade
Configuration
<popup:popup>
<popup:type>Map</popup:type>
<popup:menuitem>
:
</popup:menuitem>
:
</popup:popup>
Groovy Binding
- monitor
- canceler
- facade
Java Injection
- IMessageCollector
- ICanceler
- IFacade
Configuration
<popup:popup>
<popup:type>Layer</popup:type>
<popup:menuitem>
:
</popup:menuitem>
:
</popup:popup>
Groovy Binding
- monitor
- canceler
- facade
Java Injection
- IMessageCollector
- ICanceler
- IFacade
Configuration
<popup:popup>
<popup:type>LAYER_MANAGER</popup:type>
<popup:menuitem>
:
</popup:menuitem>
:
</popup:popup>
Groovy Binding
- monitor
- canceler
- facade
- path
- dataStoreReference
- layerReference
Java Injection
- IMessageCollector
- ICanceler
- IFacade
- IDataStoreReference
- ILayerReference