Hi Ede, The site is a great for start and I must say: Thank you!
The clone of OpenJump and HelloWorldPlugin builds/runs from Eclipse, my own plugin (based on an old HelloWorldPlugin) works well also, but I have a few more questions: 1. If I copy the HelloWorldPlugin's java files into my own struct, an empty package (like "kjt.openjump.myHelloWorld") and fix the references (or Eclipse will fix it if it can), I get the following errors: HelloWorldExtension.java - The method get(String) in the type I18N is not applicable for the arguments (String, Object[]) HelloWorldPlugin.java - The method getIcon() of type HelloWorldPlugin must override or implement a supertype method - The method getInstance() in the type EnableCheckFactory is not applicable for the arguments (WorkbenchContext) Then, what and where else should I fix? (I want to rewrite my existing plugin using I18N, but I can't see what I'm doing wrong.) 2. How should an existing project be opened automatically? 3. How to open a new project from a plugin? 4. How to automatically add a map to the project after starting? 5. How can I set style when I open an exisiting map? 6. I can load and use shp files, for example: > ShapefileReader s = new ShapefileReader(); > DriverProperties dp = new DriverProperties( > System.getProperty("user.dir")+"\\tryIt.shp" ); > FeatureCollection fc; > try { > fc = s.read(dp); > pluginContext.getLayerManager().addLayer("MyCategory", "MyLayer", fc); > } catch (Exception ex) { > ex.printStackTrace(); > } > but how can I transfer data from e.g. postgis? I am unable to find an example of this and I an too lame so to extract it from the documentation. But maybe these go beyond helloworld... 😳 Regards, János edgar.soldin--- via Jump-pilot-devel <jump-pilot-devel@lists.sourceforge.net> ezt írta (időpont: 2024. júl. 12., P, 15:33): > hey Janos, > > just added some steps to import/run our helloworld-extension. > > https://ojwiki.soldin.de/index.php?title=Eclipse:_Set_up_project_and_example_extension_from_git_sources > > hope that helps.. ede > > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel