[Cuis-dev] Preferennce save/load and actionMap

Luciano Notarfrancesco luchiano at gmail.com
Fri May 6 01:38:40 PDT 2022


Hm. I think the tools should be responsible of registering events for
preference change notification, not the other way around. If the preference
doesn’t exist in the image, maybe we should assume the tool that was
originally notified when the preference changed is not installed in the
image.

On Fri, 6 May 2022 at 3:24 PM Hilaire Fernandes <hilaire at drgeo.eu> wrote:

> Indeed.
>
> But works only when Preference instance with the same symbol already
> exists in the image.
> Le 05/05/2022 à 22:07, Luciano Notarfrancesco a écrit :
>
> You can avoid replacing the existing instances by iterating over the
> preferences you read from the file and setting their values on the existing
> prefeences.
>
> --
> GNU Dr. Geohttp://drgeo.euhttp://blog.drgeo.eu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220506/344f784a/attachment.htm>


More information about the Cuis-dev mailing list