|
|
|
|
|
|
Re: Trouble with modeling. [message #60611 is a reply to message #60610] |
Mon, 09 October 2006 18:50 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------090408020509030900010603
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Gaff,
I've not followed this whole thread closely, but the @model method refB
will be mapped to an EOperation whereas naming it *get*RefB() would map
it to an EReference.
Gaff wrote:
> Had a go at this bu it didn't work. Still getting just the nodes with
> no edge so I'b e able to join them. Tried adding in the link 'manualy'
> but then have the gmfmap not validating (kind of thought that would
> happen), below is the process I used to try and add a link for the
> graph/tool/map. I can see the EOperation refB within the A EClass of
> ecore, but this doesn't translate to the other models. What am I missing?
>
>
> From A node to B node
>
>
> gmfgraph: added a polyline connection to the Figure Gallery
>
> added a Connection to Canvas with figure as the polyline
> connection above
>
>
> gmftool: added a creation tool for Connect
>
>
> gmfmap: added a link mapping with these settings:
>
> Element (the abstract )
> Source Feature EReference A
> Target Feature EReference B
>
> Diagram Link Connection(above)
> Tool Tool(above)
>
> .. can't validate as can't set the containment feature the same as
> (the abstract). Assume this is because I haven't set a connection
> dataitem in ecore.
>
--------------090408020509030900010603
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Gaff,<br>
<br>
I've not followed this whole thread closely, but the @model method refB
will be mapped to an EOperation whereas naming it <b>get</b>RefB()
would map it to an EReference.<br>
<br>
<br>
Gaff wrote:
<blockquote cite="midd80691a797d372577238ebd588fd7545$1@www.eclipse.org"
type="cite">Had a go at this bu it didn't work. Still getting just the
nodes with no edge so I'b e able to join them. Tried adding in the link
'manualy' but then have the gmfmap not validating (kind of thought that
would happen), below is the process I used to try and add a link for
the graph/tool/map. I can see the EOperation refB within the A EClass
of ecore, but this doesn't translate to the other models. What am I
missing?
<br>
<br>
<br>
From A node to B node
<br>
<br>
<br>
gmfgraph:
|
|
|
Powered by
FUDForum. Page generated in 0.04065 seconds