Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » (no subject)
(no subject) [message #692358] Mon, 04 July 2011 09:16 Go to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi all,

I want to have the generated editor in a view. Is there any tutorial available on how to achieve such a thing?

Ralph
Re: How to put EMF editor in view [message #692406 is a reply to message #692358] Mon, 04 July 2011 11:36 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to put EMF editor in view
Next Topic:(no subject)
Goto Forum:
  


Current Time: Sat Apr 20 00:42:46 GMT 2024

Powered by FUDForum. Page generated in 0.02415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top