Thank Edgar. Your advice is very helpful.

elton

--- On Thu, 10/27/11, [email protected] <[email protected]> wrote:

> From: [email protected] <[email protected]>
> Subject: Re: [JPP-Devel] how to retrieve/identify selected layer?
> To: [email protected], "OpenJump develop and use" 
> <[email protected]>
> Date: Thursday, October 27, 2011, 10:12 PM
> use
> 
> wbc.getLayerNamePanel().getSelectedLayers()
> 
> generally when coming across issues like that, check
> functionality that already does that. e.g. check the layer
> tree context menu for an entry, find the string in
> language/jump.properties and follow it to the plugin (each
> menu entry is usually a plugin) and look how it gathers the
> selected layer.
> 
> good luck.. ede
> 
> On 27.10.2011 15:55, Elton Chan wrote:
> > Hi All,
> > 
> > Suppose there are two datasets in the layer view (i.e.
> two layers),then how can I retrieve the selected layer? I've
> checked functions of LayerManager, but it seems it can
> return list of layers only.
> > 
> > thanks,
> > elton
> > 
> > 
> >
> ------------------------------------------------------------------------------
> > The demand for IT networking professionals continues
> to grow, and the
> > demand for specialized networking skills is growing
> even more rapidly.
> > Take a complimentary Learning@Cisco Self-Assessment
> and learn 
> > about Cisco certifications, training, and career
> opportunities. 
> > http://p.sf.net/sfu/cisco-dev2dev
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to