[udig-devel] GeoSelectionService, ISelectionService and Programmatically Creating Selection

Jody Garnett jody.garnett at gmail.com
Thu May 27 18:09:17 PDT 2010


Thought that was covered in the tracking example.
The various layer and projects view track what is going on - and check
if the current workbench selection can adapt to a Map.  They may also
check the WorkbenchPart and if its selection can adapt to a Map. And
then as your map view is selected, the layers view looks at it - and
checks its getSite() etc...

Jody

On Fri, May 28, 2010 at 10:58 AM, Tawan Banchuen
<t.banchuen at auckland.ac.nz> wrote:
> Hi Jody,
>
> Thank you for the clarification.  That's very helpful.  I can focus on working with the workbench selection service until you perform your magic then. :-)
>
> You may also know the answer to a related question: My map view do not synchronize with any other views except for the Web view (see a snapshot of my application attached).  I can click on a Web link to a WMS server, and add a WMS layer to the map.  The layer, however, does not show up in the Projects view or the Layers view.  When I add a shapefile to the map, it also does not show up in either of those views.
>
> Btw, I added a uDig plug-in to my application following the Seagull Tracking example and turned on the Web, Projects and Layers view from the Window > Show View dialog.  Will the views link up if I define them in the same perspective like in the Custom Application example?
>
> Thanks again for your help.
>
> Best,
> Tawan
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>


More information about the udig-devel mailing list