Proof of concept: gvSIG 1.11 libraries as a plugin in an Eclipse RCP app

As Tobias suggested, it's easy to wrap the AWT-based gvSIG canvas in a SWT component.

I have thus created a proof of concept Eclipse RCP application where I have added gvSIG's main mapping libraries as a plugin. You can see the workspace source code here:

https://svn.prodevelop.es/public/labs/users/jldominguez/workspaces/gvsig/eclipse_rcp/

That does not include the gvSIG mapping plugin itself. You need to created it from the JAR files available in the lib folder.

This short video shows a couple shapefiles being reprojected on the fly:



The Eclipse website lists some Eclipse RCP-based sample applications, and at least one of them is under GNU/GPL.

Comments

  1. As for the license issue: strictly speaking, the only way to use a GNU/GPL plugin in an Eclipse RCP application is by creating a "license exception", which is not always possible. A clarifying article here:

    http://mmilinkov.wordpress.com/2010/04/06/epl-gpl-commentary

    There are some Eclipse RCP applications and Eclipse plugins licensed under GNU/GPL. In those cases, I presume one of the following two things are happening:

    - they have applied the "license exception"

    - they are not distributing code or libraries from the Eclipse project in their packages/installers, so they let the final user be the one who "infringes" the GNU/GPL license by merging EPL and GPL software in the final application.

    ReplyDelete

Post a Comment

Popular posts from this blog

Transformación de CANOA (Venezuela) a WGS84 en gvSIG mediante una rejilla que simula el método Molodensky-Badekas

Computing and applying an affine transformation to a vector layer using gvSIG and Quantum GIS

Molodensky-Badekas transformation in gvSIG 2.0.0