Dynamic EMF Editor [message #383552] |
Mon, 17 November 2008 10:05  |
Eclipse User |
|
|
|
Hello all,
I have a question concerning EMF Editors. Is it possible to launch an Editor
based on the dynamic EMF model. My use case is following - I need to build
an Editor for model which is now known at compile time, e.g. Editor for
arbitrary XML Schema. I was thinking about parsing XML Schema using EMF
provided ECORE for it and transform it to dynamic model, after it just use
dynamic model to show to the user.
Is it possible? If yes how can I instantiate such an Editor?
Thank you,
Renat Zubairov
|
|
|
Re: Dynamic EMF Editor [message #383554 is a reply to message #383552] |
Mon, 17 November 2008 12:50  |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Renat,
This is specifically on EMF question, so I copy the reply to the EMF
newsgroup.
You can "Open With... -> Example Reflective Ecore Editor" to open and
XML/XMI resource for which an Ecore package is either registered or
available dynamically, referenced via the xsi:schemaLocation.
This editor provides complete editing capability driven solely by the
Ecore metadata.
HTH,
Christian
Renat Zubairov wrote:
> Hello all,
>
> I have a question concerning EMF Editors. Is it possible to launch an Editor
> based on the dynamic EMF model. My use case is following - I need to build
> an Editor for model which is now known at compile time, e.g. Editor for
> arbitrary XML Schema. I was thinking about parsing XML Schema using EMF
> provided ECORE for it and transform it to dynamic model, after it just use
> dynamic model to show to the user.
> Is it possible? If yes how can I instantiate such an Editor?
>
> Thank you,
> Renat Zubairov
>
|
|
|
Re: Dynamic EMF Editor [message #613603 is a reply to message #383552] |
Mon, 17 November 2008 12:50  |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Renat,
This is specifically on EMF question, so I copy the reply to the EMF
newsgroup.
You can "Open With... -> Example Reflective Ecore Editor" to open and
XML/XMI resource for which an Ecore package is either registered or
available dynamically, referenced via the xsi:schemaLocation.
This editor provides complete editing capability driven solely by the
Ecore metadata.
HTH,
Christian
Renat Zubairov wrote:
> Hello all,
>
> I have a question concerning EMF Editors. Is it possible to launch an Editor
> based on the dynamic EMF model. My use case is following - I need to build
> an Editor for model which is now known at compile time, e.g. Editor for
> arbitrary XML Schema. I was thinking about parsing XML Schema using EMF
> provided ECORE for it and transform it to dynamic model, after it just use
> dynamic model to show to the user.
> Is it possible? If yes how can I instantiate such an Editor?
>
> Thank you,
> Renat Zubairov
>
|
|
|
Powered by
FUDForum. Page generated in 0.04089 seconds