Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How can I include custom controls in Application.e4xmi?
How can I include custom controls in Application.e4xmi? [message #1281861] Tue, 01 April 2014 13:20 Go to next message
Jens Rabe is currently offline Jens RabeFriend
Messages: 81
Registered: September 2013
Member
I modeled a part following vogella's tutorial at http://www.vogella.com/tutorials/Eclipse4ExtendModel/article.html and now I want to include it in my Application.e4xmi. However the tutorial stops at "Note down the uri from the extension point. You need later to define this in your Application.e4xmi."

How do I actually "define this in my Application.e4xmi"? I found a Russian site here: http://ru.tmsoftstudio.com/file/page/Eclipse4/e4_ch7_rasshirenie-modeli-prilozheniya.html but all changes they describe there I do to my Application.e4xmi are reverted whenever I switch to the tree view again.

Currently, I just create a new Part and point the Class URI to the concrete Implementation class EMF generates using vogella's approach.

Is this currently correct or is there another bit I still have to do?
Re: How can I include custom controls in Application.e4xmi? [message #1295357 is a reply to message #1281861] Mon, 14 April 2014 07:43 Go to previous message
Eclipse UserFriend
You'd have to extend the Application.e4xmi editor because it does not really know how to edit your new model element. I've done it here: https://github.com/semanticsoft/vaaclipse-tools/commit/91d08ecda89be017c7e7d6438a2d02dd25706e4c
Previous Topic:How to "correctly" supply additional configuration to objects configured in Application.e4
Next Topic:Dependency Injection (Beginner)
Goto Forum:
  


Current Time: Thu Apr 18 23:03:45 GMT 2024

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

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

Back to the top