<div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 31, 2016 at 1:20 PM, Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On 08/31/2016 12:41 PM, Nyall Dawson wrote:<br>> Just to clarify - are you proposing that only a map of widget<br>
> configuration is moved to core? I'd say the representValue function<br>
> for each widget should also should be moved across, otherwise we'll<br>
> end up with multiple code paths reimplementing the logic from each<br>
> widget + plugins having to redo this themselves.<br>
<br>
</span>Good point,<br>
<br>
that will also be nice to have in core.<br>
<br>
In this case we'll end up with two registries and two factories<br>
(although only a few widgets will need core functionality).<br>
Or did you have a different idea in mind?<br>
<span></span><br></blockquote></div><br><br></div><div class="gmail_extra">That would force the plugin writters to provide two plugins: one for core that could be used for qgis server as well and one for gui. Then how do we make sure the user install the two plugins at the same version? I guess the GUI plugin will depend on the core one...<br><br></div><div class="gmail_extra">I do agree that <span>representValue would be useful in core, but that has some cost to split the thing in two. Or maybe reprensent value is something totally different from the widgets for editing the fields and they don't have to be in 1-1 relation.<br><br></span></div><div class="gmail_extra"><span>CU<br></span></div></div></div>