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 09:20 Go to next message
Jens Rabe is currently offline Jens Rabe
Messages: 53
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 03:43 Go to previous message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

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: Sun Aug 31 02:42:04 EDT 2014

Powered by FUDForum. Page generated in 0.02342 seconds