[udig-devel] How to get the object Layer from its path?

Schmitt, Magna (CIP) M.SCHMITT at CGIAR.ORG
Thu May 17 11:57:26 PDT 2007


Hello:
How can I get a layer object just telling the path of a shapefile?, The only way I know for the moment is by using "net.refractions.udig.ui.operation" extension point :ILayer layer = (ILayer) target. But if this layer is not selected or displayed in the "MapEditor", how can I get the Layer just by its path?

Thanks,
Magna


More information about the udig-devel mailing list