[JPP-Devel] OpenJump driver for Microsoft SQL SERVER.
hello everybody, i am working on creating the SQL SERVER driver for OpenJump, and i need some informations and help. i wanna know if there's a project about that. if someone is interested please Contact me. Thank youuu. -- *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
[JPP-Devel] Viewing attributes on JcomboBox from Postgis database
Hello, am trying to code a java class(plugin) that creates a popupmenuitem that brings multiple attributes of the selected layer on a combobox on openjump. am trying now to do the same as the "ViewAttributePlugIn" so instead of bringing all the attributes, i want to bring only 3 columns on the combobox list so as the user can view the the records of the attribute. what i want to know is where i have to declare my comboBox and populate them is it in the "AttributeTablePanel" class or somewhere else. sorry am not good in java programming and also i find it hard to understand OpenJump philosophy. plz help me, thanks 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
Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database
hello Micha, what i want is to add a plugin that adds via a popupmenu a frame containing AttributeTablePanel in a OneLayerAttributeTab. this AttributeTAblePanel will contain 3 comboBox each one will be populated by records of a specific column of the selected layer. and im thinking on adapting the code of the class LAyerTableModel.java especially the method : initColumns(layer) where i can define 3 combobox and get the features i need. am not sure if am on the right way. Plz guide me. thanks. -- *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
Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database
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 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
Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database
Hello michael, thank you very much. I want to ask if there is a possibility to use methods of a plugin in another plugin. because i need the zoom method in the ZoomToSelectedItemsPlugIn to use use in mine, so as after clicking the search button, the plugin zoom on the item found after returning the basicFeature. -- *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
Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database
i think i didn't get what u said. i have to run the execute method of ZoomtoSelectedItemsPlugin? ok here's the code of my plugin (the execute method): public boolean execute(final PlugInContext context) throws Exception { reportNothingToUndoYet(context); Layer layer=context.getSelectedLayer(0); final ZoomToSelectedItemsPlugIn zoomToSelectedItemsPlugIn= new ZoomToSelectedItemsPlugIn(); final List list =layer.getFeatureCollectionWrapper().getFeatures(); List attributeValues = new ArrayList(); for(BasicFeature basicFeature : list) { String indice =basicFeature.getString("indice"); if(!attributeValues.contains(indice)) attributeValues.add(indice); } // searchCadastre is the GUI class that contains 2 //comboBox (nature and indice) and 2 text Field (num and //complement) final SearchCadastre searchCadastre =new SearchCadastre(); ComboBoxModel comboBoxModel=new DefaultComboBoxModel(attributeValues.toArray()); searchCadastre.getCmbIndice().setModel(comboBoxModel); searchCadastre.getBtnRecherche().addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { // here on action it must get the basicFeature if found, and zoom into it try { // am stack here zoomToSelectedItemsPlugIn.zoom( context.getLayerViewPanel().getSelectionManager().getSelectedItems(), context.getLayerViewPanel()); } catch (NoninvertibleTransformException e1) { e1.printStackTrace(); } } private BasicFeature search() { for(BasicFeature basicFeature : list) { // here searching for the basicFeature that have the same attribute that one's given by the user if ( searchCadastre.getCmbIndice().getSelectedItem().equals(basicFeature.getString("indice") ) && searchCadastre.getCmbNature().getSelectedItem().equals(basicFeature.getString("nature")) && searchCadastre.getTxtNum().getText().equals(basicFeature.getString("num")) && searchCadastre.getTxtComplement().getText().equals(basicFeature.getString("complement")) ) return basicFeature; } return null; } } ); context.getWorkbenchFrame().addInternalFrame(searchCadastre); return true; } -- *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
[JPP-Devel] Print PlugIn
Hello, plz where can i find the print plugIn in open Jump src thanks 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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Listener on combobox
Hello, i need to add listener to a combobox called complementComboBox that depends on textfield called numtxtfield, once the user enter the num value, the combobox must get data of complement that have the same num. i used an ActionListener on the comboBox but i get nothing on m comboBox here's the code: NB: searchProperties is the instance of SearchProperties() that contains graphical components: final List attributeComplement = new ArrayList(); searchProperties.getComplementComboBox().addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { for(BasicFeature basicFeature : list) { String complement; if ( searchProperties.getNumTextField().getText().equals(basicFeature.getString("num"))) { complement =basicFeature.getString("complement"); attributeComplement.add(complement); } } searchProperties.getComplementComboBox().setModel(new DefaultComboBoxModel(attributeComplement.toArray())); } }); -- *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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Change the color of the selected feature
Hello, I need to change the color of the selected data. Can anyone help me to find in which class or which method that changes colors and give the selected data a specefic or random color different from the old one. thanks 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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Memory usage in OpenJump
Hello, i have a problem with my openjump concerning memory, it's too slow to execute plugins and do operations on my data that contains 34000 records per layer, in run configuration i used Xmx150M do i have to add more memory in Xmx (my computer have 4Go of RAM)? Thanks 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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
Hello Michaud, Jukka Rahkonen, no i don't want to apply the color permanently. i guess i didn't explain correctly, so my plugin search for features from the layer that matchs the user's needs and zook on the feature, i want to change color (not only the border instantly) of this feature too so as to be clear to the user. Yes i will need also to give it back the original color once the user do another search for another feature. Concerning the ColorThemingStyle i didn't get it well and how to use it. PLZ where can i find the code to render colors from R_G_B attribute? Ok Jukka i'll try to do the method you suggested even if it seems to be difficult :D. thank you very much. -- *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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature, Memory usage in OpenJump
Hi Rahkonen Jukka, , yes i get this heap memory error. ok i'll increase it to 1500M, i have 64bits but i installed the 32bit java. am running for the moment advanced search operation, later i'll have to add more operations. in olny 75 sec, ww great job. ok i'll take a look at Kosmo code src. No the yellow border is not enough, i need to fill the feature not only border. thanks. -- *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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Flash method in Zoom plugin
hello everybody, am trying to personilize the method flash in the zoom method. what i did is to bring the code of this method, so once the user click on a row of the the table the feature must be zoomed then flashed and stayed flashed, in other words the outline of the feature changes the color (red) here's my code: but it doesn't work: searchProperties.getBornesTable().getSelectionModel().addListSelectionListener(new ListSelectionListener(){ @Override public void valueChanged(ListSelectionEvent e) { try { zoomToSelectedItemsPlugIn.zoom( selectedBornes(), context.getLayerViewPanel()); final Shape shape = context.getLayerViewPanel().getViewport().getJava2DConverter().toShape((Polygon)selectedBornes()); Color color = Color.red; Stroke stroke =new BasicStroke(5, BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND); final Graphics2D graphics = (Graphics2D) context.getLayerViewPanel().getGraphics(); graphics.setColor(color); graphics.setXORMode(Color.white); graphics.setStroke(stroke); graphics.draw(shape); } catch (NoninvertibleTransformException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } }); here's the method selectBornes: public Collection selectedBornes() { ArrayList selectedBornes = new ArrayList(); for(BasicFeature basicFeature : BornesList) { selectedBornes.add(search().getGeometry()); } return selectedBornes; } best regards -- *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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Flash method in zoom plugin
the log says that it cannot cast a collection of geometry to polygon. How can i do the cast without error. -- *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 -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Flash method in zoom plugin
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 : asma.ouqa...@gmail.com -- 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 Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
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 -- 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
[JPP-Devel] Difference between feature and BasicFeature
Hi everybody, can someone plz explain to me the difference between BasicFeature and Feature. and how to convert BasicFeature to Feature? thanks -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
Hi Michael, Yes i had a look at this last time, but sorry i didn't get well the structure. if i understand i have to apply the paint method to my feature, but i don't know about the other parameter ( graphic and viewport ...)? "paint(Geometry geometry, Graphics2D g, Viewport viewport, boolean renderingFill, Stroke fillStroke, Paint fillPaint, boolean renderingLine, Stroke lineStroke, Color lineColor)" -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Difference between feature and BasicFeature
Hello, thank you michael now i get the difference. @Landon my experience in java programming is too limited, thanks for the link. -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
hi michael, i followed the class u told me, i found that it uses the paint method too from StyleUtil. i tried this but it did nothing to the feature: another thing is i don't know how instanciate paint ( with what) Color color = Color.yellow; Stroke stroke =new BasicStroke(5,BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND); final Graphics2D graphics = (Graphics2D) context.getLayerViewPanel().getGraphics(); Viewport viewport = new Viewport(context.getLayerViewPanel()); Paint fillPaint = null; paintGeometryCollection(selectedGeometry(), graphics, viewport, true, stroke,fillPaint, true, stroke, color); the selectedGeometry() is this : public GeometryCollection selectedGeometry() { GeometryCollection geometry; geometry = (GeometryCollection) search().getGeometry(); return geometry; } thanks 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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Print PlugIn
hi Rahkonen, thanks for your answer, i downloaded the src zip and i don't know how to integrate it with my src code, do i have to create a new project and import it, or i have to add id to my current project ( i did this but am getting a lot a lot of errooors) -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
thank you michael, plz where can i find the setSelectionFillColor(color) method ? thnks 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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
Hey michael, No i didn't use svn to download the code source, i download it from the sourceforge and import it to my workspace. so i have to download the latest version, or i'll have to do it from svn repository ? -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
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 : 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
Re: [JPP-Devel] Change the color of the selected feature
Hello michael, no i didn't select my feature, i just return it in this method so as to display some of it's propreities, and zoom in it in the same time , so i want it to be coloured too just after zooming on it. the method search() get's only the BasicFeature that's correspond to the search and the feature it's not selected. i hope you understand my issue here, i didn't explain well i guess, thanks 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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Print PlugIn
hello, is the print plugin the only way to generate report with open jump. i need to generate report for a parcel and i don't know how? i found in the net jfree Chart but i don"t know if this will work with OJ or not ? -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Print PlugIn
hello michael, i mean by report is PDF or image containing the map of just a feature and it's legend with extra information like some feature proprieties, the title, some text and an icon. thanks -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
Hello michael, Thank you, ok i'll try to put the search result in the active selection. but i don't know how. Concerning the ColorTherming, i tried to paint my feature like this : but it didn't work: Color color = Color.yellow; Stroke stroke =new BasicStroke(5, BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND); final Graphics2D graphics = (Graphics2D) context.getLayerViewPanel().getGraphics(); Viewport viewport = new Viewport(context.getLayerViewPanel()); Paint fillPaint = null; / this i don't know how to use it and instanciate it paintGeometryCollection(selectedGeometry(),graphics, viewport, true, stroke,fillPaint, true,stroke, color); @ Rahkonen, Sorry but i didn't get what you mean by write R_G_B into basic Style :s -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Print PlugIn
hello Geoffrey, yes i did it but i still have problem with that. i downloaded the src, i created a new project "jumpPrinter" and import it on it. i added the printer jar to my OJ project, and the other jars (batik-all.jar, xml-apis-ext.jar, xml-apis.jar, js.jar, pdf-transcoder.jar) i changed this line in the build proprieties :openjumplib=D:/workspaceJump/OJ/${lib}/ i Did all the instruction ( in install.txt and readme.txt ), but when am trying to build am getting errors about jars non existing, even if i do have them on my lib folder, and another thing when i try to open an localize the error, i don't see any error on the class !. Plz if you have a very detailed guide for that send it to me. thanks 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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
Hello Michael, Thank you verry much it worked, the feature is not coloured but it's flashed and i guess it's enough. (the outline are flashed with the yellow color and the fill with black i guess because i didn't specified the fillPaint. Do you have any idea how to change it? i don't get why i didn't work with my previous code that uses also the existing viewport. in other worlds what's the difference between : Viewport viewport = new Viewport(context.getLayerViewPanel()); Viewport viewport = context.getLayerViewPanel().getViewport(); -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Change the color of the selected feature
Hi Rahkonen, Thanks for the explanation, i tried the paint method and it worked, the Basic Style uses also this method. thanks a lot -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Print PlugIn
Hello Geoffrey, Yes i know, but i want the code src too, so as to adapt it to my case. i want to do it automatically, not each time i have to write the head and upload icons. i hope u get what i want to do. best regards. -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Print PlugIn
Hi Geoffrey, i tried what u told me earlier about the jars. but am getting this exception: sealing violation: can't seal package com.cadplan.jump: already loaded plz how to fix it ? -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Print PlugIn
Hello Geoffrey, it's ok, i fix it. i didn't pay attention that i have doubled the jar. thanks -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] convert desktop application to web application
Hey everybody, Am wondering if there's a way to convert an openjump desktop application to a web application. i don't have any basic knowledge about that. THanks 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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] convert desktop application to web
Hello michael, thanks for the answer. ok but if i want to connect to my application from the web is it possible ? -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] convert desktop application to web
Hello michael, yes i totaly agree with, i've already worked with deegree and mapserver. as u mentioned there's are limited when it comes to editing and processing , that's why i choose a desktop application to do that. my use case is to have the capability to connect to this application via internet with login and password so as to show, manipulate and query data. but i guess it's not possible. about the link you give me, i didn't get the architecture of this application, is it an open jump application that works with openstreep map ? . -- *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_mar___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] customize Printer Plugin
hi everybody, plz i need to customize the printer plugin. what i want to do is to add automatically a title, an image and a table containing specific informations on the zoomed feature ( so this notes are not fix, they change every time i change the feature). the thing is i declared them on the printersetup class but when i change the feature it keeps the information of the first one. do i have to declared my notes on the previewPanel? if it's so where exaclty and how? thanks 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 -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] How to get the Current Connection
Hello everybody, am trying to get the the current connexion so as to execute some update queries. i tried to use getConnection of the datasource and then execute the query, but it doesn't work. Do i have to get the PostgisDataStoreDriver like this and the get the connection: PostgisDataStoreDriver postgisDataStore = (PostgisDataStoreDriver) context.getWorkbenchContext().getRegistry() .getEntries(DataStoreDriver.REGISTRY_CLASSIFICATION).get(0); thnks 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 -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] How to get the Current Connection
Hello, i loaded 2 tables from one database and i want to query the two tables when the user delete a feature, i want to delete it from database so i want to use a Delete Query, but to execute this query i need to get the current connection that i opened with it the database. -- *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 -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel