|
Re: Use EMF's node Any in Sirius [message #1696462 is a reply to message #1696163] |
Tue, 26 May 2015 10:47  |
Eclipse User |
|
|
|
Hi Sebastien,
Your issue don't seems related to Sirius, XSD and FeatureMap is EMF
related. You should ask your question on EMF forum.
Best Regards.
Le 22/05/2015 15:40, Sebastien Dossot a écrit :
> Hi everyone,
>
> I'm trying to make a tool with sirius and i encountered a problem. I would like that users could create their own nodes in my representation. So i imported a xsd file to create an EMF project, in this xsd file i declare an any node as you can see below
>
> <any namespace="##local" processContents="skip"
> maxOccurs="unbounded">
> <annotation>
> <documentation>
> Representation node is open to any kind of
> primitive at that time.
> </documentation>
> </annotation>
> </any>
>
> The import of the xsd works fine and i obtain my emf ecore file with an attribute call any of type EFeatureMapEntry, as you can see here:
>
>
>
> So I do everything well to create a Sirius project based on this emf project and.. don't know why but i can't see my attribute any...
>
>
>
> I tried to add an attribute of "AnyType" in my EMF .ecore file and it didn't works either.
>
> Is it possible to do it my way? Is there someone able to say if there is a solution a little similar to this? Or it's not possible to do it?
>
> Thank you very much in advance,
>
> Best regards,
>
> Sébastien D.
>
--
Esteban Dugueperoux - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.04326 seconds