custom diagram preferences [message #117799] |
Sun, 08 April 2007 22:18  |
Eclipse User |
|
|
|
Hi,
I want to save in preferences some data relative to the diagram file,
which cannot be saved in the model file. How do I best achieve that?
More concrete, I want to save the list of files in the resource set and to
re-initialize it on diagram load.
My idea is to customize doSave() and configureEditingDomain() in
???DiagramEditor. Is that correct?
Thanks,
Alexey
|
|
|
Re: custom diagram preferences [message #117862 is a reply to message #117799] |
Mon, 09 April 2007 08:34  |
Eclipse User |
|
|
|
So the question is: where do I initialize the model with data from the
preference store just after the file has been loaded, but before the
editor parts are initialized?
I have no idea yet :\
Regards,
Alexey
On Mon, 09 Apr 2007 06:18:39 +0400, Alexey Semenov <alexeysem@gmail.com>
wrote:
> Hi,
>
> I want to save in preferences some data relative to the diagram file,
> which cannot be saved in the model file. How do I best achieve that?
>
> More concrete, I want to save the list of files in the resource set and
> to re-initialize it on diagram load.
>
> My idea is to customize doSave() and configureEditingDomain() in
> ???DiagramEditor. Is that correct?
>
> Thanks,
> Alexey
|
|
|
Powered by
FUDForum. Page generated in 0.05234 seconds