|
|
|
Re: How to annotate to refer other ecore package? [message #1486828 is a reply to message #1486746] |
Tue, 25 November 2014 10:10 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Hiroki,
I think without the UML source project in the workspace, the importer
isn't smart enough to know there is a model. Xcore is much better as a
textual representation.
On 25/11/2014 10:02 AM, Hiroki Kondo wrote:
> Thanks your response.
>
> If I wrote the code like below, the EAttribute association is made in the attached ecore file.(sample.ecore)
>
>
> package sample;
>
> import org.eclipse.uml2.uml.Class;
>
> /**
> * @model
> */
> public interface LoadUML2 {
>
> /**
> * @model
> */
> public Class getUML2Class();
>
> }
>
>
> How about EReference? How I specify to make like attached file(refered_uml2.ecore)?
>
> Regards,
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02636 seconds