Asma:

I'm having some trouble understanding your code. What are you trying to do?

Landon

On Mon, Mar 11, 2013 at 2:05 AM, Asma ouqalli <[email protected]> wrote:
> Hi Michaud,
> no bornes are point and titre are polygon, here what i did to bornes:
>
> public Geometry selectedBornes() {
> Geometry geometry;
> geometry = searchBorne().get(getSelectedRowIndex()).getGeometry();
> return geometry;
>     }
>
> with i'll not have a problem converting to geometry iin the method
> toShape(), but in polygon i do have to do that see below:
>
>
> and here what i did to polygon
>
>
> public Collection selectedFeatures() {
>         ArrayList selectedFeatures = new ArrayList();
>         for(BasicFeature basicFeature : TitreList) {
>         selectedFeatures.add(search().getGeometry());
>
>         }
>         return selectedFeatures;
>     }
>
> // and for toshape():
>
> final GeometryCollection gc =
> zoomToSelectedItemsPlugIn.toGeometryCollection(selectedFeatures());
>     final Shape shape =
> context.getLayerViewPanel().getViewport().getJava2DConverter().toShape(gc);
>
> --
> *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]
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Jump-pilot-devel mailing list
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to