|
Re: Set attribute of EMap, EEList [message #716984 is a reply to message #716935] |
Thu, 18 August 2011 23:38 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
The graphical editor is quite poor for dealing with generics. <br>
<br>
Perhaps you really want a modeled map?<br>
<ul>
<li class="toclevel-2"><a
href="http://wiki.eclipse.org/index.php/EMF/FAQ#How_do_I_create_a_Map_in_EMF.3F"><span
class="tocnumber">2.29</span> <span class="toctext">How do
I create a Map in EMF?</span></a></li>
</ul>
If that's not what you want, all the details for creating generic
types need to be done in the Sample Ecore Editor by creating generic
types as children in the argument list...<br>
<br>
<br>
On 18/08/2011 1:40 PM, Dave wrote:
<blockquote cite="mid:j2jso3$1g5$1@news.eclipse.org" type="cite">Hello!
<br>
<br>
Via the ecorediag GUI, how does one update the attributes for an
EMap or an EEList?
<br>
<br>
Steps to reproduce:
<br>
<br>
In my ecorediag, I added an EMap:
<br>
<br>
* In a class, add an EAttribute
<br>
* Set the attribute's EType to EMap
<br>
* Set the attribute's name (queryColumns)
<br>
<br>
This then gets displayed as
<br>
queryColumns : EMap<?,?>
<br>
<br>
So my question is: how do I then set the types of the key and
value in the Map?
<br>
<br>
Thanks in advance!
<br>
</blockquote>
</body>
</html>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03134 seconds