Skip to main content



      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
Eclipse UserFriend
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
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: Tue Jul 15 01:50:54 EDT 2025

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

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

Back to the top