Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] uDIG as RCP plugin

Answers inline.

On 26/04/2010, at 6:00 PM, Marcel. wrote:

> Dear uDIG developers,
> 
> i'm developping an RCP-Application and would like know if it is possible to
> integrate uDIG-GIS as an optional plugin.

Yes; one of the tutorials goes over making an RCP application that includes uDig; you can take similar steps
to include uDig features with your existing RCP application.

uDig is explicitly intended for use in RCP application; it is not intended to be folded into the Eclipse IDE. 

> I looked in the SDK resources and also read the SDK manual but as far as i know
> this describes how to built a complete custom (RCP) application.

The same steps are required in each case. You may actually use only a subset of the plugins depending on what
parts of uDig you are wishing to integrate.

There is a second example example in the tutorials showing just the plugins required for map rendering (but not including a map editor). The example shows adding uDig plugins to the default "RCP Mail" application (using a MapViewer widget similar in spirit to a JFace viewer).
- http://udig.refractions.net/confluence/display/DEV/2+Training+Materials#2TrainingMaterials-Tracking

The example is from the commercial training course (available from a number of providers on the support page); and can also be made to available to academics free of charge. The soruce code is also available in svn if you would like to have a look yourself.

> General my questions are:
> Is it general possible to create a uDIG plugin?

We use "features" to bundle up just the plugins you need (uDig is comprised of several plugins and you can choose what parts you want):
- the uDig platform (supporting geospatial data sources)
- the uDig application (supporting a MapEditor)

> Which plugins do i have to integrate to reuse the functionality of uDIG-GIS?

As an example you can take the core uDig platform plugins (net.refractions.udig.catalog; and then only add in the plugins supporting the data sources you want... net.refractions.udig.catalog.wfs, net.refractions.udig.catalog.shape for example).

For reference try looking at those used for the tracking example:
- http://svn.refractions.net/udig/udig/trunk/tutorials/net.refractions.udig.tutorials.rcp-feature/feature.xml

> 
> Any help is appreciated
> 
> Regards
> 
> Marcel
> 
> -- 
> View this message in context: http://gis.638310.n2.nabble.com/uDIG-as-RCP-plugin-tp4961439p4961439.html
> Sent from the udig-users mailing list archive at Nabble.com.
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users



Back to the top