Hello Michael
i changed the method of doing that.
What i did until now is to create a class "SearchCadaste" where i declared
my frame containing Comboboxes and textfield and Search button.
i create also a plugin "ViewAtrributePlugIn" that calls the class. and i
want to fill the ComboBoxes so in the execute of the plugin i get the
selected layer by this line : "Layer layer=context.getSelectedLayer(0);"
and i declared a list  that contains the features so as to fill the
comboboxes " List<BasicFeature> list
=layer.getFeatureCollectionWrapper().getFeatures();"
i tested this with this line and it works : for(BasicFeature
basicFeature:list){
 System.out.println("***************"+
basicFeature.getString("complement"));
}

complement: is a colums in the table (database) that i want to have in the
combobox.

So what i want to do is to fill the the combobox with the list of features
of a specefic Columns ( like complement)
i don't know how to declare list or use the same and getString of all
features in a list and affect them to  the combobox. Plz help
thank in advance


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

Reply via email to