|
|
|
|
Re: joining class and attribute which are in different packages [message #670046 is a reply to message #670007] |
Thu, 12 May 2011 13:27  |
Ed Merks Messages: 31770 Registered: July 2009 |
Senior Member |
|
|
Terasa,
Comments below.
Teresa Lapp wrote:
> I have an ecore-model with a package and some subpackages. I
> want to connect a class from one subpackage with a class
> from another subpackage, so that the second class is an
> additional information to the first class.
It sounds like all you need is an EReference in one EClass whose eType
is something other EClass...
> The first class
> should be a node and the second class should be an
> additional information to the node.
> I've tried to combine these two classes by creating the
> gmfgraph-, gmftool-model and so on, but it doesn't work.
I imagine there should be a connection in the model itself, i.e., some
type of EReference to relate the two things.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: joining class and attribute which are in different packages [message #670047 is a reply to message #670007] |
Thu, 12 May 2011 13:27  |
Ed Merks Messages: 31770 Registered: July 2009 |
Senior Member |
|
|
Terasa,
Comments below.
Teresa Lapp wrote:
> I have an ecore-model with a package and some subpackages. I
> want to connect a class from one subpackage with a class
> from another subpackage, so that the second class is an
> additional information to the first class.
It sounds like all you need is an EReference in one EClass whose eType
is something other EClass...
> The first class
> should be a node and the second class should be an
> additional information to the node.
> I've tried to combine these two classes by creating the
> gmfgraph-, gmftool-model and so on, but it doesn't work.
I imagine there should be a connection in the model itself, i.e., some
type of EReference to relate the two things.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02290 seconds