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 RCP app

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




Back to the top