[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: multiple views of a model
|
Take a look at this Tutorial:
http://wiki.eclipse.org/index.php/GMF_Tips#Sharing_single_EditingDomain_instance_across_several_diagrams
I think you have to change mor than the file extension.
"John Yotka" <john.yotka@xxxxxxxxxx> schrieb im Newsbeitrag
news:ep5qv4$vip$1@xxxxxxxxxxxxxxxxxxxx
> I'm trying to create multiple views of a model with GMF 2.0. Would like
> to know if there is any discussion of approaches to do this. I need to
> have different views at different levels of the model hierarchy.
>
> I've started by creating a (common) .gmfgraph and .gmftool files. I then
> created multiple versions of the .gmfmap and .gmfgen for the two different
> views and set the "Package Name Prefix" and "Diagram File Extension" for
> each of the views in the .gmfgen files. The problem comes in that when
> generating the code, the generator creates the code packages in the same
> project (... .diagram) which isn't even the project that I created as my
> GMF project! Since it puts both sets of code packages in the same
> (plugin) project, only the last generated one is accessible when running.
> How do I change this behavior, is there some property where I can specify
> which project the generated (GFM) code packages will be placed?