Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Amalgam » multiple diagrams with shared domain model and referenced ecore models
multiple diagrams with shared domain model and referenced ecore models [message #525130] Wed, 22 April 2009 13:33 Go to next message
steve orobec is currently offline steve orobec
Messages: 156
Registered: July 2009
Senior Member
Hi

I have a common domain model which consists of 1 parent ecore and 5
child ecore files. They all reference uml.ecore and ecore.ecore.

I can generate tree editors without problem, if I call the parent
editor I get a choice of child editors, I can even use load resource to
have several child editors linked.

Trouble is I'm not sure how to do the similar thing in GMF.
I can also generate individual GMF diagrams for each child giving them
different names but I would like a linked set of diagrams each which can
reference nodes on the different child diagrams.ie if I use a wizard and
associated perspective I get a menu saying new DSLA diag ... DSLF diag etc.

Am I correct in assuming that there will be 6 gmfgen, mapping and graph
files for the parent and 5 children?

regards
Steve
Re: multiple diagrams with shared domain model and referenced ecore models [message #525131 is a reply to message #525130] Wed, 22 April 2009 13:47 Go to previous messageGo to next message
Richard Gronback is currently offline Richard Gronback
Messages: 605
Registered: July 2009
Senior Member
Hi Steve,

This is really a GMF question, so should be posted on that newsgroup.

You're right that there will be a gmfmap, etc. for each diagram type, if
that's what you're looking to do. You can always use shortcuts to allow for
elements from various domain models to appear on one diagram, or even use
diagram partitioning to allow one type of diagram to open another. This is
covered in the book, btw.

Best,
Rich


On 4/22/09 9:33 AM, in article gsn6ap$km2$1@build.eclipse.org, "Bill Hinge"
<steve.orobec@btopenworld.com> wrote:

> Hi
>
> I have a common domain model which consists of 1 parent ecore and 5
> child ecore files. They all reference uml.ecore and ecore.ecore.
>
> I can generate tree editors without problem, if I call the parent
> editor I get a choice of child editors, I can even use load resource to
> have several child editors linked.
>
> Trouble is I'm not sure how to do the similar thing in GMF.
> I can also generate individual GMF diagrams for each child giving them
> different names but I would like a linked set of diagrams each which can
> reference nodes on the different child diagrams.ie if I use a wizard and
> associated perspective I get a menu saying new DSLA diag ... DSLF diag etc.
>
> Am I correct in assuming that there will be 6 gmfgen, mapping and graph
> files for the parent and 5 children?
>
> regards
> Steve
>

--
Thanks,
Rich
Re: multiple diagrams with shared domain model and referenced ecore models [message #525132 is a reply to message #525131] Wed, 22 April 2009 14:04 Go to previous message
steve orobec is currently offline steve orobec
Messages: 156
Registered: July 2009
Senior Member
Thanks for the book ref Rich

Helps to know the correct key word to use in questions

regards
Steve


Richard Gronback wrote:
> Hi Steve,
>
> This is really a GMF question, so should be posted on that newsgroup.
>
> You're right that there will be a gmfmap, etc. for each diagram type, if
> that's what you're looking to do. You can always use shortcuts to allow for
> elements from various domain models to appear on one diagram, or even use
> diagram partitioning to allow one type of diagram to open another. This is
> covered in the book, btw.
>
> Best,
> Rich
>
>
> On 4/22/09 9:33 AM, in article gsn6ap$km2$1@build.eclipse.org, "Bill Hinge"
> <steve.orobec@btopenworld.com> wrote:
>
>> Hi
>>
>> I have a common domain model which consists of 1 parent ecore and 5
>> child ecore files. They all reference uml.ecore and ecore.ecore.
>>
>> I can generate tree editors without problem, if I call the parent
>> editor I get a choice of child editors, I can even use load resource to
>> have several child editors linked.
>>
>> Trouble is I'm not sure how to do the similar thing in GMF.
>> I can also generate individual GMF diagrams for each child giving them
>> different names but I would like a linked set of diagrams each which can
>> reference nodes on the different child diagrams.ie if I use a wizard and
>> associated perspective I get a menu saying new DSLA diag ... DSLF diag etc.
>>
>> Am I correct in assuming that there will be 6 gmfgen, mapping and graph
>> files for the parent and 5 children?
>>
>> regards
>> Steve
>>
>
Re: multiple diagrams with shared domain model and referenced ecore models [message #562611 is a reply to message #525130] Wed, 22 April 2009 13:47 Go to previous message
Richard Gronback is currently offline Richard Gronback
Messages: 605
Registered: July 2009
Senior Member
Hi Steve,

This is really a GMF question, so should be posted on that newsgroup.

You're right that there will be a gmfmap, etc. for each diagram type, if
that's what you're looking to do. You can always use shortcuts to allow for
elements from various domain models to appear on one diagram, or even use
diagram partitioning to allow one type of diagram to open another. This is
covered in the book, btw.

Best,
Rich


On 4/22/09 9:33 AM, in article gsn6ap$km2$1@build.eclipse.org, "Bill Hinge"
<steve.orobec@btopenworld.com> wrote:

> Hi
>
> I have a common domain model which consists of 1 parent ecore and 5
> child ecore files. They all reference uml.ecore and ecore.ecore.
>
> I can generate tree editors without problem, if I call the parent
> editor I get a choice of child editors, I can even use load resource to
> have several child editors linked.
>
> Trouble is I'm not sure how to do the similar thing in GMF.
> I can also generate individual GMF diagrams for each child giving them
> different names but I would like a linked set of diagrams each which can
> reference nodes on the different child diagrams.ie if I use a wizard and
> associated perspective I get a menu saying new DSLA diag ... DSLF diag etc.
>
> Am I correct in assuming that there will be 6 gmfgen, mapping and graph
> files for the parent and 5 children?
>
> regards
> Steve
>

--
Thanks,
Rich
Re: multiple diagrams with shared domain model and referenced ecore models [message #562635 is a reply to message #525131] Wed, 22 April 2009 14:04 Go to previous message
steve orobec is currently offline steve orobec
Messages: 156
Registered: July 2009
Senior Member
Thanks for the book ref Rich

Helps to know the correct key word to use in questions

regards
Steve


Richard Gronback wrote:
> Hi Steve,
>
> This is really a GMF question, so should be posted on that newsgroup.
>
> You're right that there will be a gmfmap, etc. for each diagram type, if
> that's what you're looking to do. You can always use shortcuts to allow for
> elements from various domain models to appear on one diagram, or even use
> diagram partitioning to allow one type of diagram to open another. This is
> covered in the book, btw.
>
> Best,
> Rich
>
>
> On 4/22/09 9:33 AM, in article gsn6ap$km2$1@build.eclipse.org, "Bill Hinge"
> <steve.orobec@btopenworld.com> wrote:
>
>> Hi
>>
>> I have a common domain model which consists of 1 parent ecore and 5
>> child ecore files. They all reference uml.ecore and ecore.ecore.
>>
>> I can generate tree editors without problem, if I call the parent
>> editor I get a choice of child editors, I can even use load resource to
>> have several child editors linked.
>>
>> Trouble is I'm not sure how to do the similar thing in GMF.
>> I can also generate individual GMF diagrams for each child giving them
>> different names but I would like a linked set of diagrams each which can
>> reference nodes on the different child diagrams.ie if I use a wizard and
>> associated perspective I get a menu saying new DSLA diag ... DSLF diag etc.
>>
>> Am I correct in assuming that there will be 6 gmfgen, mapping and graph
>> files for the parent and 5 children?
>>
>> regards
>> Steve
>>
>
Previous Topic:multiple diagrams with shared domain model and referenced ecore models
Next Topic:Requirement diagram with tooltip editpolicy
Goto Forum:
  


Current Time: Fri Oct 24 13:27:09 GMT 2014

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

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