|
|
Re: Multiple diagrams without the fuzz [message #149428 is a reply to message #149423] |
Thu, 06 September 2007 10:11   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #149469 is a reply to message #149446] |
Fri, 07 September 2007 10:13  |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.10181 seconds