two diagram views on one model [message #157190] |
Fri, 26 October 2007 05:58  |
Eclipse User |
|
|
|
Originally posted by: benholtz.gmx.de
Hello to all,
I have one MetaModel which contains all elements. At the end I will have one
editor which has one model file and two diagram files. In both diagram files
I want to see another view of the model. The model file contains all
elements of the two diagram files.
Now I have two gmftool, gmfmap and gmfgen files in one project. Both gmfgen
files generate the diagram code into the .diagram project. I think, they
have to be generated into different projects, because the plugin.xml is
always overwritten if I start one of the generation processes.
In the diagram files are some elements pointing to the same model element in
the model file.
Is there a workaround about this problem? Or a tutorial? I didn't find
anything belongs to this topic.
Best regards,
Benjamin Holtz
|
|
|
|
|
|
|
Re: two diagram views on one model [message #157298 is a reply to message #157239] |
Fri, 26 October 2007 12:18  |
Eclipse User |
|
|
|
Hi Benjamin,
If you create a XYZ diagram and then initialize ZYX diagram based on the
same file, you will get two completely different notational models
referencing the same underlying model. These two will have their own set
of tools, editparts and whatever else.
Best regards,
Boris
Benjamin Holtz wrote:
> I think, all diagrams will have the same tools when they are initialized in
> this case. But I want, that each instance has got his own tooling
> definition.
> I think I will let two model and two diagram files in the editor and will
> reference the model files among each other.
>
> Benjamin
>
> "Boris Blajer" <boris.blajer@borland.com> wrote in message
> news:ffslo5$ifr$1@build.eclipse.org...
>> Ho Benjamin,
>>
>> You may also use the generated menu item "Initialize XYZ diagram file" to
>> create a diagram based on an existing model file.
>>
>> Best regards,
>> Boris
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06749 seconds