[Ecore Tools] How to make lines show up for super types and references? [message #613035] |
Thu, 27 December 2007 14:24 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------040400090207060903030508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I wanted to help with 212409 <http://bugs.eclipse.org/212409>. But I
know so little about GMF that I don't know where to begin. What's I was
imagining was the ability to show a label on inheritance and reference
lines that represent the generic parameters. Such a label would only be
shown if the super type or the reference type has type parameters. I
could then look into how to parse the user-modified text to build the
proper EGenericType. Probably I'll start by trying to get it to work
for operations and attributes...
I was also playing with the editor (it's very cool!) to build a diagram
and I was at a complete loss for how to make inheritance and reference
lines show up in the editor. I feel kind of stupid asking how to do
that, but try as I might, I have not been able to figure it out on my
own. I tried even with the simple library model and I can drag classes
into the diagram, but I don't now how to make the lines show up. A hint
from anyone would be greatly appreciated.
--------------040400090207060903030508
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I wanted to help with <a href="http://bugs.eclipse.org/212409"
class="external text" title="http://bugs.eclipse.org/212409"
rel="nofollow">212409</a>. But I know so little about GMF that I
don't know where to begin. What's I was imagining was the ability to
show a label on inheritance and reference lines that represent the
generic parameters. Such a label would only be shown if the super type
or the reference type has type parameters. I could then look into how
to parse the user-modified text to build the proper EGenericType.
Probably I'll start by trying to get it to work for operations and
attributes...<br>
<br>
I was also playing with the editor (it's very cool!) to build a diagram
and I was at a complete loss for how to make inheritance and reference
lines show up in the editor. I feel kind of stupid asking how to do
that, but try as I might, I have not been able to figure it out on my
own. I tried even with the simple library model and I can drag classes
into the diagram, but I don't now how to make the lines show up. A
hint from anyone would be greatly appreciated.<br>
</body>
</html>
--------------040400090207060903030508--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02694 seconds