|
Re: How to put EMF editor in view [message #692406 is a reply to message #692358] |
Mon, 04 July 2011 11:36 |
Eclipse User |
|
|
|
Originally posted by:
On 04.07.11 11.16, ralph. wrote:
> Hi all,
>
> I want to have the generated editor in a view. Is there any tutorial
> available on how to achieve such a thing?
In general, you need to
1) create a resource set and get hold of the resource to show
2) create the editing domain with an appropriate (compound) adapter
factory with a reference to the resource set
3) create the TreeViewer with the appropriate content and label
providers and of course input
All of this can be found in the source of EcoreEditor, mostly in the
initializeEditingDomain() and createPages() method, I think.
Hallvard
|
|
|
Powered by
FUDForum. Page generated in 0.02415 seconds