Personal tools
You are here: Home Development Developers guide gvSIG Examples Zoom to selection
Document Actions

Zoom to selection

by Grupo gvSIG last modified 2010-06-01 22:52

Related to the previous example. Once we have a selection, we could analyse it and run any kind of processing over it.

  • config.xml.- The extension is defined with the button within the toolbar workshop.
  • SelectExtension.java.- Within the class it is discriminated in base of the action-command and the zoom code it is executed.

In the workshop, the ant script that is compiled by the pluggin is build.xml, and in addition to create the .jar, it copies the image directory, the potential libraries owned by the pluggin and the configuration and translation files. It is worthwhile to take a look at it, because it can be used for your own pluggins with little modification (usually variables at the beginning).


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: