Hi, I found the answer : SelectionManager sm = context.getLayerViewPanel().getSelectionManager(); sm.clear(); sm.getFeatureSelection().selectItems(layer, features);
Thank you :) > Message du 24/06/09 11:57 > De : "Rahkonen Jukka" <jukka.rahko...@mmmtike.fi> > A : "mickael.violle" <mickael.vio...@laposte.net>, "OpenJump develop and use" > <jump-pilot-devel@lists.sourceforge.net> > Copie à : > Objet : Re: [JPP-Devel] Select an item > > > Hi, > > Sorry, I cannot answer your question, but I see that you are working with > IACS/LPIS data and that interests me. Could you possibly provide some > information about your project, perhaps with personal mail? > > -Jukka Rahkonen- > > > mickael.violle wrote: > > Hello, > > I replaced the TreeView with a table and now I would like to select an item > when I click on its name (in the table). > For the moment only the zoom works but I have to click on the item to select > it. > > Have you any idea? > > Thank you. > > PS : In attachment, my problem in image. > > > > Créez votre adresse électronique prenom....@laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. > > > Créez votre adresse électronique prenom....@laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel