Hi Ede,
Excuse me  for long time to answer. I am still on Bolsena Lake with poor
web connection . I will test the New Save wizard in the next week when I am
back home and give back a feedback.
I follow the discussion and read Michael's questions/your answers.
I was planning after vacation to add an extra plugin on layer context menu,
which will save layer projection to .prj file ( it requires a .prj codes
registry that I have and doesn't occupy too much space). My original idea
was to add this function as saparate plugin untill i would have studied to
use it as option on save shapefile(*).
But I think I could try to implement this function as a separate writer on
SaveWizardPlugIn ( with enablecheck). I will study your code. I suggest
also to put few notes and a sample, when ready,  on a wiki page.
Best regards
Peppe

(*)
Also save SLD style should be implemented as an option on  shapefile writer
or on save to vector writers


Il 28/Lug/2016 11:21, <edgar.sol...@web.de> ha scritto:

>

> >

> On 27.07.2016 23:53, Michaël Michaud wrote:
> > Hi Ede,
> >
> > I'm tying to add database writer to the new SaveWizardPlugIn.
> >
> > I added a SaveToDataStoreWizard in the initialize method of
SaveWizardPlugIn,
> > So far so good (it does not do anything yet ;-)
> >
> > In SaveWizardPlugIn execute method, I see that inputData is referenced
under the key
> > SaveFileWizard.DATAKEY_LAYERNAME
> >
> > Should I change it to
> >
> > SaveWizardPlugin.DATAKEY_LAYERNAME as SaveWizardPlugin should not
depends
> > on a particular wizard ?
>
> sounds reasonable to me :)
>
> > Also I think that the normalization of layerName should be handle by
each wizard
> > as the rule may be different for a filename and for a tablename.
>
> it's intended as an optional input for savewizards to use or not. i like
to have a central place that generalizes the layername in a way that most
savers could use.
>
> >And maybe
> > multiple layer should be accepted at this stage, some wizards may be
able to
>
> yeah, no.. let's keep it simple for now and focus on saving one layer as
...
>
> > handle several layer...
>
> maybe at a later stage, but essentially i think that this needs another
plugin alltogether, maybe using components of this one.
> more details coming in the answer to your other email.
>
> ..ede
>
>
------------------------------------------------------------------------------
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
<Jump-pilot-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
<https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>

Il 28/Lug/2016 11:21, <edgar.sol...@web.de> ha scritto:
>
> On 27.07.2016 23:53, Michaël Michaud wrote:
> > Hi Ede,
> >
> > I'm tying to add database writer to the new SaveWizardPlugIn.
> >
> > I added a SaveToDataStoreWizard in the initialize method of
SaveWizardPlugIn,
> > So far so good (it does not do anything yet ;-)
> >
> > In SaveWizardPlugIn execute method, I see that inputData is referenced
under the key
> > SaveFileWizard.DATAKEY_LAYERNAME
> >
> > Should I change it to
> >
> > SaveWizardPlugin.DATAKEY_LAYERNAME as SaveWizardPlugin should not
depends
> > on a particular wizard ?
>
> sounds reasonable to me :)
>
> > Also I think that the normalization of layerName should be handle by
each wizard
> > as the rule may be different for a filename and for a tablename.
>
> it's intended as an optional input for savewizards to use or not. i like
to have a central place that generalizes the layername in a way that most
savers could use.
>
> >And maybe
> > multiple layer should be accepted at this stage, some wizards may be
able to
>
> yeah, no.. let's keep it simple for now and focus on saving one layer as
...
>
> > handle several layer...
>
> maybe at a later stage, but essentially i think that this needs another
plugin alltogether, maybe using components of this one.
> more details coming in the answer to your other email.
>
> ..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

Reply via email to