Re: [JPP-Devel] How to get the Current Connection

2013-04-11 Thread Asma ouqalli
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

[JPP-Devel] How to get the Current Connection

2013-04-10 Thread Asma ouqalli
ction: 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

[JPP-Devel] customize Printer Plugin

2013-03-29 Thread Asma ouqalli
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

Re: [JPP-Devel] convert desktop application to web

2013-03-19 Thread Asma ouqalli
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 i

Re: [JPP-Devel] convert desktop application to web

2013-03-18 Thread Asma ouqalli
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

[JPP-Devel] convert desktop application to web application

2013-03-18 Thread Asma ouqalli
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 commissio

Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Asma ouqalli
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 - Olymp

Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Asma ouqalli
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

Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Asma ouqalli
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'Inform

Re: [JPP-Devel] Change the color of the selected feature

2013-03-15 Thread Asma ouqalli
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. Ch

Re: [JPP-Devel] Change the color of the selected feature

2013-03-15 Thread Asma ouqalli
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

Re: [JPP-Devel] Print PlugIn

2013-03-15 Thread Asma ouqalli
calize 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 E

Re: [JPP-Devel] Change the color of the selected feature

2013-03-14 Thread Asma ouqalli
y(),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éveloppe

Re: [JPP-Devel] Print PlugIn

2013-03-14 Thread Asma ouqalli
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

Re: [JPP-Devel] Print PlugIn

2013-03-14 Thread Asma ouqalli
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&#

Re: [JPP-Devel] Change the color of the selected feature

2013-03-14 Thread Asma ouqalli
nd 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 - R

Re: [JPP-Devel] Change the color of the selected feature

2013-03-14 Thread Asma ouqalli
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.setSelectionFillC

Re: [JPP-Devel] Change the color of the selected feature

2013-03-13 Thread Asma ouqalli
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'Informati

Re: [JPP-Devel] Change the color of the selected feature

2013-03-13 Thread Asma ouqalli
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

Re: [JPP-Devel] Print PlugIn

2013-03-13 Thread Asma ouqalli
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é

Re: [JPP-Devel] Change the color of the selected feature

2013-03-13 Thread Asma ouqalli
troke,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 :

Re: [JPP-Devel] Difference between feature and BasicFeature

2013-03-13 Thread Asma ouqalli
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 ce

Re: [JPP-Devel] Change the color of the selected feature

2013-03-12 Thread Asma ouqalli
ewport 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

[JPP-Devel] Difference between feature and BasicFeature

2013-03-12 Thread Asma ouqalli
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

Re: [JPP-Devel] Change the color of the selected feature

2013-03-12 Thread Asma ouqalli
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

Re: [JPP-Devel] Flash method in zoom plugin

2013-03-11 Thread Asma ouqalli
metry()); } return selectedFeatures; } // and for toshape(): final GeometryCollection gc = zoomToSelectedItemsPlugIn.toGeometryCollection(selectedFeatures()); final Shape shape = context.getLayerViewPanel().getViewport().getJava2DConverter().toShape(gc); -- *Asma OUQALLI*

Re: [JPP-Devel] Flash method in zoom plugin

2013-03-08 Thread Asma ouqalli
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 - Olymp

[JPP-Devel] Flash method in Zoom plugin

2013-03-08 Thread Asma ouqalli
blic Collection selectedBornes() { ArrayList selectedBornes = new ArrayList(); for(BasicFeature basicFeature : BornesList) { selectedBornes.add(search().getGeometry()); } return selectedBornes; } best regards -- *Asma OUQALLI* Élève ingénieur :

Re: [JPP-Devel] Change the color of the selected feature, Memory usage in OpenJump

2013-03-07 Thread Asma ouqalli
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 - Olympiade

Re: [JPP-Devel] Change the color of the selected feature

2013-03-07 Thread Asma ouqalli
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 -

[JPP-Devel] Memory usage in OpenJump

2013-03-07 Thread Asma ouqalli
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 --

[JPP-Devel] Change the color of the selected feature

2013-03-06 Thread Asma ouqalli
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

[JPP-Devel] Listener on combobox

2013-03-06 Thread Asma ouqalli
ntComboBox().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. Ecol

[JPP-Devel] Print PlugIn

2013-03-06 Thread Asma ouqalli
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 Has

Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-05 Thread Asma ouqalli
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 Med

Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-05 Thread Asma ouqalli
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.

Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-04 Thread Asma ouqalli
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'Informat

Re: [JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-01 Thread Asma ouqalli
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). Ch

[JPP-Devel] Viewing attributes on JcomboBox from Postgis database

2013-03-01 Thread Asma ouqalli
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.

[JPP-Devel] OpenJump driver for Microsoft SQL SERVER.

2013-02-28 Thread Asma ouqalli
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'I