Hi Ede, I had a quick look to see how your new plugin should be used.
Should we use SaveFileWizard for all file-based savers and add a new wizard for database savers ? Some file-based savers have options (currently, gml, dxf and csv drivers have write-options). I suppose that the idea is to replace the "south panel" currently used in the traditional saver by a "next" panel to set the options ? Or have you another idea ? Is it supposed to accept "save as image or svg" in the future ? Currently, the plugin is grayed for raster layerables, but if we add new wizards, I think the plugin will have to accept more types of layers, and the wizards should be grayed out depending on the selected layer and the wizard capabilities? Is it possible to activate/deactivate wizards depending on the datasource ? Can we add a wizard to deal with multiple layers (and maybe replace the plugin "save layers without datasource") ? Michaël Le 18/07/2016 à 21:58, edgar.sol...@web.de a écrit : > hey All, > > because i was fed up with the old SaveDatasetAsPlugIn,it's switching file > selection panels, weird logic etc. and because we really needed a more > flexible way to save datasets i took the time to hack exactly that. > > *drumroll* - entrance the new SaveWizardPlugin, which actually houses only > the a file saver for now but should be able to house other targets as well. > more details in the description of the patch set below. > for now it can be found below the traditional "Save Dataset As" in the file > menu. it should be capable of everything the old plugin did, but implemented > more elegantly (only one filechooser). > > so, test away and maybe we can make it default in the next release already.. > sunny regards ede > > -------- Forwarded Message -------- > Subject: [JPP-Devel] SVN: [4988] core/trunk > Date: Mon, 18 Jul 2016 19:46:46 +0000 > From: jump-pilot-...@lists.sourceforge.net > Reply-To: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net> > To: jump-pilot-devel@lists.sourceforge.net > > Revision: 4988 > http://sourceforge.net/p/jump-pilot/code/4988 > Author: edso > Date: 2016-07-18 19:46:44 +0000 (Mon, 18 Jul 2016) > Log Message: > ----------- > * add brand new shiny SaveWizardPlugin, which is supposed to eventually > replace the outdated SaveDatasetAsPlugIn adding the possibility to > install > further datasource writers allowing to save easily to different > datasource > stores, hopefully databases, WFS, archives or the likes in the future > > Modified Paths: > -------------- > core/trunk/ChangeLog > core/trunk/scripts/default-plugins.xml > > core/trunk/src/com/vividsolutions/jump/io/datasource/ReaderWriterFileDataSource.java > > core/trunk/src/com/vividsolutions/jump/io/datasource/StandardReaderWriterFileDataSource.java > > core/trunk/src/com/vividsolutions/jump/workbench/datasource/SaveFileDataSourceQueryChooser.java > core/trunk/src/com/vividsolutions/jump/workbench/ui/GUIUtil.java > > core/trunk/src/com/vividsolutions/jump/workbench/ui/wizard/WizardDialog.java > > Added Paths: > ----------- > core/trunk/src/com/vividsolutions/jump/io/datasource/FileDataSource.java > core/trunk/src/org/openjump/core/ui/io/file/AbstractFileLayerSaver.java > core/trunk/src/org/openjump/core/ui/io/file/DataSourceFileLayerSaver.java > core/trunk/src/org/openjump/core/ui/io/file/FileLayerSaver.java > core/trunk/src/org/openjump/core/ui/plugin/file/SaveWizardPlugIn.java > core/trunk/src/org/openjump/core/ui/plugin/file/save/ > > core/trunk/src/org/openjump/core/ui/plugin/file/save/FileDataSourceQueryChooserExtensionFilter.java > > core/trunk/src/org/openjump/core/ui/plugin/file/save/FileDataSourceQueryChooserOneExtensionFilter.java > core/trunk/src/org/openjump/core/ui/plugin/file/save/SaveFileWizard.java > core/trunk/src/org/openjump/core/ui/plugin/file/save/SelectFilePanel.java > > SNIP > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel