Re: [Geotools-gt2-users] swt problems
On Mon, May 12, 2008 at 11:51 AM, aymen83 [EMAIL PROTECTED] wrote: hi everybody, i'm developping an application using geotools but i have problem in visualizing data extracted from postgis i looked in the Udig source code but i still don't have solution if any one have an idea about how to solve the problem? if yout tell us what the problem is then we can probably try to help you out :-) Simone. -- View this message in context: http://www.nabble.com/swt-problems-tp17184409p17184409.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- --- Eng. Simone Giannecchini President /CEO GeoSolutions S.A.S. Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it --- - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Re: [Geotools-gt2-users] swt problems
thanks Simone for answering me, well, i want to create a project eclipse plugin that adds a menu to the eclipse's menubar. this menu let me open a window MapWindow to visualize a shapefile. therefore, i'm trying to create a shell swt with a frame (using swt_awt bridge) which contains a Panel with JMapPanel. my problem is that i can view all my java beans created in my java class with Run as - java application, but when i try to run all the project(plugin) as Eclipse application, MapWindow can not be opened. (p.s: when i replace the JMapPanel with a JPanel, i've got MapWindow opened) I hope this is clear enough. thanks a lot. Simone.Giannecchini wrote: On Mon, May 12, 2008 at 11:51 AM, aymen83 [EMAIL PROTECTED] wrote: hi everybody, i'm developping an application using geotools but i have problem in visualizing data extracted from postgis i looked in the Udig source code but i still don't have solution if any one have an idea about how to solve the problem? if yout tell us what the problem is then we can probably try to help you out :-) Simone. -- View this message in context: http://www.nabble.com/swt-problems-tp17184409p17184409.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- --- Eng. Simone Giannecchini President /CEO GeoSolutions S.A.S. Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it --- - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- View this message in context: http://www.nabble.com/swt-problems-tp17184409p17186454.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Re: [Geotools-gt2-users] swt problems
Have a look at http://udig.refractions.net/ for how to do this ... there is also a page in the geotools user guide on the subject. A lot of the problems you are finding comes down to the GeoTools library use of factory SPI plug-ins that make use of the jar manifest to list what classes implement a particular interface etc... this technique does not work with Eclipse (or any OSGi project) as the classloader restrictions placed on plug-ins restrict access to only a set list of published packages. Since you can only publish packages there is now way to publish the MANIFEST/ directory and the files needed for Factory SPI to work Solution: bundle all the geotools stuff (and most of the open source stuff) into a single plug-in. Jody ben hmida aymen wrote: hi, i'm a student and i'm developping an application using eclipse and geotools. The user interface for my application is done using SWT library but i'm facing problems in getting the vizualisation of my spatial features can any body help me please? __ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
[Geotools-gt2-users] swt problems
hi, i'm a student and i'm developping an application using eclipse and geotools. The user interface for my application is done using SWT library but i'm facing problems in getting the vizualisation of my spatial features can any body help me please? __ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users