Hi Asma,

Have you look at the classes I told you a few days ago :

This one should be inherited by classes who want to render selected features
(seems what you want to do ?)
*com.vividsolutions.jump.workbench.ui.renderer.AbstractSelectionRenderer**

*This one seems to implement exectly what you want
*com.vividsolutions.jump.workbench.ui.renderer.SelectionBackgroundRenderer
*I think that selected features are currently filled with yellow, but this is
partly hidden behind the normal fill color*.
*It is probably only a matter of rendering order and transparency
*
*See also these classes to see how styles are applyed :*
*RenderingManager and SelectionManager to see how rendering is done

This class is the panel available in options where the user can define
the color of the selection outline (can be useful to see how the selection
renderer is customized and applied, especially in the okPressed method)
*org.openjump.core.ui.SelectionStyllingOptionsPanel*

Hope that helps,

Michaël


Hello every body,
i tried to do the same as the method updateStyles() in ColorThemingStylePanel.class but i didn't reach to do it, Since i don't need the modelTable, i think it's not a good way, because what i want to do is to change the color of the selected feature. Not all of then as the ColorThemingStylePnale does.
Plz i need your help about this.
i tried to settheBasicStyle but it's applicated only to the layer not to a specific Feature.
Do i have to use Paint Method ?

--
*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 : asma.ouqa...@gmail.com <mailto:asma.ouqa...@gmail.com>



------------------------------------------------------------------------------
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
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
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
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to