Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Multiple diagrams without the fuzz
Multiple diagrams without the fuzz [message #149421] Thu, 06 September 2007 09:40 Go to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Hi, I'm new.

I see there are a lot of threads regarding multiple diagrams. Is there a
simple way to get multiple diagrams (preferably in RCP), and can they be
aware of each other (ex. classes can relate to classes in the other diagram)

http://wiki.eclipse.org/index.php/GMF_Tips#Sharing_single_Ed itingDomain_instance_across_several_diagrams

is enormous, and very time consuming in rapid development.. And I can't
get it to work properly.
Re: Multiple diagrams without the fuzz [message #149423 is a reply to message #149421] Thu, 06 September 2007 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gregory.vanseghrboeck.intec.ugent.be

I find the easiest solution to define separate diagrams that use the
same "Domain File Extension" (a property of "Gen Editor Generator"). But
please make sure they also refer to the same "Domain Diagram Element" (a
property of "Gen Diagram"). In this way you are able to create from a
single domain model, several diagram representations.

Regards,
Gregory

Tomas Zijdemans wrote:
> Hi, I'm new.
>
> I see there are a lot of threads regarding multiple diagrams. Is there a
> simple way to get multiple diagrams (preferably in RCP), and can they be
> aware of each other (ex. classes can relate to classes in the other
> diagram)
>
> http://wiki.eclipse.org/index.php/GMF_Tips#Sharing_single_Ed itingDomain_instance_across_several_diagrams
>
>
> is enormous, and very time consuming in rapid development.. And I can't
> get it to work properly.
Re: Multiple diagrams without the fuzz [message #149428 is a reply to message #149423] Thu, 06 September 2007 10:11 Go to previous messageGo to next message
Eclipse UserFriend
hi gregory,

being new too, whats the difference between your proposed solution and
the sharing single editing domain article, if there is any?

regards,
gerhard

Gregory Van Seghbroeck schrieb:
> I find the easiest solution to define separate diagrams that use the
> same "Domain File Extension" (a property of "Gen Editor Generator"). But
> please make sure they also refer to the same "Domain Diagram Element" (a
> property of "Gen Diagram"). In this way you are able to create from a
> single domain model, several diagram representations.
>
> Regards,
> Gregory
>
> Tomas Zijdemans wrote:
>> Hi, I'm new.
>>
>> I see there are a lot of threads regarding multiple diagrams. Is there
>> a simple way to get multiple diagrams (preferably in RCP), and can
>> they be aware of each other (ex. classes can relate to classes in the
>> other diagram)
>>
>> http://wiki.eclipse.org/index.php/GMF_Tips#Sharing_single_Ed itingDomain_instance_across_several_diagrams
>>
>>
>> is enormous, and very time consuming in rapid development.. And I
>> can't get it to work properly.
Re: Multiple diagrams without the fuzz [message #149430 is a reply to message #149428] Thu, 06 September 2007 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Please read the thread "TaiPan and EditingDomains" where I asked exactly
the same.



gerpreis schrieb:
> hi gregory,
>
> being new too, whats the difference between your proposed solution and
> the sharing single editing domain article, if there is any?
>
> regards,
> gerhard
>
> Gregory Van Seghbroeck schrieb:
>> I find the easiest solution to define separate diagrams that use the
>> same "Domain File Extension" (a property of "Gen Editor Generator").
>> But please make sure they also refer to the same "Domain Diagram
>> Element" (a property of "Gen Diagram"). In this way you are able to
>> create from a single domain model, several diagram representations.
>>
>> Regards,
>> Gregory
>>
>> Tomas Zijdemans wrote:
>>> Hi, I'm new.
>>>
>>> I see there are a lot of threads regarding multiple diagrams. Is
>>> there a simple way to get multiple diagrams (preferably in RCP), and
>>> can they be aware of each other (ex. classes can relate to classes in
>>> the other diagram)
>>>
>>> http://wiki.eclipse.org/index.php/GMF_Tips#Sharing_single_Ed itingDomain_instance_across_several_diagrams
>>>
>>>
>>> is enormous, and very time consuming in rapid development.. And I
>>> can't get it to work properly.
Re: Multiple diagrams without the fuzz [message #149445 is a reply to message #149423] Thu, 06 September 2007 16:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Thank you for fast and friendly answer :)

For this to work, one probably has to define different Model ID, Plugin
ID and Editor ID? The Editors will also probably not be aware of each
other. I guess sharing EditingDomain instance is the only option.. Or?

Regards
Tomas


Gregory Van Seghbroeck wrote:
> I find the easiest solution to define separate diagrams that use the
> same "Domain File Extension" (a property of "Gen Editor Generator"). But
> please make sure they also refer to the same "Domain Diagram Element" (a
> property of "Gen Diagram"). In this way you are able to create from a
> single domain model, several diagram representations.
>
> Regards,
> Gregory
Re: Multiple diagrams without the fuzz [message #149446 is a reply to message #149430] Thu, 06 September 2007 16:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Thank you for this.

One question though: What is WorkspaceSynchronizer ?

In my case I want several largely, but not completly, overlapping
diagrams (all from the same ecore) - So I really need my diagrams to be
aware of the objects that has been created in another diagram (ex: so
attributes can point to foreign objects)

Is there some architectual considerations I should make?


Regards
Tomas


Axel Guckelsberger wrote:
> Please read the thread "TaiPan and EditingDomains" where I asked exactly
> the same.
Re: Multiple diagrams without the fuzz [message #149469 is a reply to message #149446] Fri, 07 September 2007 10:13 Go to previous message
Eclipse UserFriend
Originally posted by: jan.herriger.gmx.de

Basically, WorkspaceSynchronizer notifies listeners on resource changes.
That means, listeners get aware of model changes after save actions.

Have a look at xxx.part.XxxDocumentProvider to see how this works.

If you want editors to instantly reflect model changes made by other
editors, you have to use shared editing domains.

Tomas Zijdemans schrieb:
>
> Thank you for this.
>
> One question though: What is WorkspaceSynchronizer ?
>
> In my case I want several largely, but not completly, overlapping
> diagrams (all from the same ecore) - So I really need my diagrams to be
> aware of the objects that has been created in another diagram (ex: so
> attributes can point to foreign objects)
>
> Is there some architectual considerations I should make?
>
>
> Regards
> Tomas
>
>
> Axel Guckelsberger wrote:
>> Please read the thread "TaiPan and EditingDomains" where I asked exactly
>> the same.
>
Previous Topic:Can I get a document about .gmfxxx files?
Next Topic:How to extend of the FixedConnectionAnchor.class form the LED example
Goto Forum:
  


Current Time: Wed Jul 23 06:49:57 EDT 2025

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

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

Back to the top