Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] integrating the map viewer as plug-in in own RCPapp

Thank you, Tawan

I am still in the analysis phase - ie reading code as im new both to GIS and uDig. I am not quite sure when I will be able to begin yet as I am not able to reproduce the results im getting at work with winXP at home with Ubuntu 10.4. I am not yet able to add background information shape files under Linux. The import dialog just doesnt recognise the .shp and image files from uDig data as importable. As I only have the Fridays to do the uDIg stuff it could take me a while... So please inform me on your progress and I will gladly contribute.

One thing that should be improved - changing the actions used in the example to commands (where possible)

Regards
Konstantin 

-----Ursprüngliche Nachricht-----
Von: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] Im Auftrag von Jody Garnett
Gesendet: Donnerstag, 1. Juli 2010 11:17
An: Tawan Banchuen
Cc: User-friendly Desktop Internet GIS
Betreff: Re: [udig-devel] integrating the map viewer as plug-in in own RCPapp


On 01/07/2010, at 5:41 PM, Tawan Banchuen wrote:

> Jody, 
> 
> I would love to collaborate with Konstatin on this.  I am still having the same problem.  The Seagull Tracking (the commercial one) does not show how to link various views (map, layer, catalog, etc.) together (I double checked).  When I added a new map, it does not show up on the layer list and so forth.

No it does not - its goal is to show how to embed a map in your existing RCP application with absolutely no uDig supplied menu / view content to disrupt your otherwise innocent RCP application.

So the place to check would be :
- Application GIS - it watches the workbench on behalf of several of the views; many actions check with ApplicationGIS to see if there is an IMap they can work with
- The Layers view predates ApplicationGIS and performs this work itself - ie supposed to each the workbench and as a workbench part (view or editor) is selected check to see if it's selection can adapt to a IMap; and if so it latches on and offers to help the user control and interact with it. 

If there are problems with this mechanism please suggest a patch/fix and we can make it work.

> I don't see a template file at 
> 
>> http://svn.refractions.net/udig/docs/trunk/
> 
> Is it the file 'workbook.ott'?
> 
Correct; and if you have any sample code to commit to that tutorial I am happy to review.

Jody


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


Back to the top