Re: [udig-devel] Select features in multiple layers

2009-04-27 Thread Jesse Eichar
We have actually disallowed the selection from 2 layers to be rendered. It is not the best solution but was required because it was hard to otherwise have understandable workflows. From a coding point of view you may need a 3rd layer and use that as the selection layer and add and remove features

Re: [udig-devel] Select features in multiple layers

2009-04-24 Thread andrea antonello
Hi, to get more then one layer, you have to step down into the eclipse api and ask the view for what was selected: ISelection selection = PlatformUI.getWorkbench().getActiveWorkbenchWindow() .getActivePage().findView(LayersView.ID).getSite().getSelectionProvider()

[udig-devel] Select features in multiple layers

2009-04-24 Thread Rui Alves
Hi, I am using the latest uDig stable version 1.1.1 and I want to have the following scenario: I have a map with 4 layers: Layer4 - Lines Layer3 - Points type C Layer2 - Points type B Layer1 - Points type A I want to select (with the typical selection Bounding Box) points on Layer 1 and layer 3