|
|
|
Re: how to show EClass,EEnum and EDataType in ecore digram? [message #881822 is a reply to message #760104] |
Tue, 05 June 2012 10:08 |
Luc Touraille Messages: 3 Registered: June 2012 |
Junior Member |
|
|
Hi,
I have the same need as Sohrab, namely I'd like to show Ecore elements on my diagram. I have an ecore model with a class having a reference to an EClassifier:
//in OCLinEcore:
property type : ecore::EClassifier[1] { !ordered,!unique };
//in XMI
<eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false" unique="false"
lowerBound="1" eType="ecore:EClass <ecore namespace>//EClassifier"/>
I generated an ecorediag file from my model, but this reference to EClassifier does not appear. I tried to load the Ecore metamodel by using "Load resource" from the contextual menu, but it is not possible to browse registered packages. I also tried to create a shortcut, but I can only select a model element from my workspace.
How can I make EClassifier appear on my diagram, so that the connections between my elements and EClassifier are shown?
Thanks,
Luc
|
|
|
Powered by
FUDForum. Page generated in 0.02870 seconds