Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » custom diagram preferences
custom diagram preferences [message #117799] Sun, 08 April 2007 22:18 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Disable drop node to other compartments
Next Topic:sth about genmodel
Goto Forum:
  


Current Time: Mon May 12 21:55:22 EDT 2025

Powered by FUDForum. Page generated in 0.05234 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top