hello michael and edgar,
ok thanks for the info,
@michael, by the way i tried the code you provide me with.
and i replace the argumetn of getRenderer with search().getID()
because search() method where i have my BasicFeature that i want it's color
to be changed ( i guess i didn't explain well my issue)
the method search()  search for a feature based on criteria provided by the
user and then my plugin must zoom in it and change it's color so as the
user can differenciate between the parcel (feature) that he wants and the
others next to him.
i succeeded to zokk in the parcels but i didn't in changing color ( i tried
paint method but it didn't work)

AbstractSelectionRenderer renderer = (AbstractSelectionRenderer)
     context
         .getLayerViewPanel()
         .getRenderingManager()
         .getRenderer(search().getID());

    renderer.setSelectionFillColor(color);



-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : [email protected]
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to