Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » New comer with a special need : Definition of the domain Model of Eclipse 4 RCP applications in EMF (Definition of the domain Model of Eclipse 4 RCP applications in EMF Ecore.)
icon7.gif  New comer with a special need : Definition of the domain Model of Eclipse 4 RCP applications in EMF [message #1731569] Fri, 06 May 2016 21:08 Go to next message
Abdelhakim Maghraoui is currently offline Abdelhakim MaghraouiFriend
Messages: 3
Registered: May 2016
Junior Member
Hello, I'm new to this Forum and I've put thisis question in many section of the foeum as it is urgent for me but It has not been posted yet under any section.

My name is Abdelhakim Maghraoui, I'm prossuing an Engineering deploma in Computer Science at the National Highier School of IT in Rabat, Moroc, It is equivalent to a master (5 years of studies after High School) in your Country I guees, right now I'm in my final year, and In this last semester I'm doing an Interships with Itemis in France, The Title of this master Thesis is : Design and Implementation of a Domain specific Language(DSL) to support Model diriven architecture Definition of Eclipse apllications using Xtext.

The notable point that I'm going to cover and implement in this project are :


* Design and development of an Xtext-based domain-specific-language (DSL) to define the plug-in and feature architecture of of Eclipse products and update sites

* Generation and customization of a corresponding architecture definition editor experience providing comprehensive syntax coloring, code completion, validation capabilities

* Development of a generator that takes an Eclipse application architecture definition that has been written using the DSL as input and creates corresponding skeletons of plug-in, feature and product/update site projects in the Eclipse workspace

* Development an an importer/synchronizer that monitors the existing plug-in, feature and product/update site projects in the Eclipse workspace and extracts/updates corresponding Eclipse application architecture definitions expressed in the DSL.

The most notable technologies I'm using in this project are : Eclipse plattform, Eclipse PDE, and Eclipse JDT, Java, Xtext, Xtend, Ocl, UML, XML, XMI.

As I hope you'll see that one of the core points in my project is to to develop An ebstract snctax of the DSL, that the domain model of Eclipse pulg-in, I'll start from the definition of an abstract syntax for the DSL in Ecore and then add a Conrete Syntax defition to this AS in Xtext. the DSL must be flexible enough so it can definie any eclipse plug-in or feature but it must not be too big. One of the main chalenges olso in this project is to find witch Eclipse version to support and then documenting about developing plug-ins for this Eclipse version, a you can see the domain of my model require a Botton-up aproach. For this, I decided that My dsl is going to support Eclipse 4 RCP as it involves plug-in, features as well as standalone application development, and eclipse 4 give a detailed and strict definition of its application under its e4 application model definition. For the last part of my project that involves everse engineering an eclipse plug-in or features and give its corresponding Eclipse application architecture definitions expressed in the DSL, I think that I'm going to documente about how to migrate Eclipse 3.X application to Eclipse 4.X, and developing a tool that read plug-in filles and directorie in Eclipse wokspace and if it found that it's an Eclipse 3.x application it give them new definition under Eclipse 4 RCP application model in the DSL syntax by using the migration techniques found in Eclipse 4 Domentation.

I'm hoping if you can help me to go advance in my project with more speed by asking you if you already have some parts of the Domain Model of eclipse 4 RCP application described under EMF Ecore, UML, JAVA or XML so it can help me developed a good model because this is my first experience in Model Driven Software Engineering. That would help me very much and we can cooperate in this project and maybe later projects.

I'm asking you also to guide me if there are some faults in the description that I gave you about how am i going to Implement my DSL.

Thank you very much
Re: New comer with a special need : Definition of the domain Model of Eclipse 4 RCP applications in [message #1731624 is a reply to message #1731569] Sun, 08 May 2016 07:38 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30458
Registered: July 2009
Senior Member
That sounds cool. Very ambitious too...

The e4 models are in
/org.eclipse.e4.ui.model.workbench/model/ModelFragment.ecore

I see there's also /org.eclipse.e4.ui.model.workbench/model/E4Dsl.xtext

There are no EMF models for the plug-in/feature/product structure, but
the PDE has hand-written representations for these things. Similarly
for JDT for Java structure of projects.


On 08.05.2016 01:02, Abdelhakim Maghraoui wrote:
> Hello, I'm new to this Forum and I've put thisis question in many
> section of the foeum as it is urgent for me but It has not been posted
> yet under any section.
>
> My name is Abdelhakim Maghraoui, I'm prossuing an Engineering deploma
> in Computer Science at the National Highier School of IT in Rabat,
> Moroc, It is equivalent to a master (5 years of studies after High
> School) in your Country I guees, right now I'm in my final year, and
> In this last semester I'm doing an Interships with Itemis in France,
> The Title of this master Thesis is : Design and Implementation of a
> Domain specific Language(DSL) to support Model diriven architecture
> Definition of Eclipse apllications using Xtext.
>
> The notable point that I'm going to cover and implement in this
> project are :
>
> * Design and development of an Xtext-based domain-specific-language
> (DSL) to define the plug-in and feature architecture of of Eclipse
> products and update sites
>
> * Generation and customization of a corresponding architecture
> definition editor experience providing comprehensive syntax coloring,
> code completion, validation capabilities
>
> * Development of a generator that takes an Eclipse application
> architecture definition that has been written using the DSL as input
> and creates corresponding skeletons of plug-in, feature and
> product/update site projects in the Eclipse workspace
>
> * Development an an importer/synchronizer that monitors the existing
> plug-in, feature and product/update site projects in the Eclipse
> workspace and extracts/updates corresponding Eclipse application
> architecture definitions expressed in the DSL.
>
> The most notable technologies I'm using in this project are : Eclipse
> plattform, Eclipse PDE, and Eclipse JDT, Java, Xtext, Xtend, Ocl,
> UML, XML, XMI.
>
> As I hope you'll see that one of the core points in my project is to
> to develop An ebstract snctax of the DSL, that the domain model of
> Eclipse pulg-in, I'll start from the definition of an abstract syntax
> for the DSL in Ecore and then add a Conrete Syntax defition to this AS
> in Xtext. the DSL must be flexible enough so it can definie any
> eclipse plug-in or feature but it must not be too big. One of the main
> chalenges olso in this project is to find witch Eclipse version to
> support and then documenting about developing plug-ins for this
> Eclipse version, a you can see the domain of my model require a
> Botton-up aproach. For this, I decided that My dsl is going to support
> Eclipse 4 RCP as it involves plug-in, features as well as standalone
> application development, and eclipse 4 give a detailed and strict
> definition of its application under its e4 application model
> definition. For the last part of my project that involves everse
> engineering an eclipse plug-in or features and give its corresponding
> Eclipse application architecture definitions expressed in the DSL, I
> think that I'm going to documente about how to migrate Eclipse 3.X
> application to Eclipse 4.X, and developing a tool that read plug-in
> filles and directorie in Eclipse wokspace and if it found that it's an
> Eclipse 3.x application it give them new definition under Eclipse 4
> RCP application model in the DSL syntax by using the migration
> techniques found in Eclipse 4 Domentation.
>
> I'm hoping if you can help me to go advance in my project with more
> speed by asking you if you already have some parts of the Domain Model
> of eclipse 4 RCP application described under EMF Ecore, UML, JAVA or
> XML so it can help me developed a good model because this is my first
> experience in Model Driven Software Engineering. That would help me
> very much and we can cooperate in this project and maybe later projects.
>
> I'm asking you also to guide me if there are some faults in the
> description that I gave you about how am i going to Implement my DSL.
>
> Thank you very much
Re: New comer with a special need : Definition of the domain Model of Eclipse 4 RCP applications in [message #1733141 is a reply to message #1731624] Tue, 24 May 2016 17:50 Go to previous messageGo to next message
Abdelhakim Maghraoui is currently offline Abdelhakim MaghraouiFriend
Messages: 3
Registered: May 2016
Junior Member
Thank you so much for your help, I'm sorry for this late reply I was realy busy with the project but the links you gave me helped me very much.

Actually, I decided and I'm already working on extending this dsl : /org.eclipse.e4.ui.model.workbench/model/E4Dsl.xtext to support also plug-in, features and update sites definitions in addition to Eclipse 4 rcp applications that it already support, I've spent a lot of time learning to develop eclipse plug-ins and I think I can come up with a good metamodel definitions for them.

You told me that the PDE has a hand written representation for plug-ins definitions ar you talking about the documentations ?!
Re: New comer with a special need : Definition of the domain Model of Eclipse 4 RCP applications in [message #1733173 is a reply to message #1733141] Wed, 25 May 2016 06:14 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30458
Registered: July 2009
Senior Member
Abdelhakim,

Comments below.


On 24.05.2016 19:50, Abdelhakim Maghraoui wrote:
> Thank you so much for your help, I'm sorry for this late reply I was
> realy busy with the project but the links you gave me helped me very
> much.
>
> Actually, I decided and I'm already working on extending this dsl :
> /org.eclipse.e4.ui.model.workbench/model/E4Dsl.xtext to support also
> plug-in, features and update sites definitions in addition to Eclipse
> 4 rcp applications that it already support, I've spent a lot of time
> learning to develop eclipse plug-ins and I think I can come up with a
> good metamodel definitions for them.
>
> You told me that the PDE has a hand written representation for
> plug-ins definitions ar you talking about the documentations ?!
No, I mean it's not backed by (implemented as) an EMF model. The
in-memory representation is a carefully-crafted, hand-written API.
Documentation for that API is pretty sparse.
Re: New comer with a special need : Definition of the domain Model of Eclipse 4 RCP applications in [message #1734167 is a reply to message #1733173] Sun, 05 June 2016 16:17 Go to previous messageGo to next message
Abdelhakim Maghraoui is currently offline Abdelhakim MaghraouiFriend
Messages: 3
Registered: May 2016
Junior Member
Thank you Ed Marks, I understand that, and the documentation even if it's spare it's very helpfull for understanding the core concepts, I'm nox in the phase of developing the Abstract syntax and concrete syntax of the DSL as I think I have a good understanding now for developing eclipse 3.x plug-ins, I found a picture on this site : https://www.ibm.com/developerworks/library/os-eclipse-3.3menu/ that exlain commands, handlers and menu contribution in eclipse 3.x in a class diagram, do you know any webpage or documents that give other class diagrams of the other components that we ue while developing an eclipse ui plug-ins, like the one for editors, views, features definition and update sites ?

I have onther question too: do you think it is possible to add in my dsl the definition of SWT and Jface witgets ? even if it was just some of the widgets and not all of them, because every widgets require a diferent contruction and have diferent methods ?

Thank you very mch for your help Smile !

the image is : https://www.ibm.com/developerworks/library/os-eclipse-3.3menu/image1.jpg
Re: New comer with a special need : Definition of the domain Model of Eclipse 4 RCP applications in [message #1734206 is a reply to message #1734167] Mon, 06 June 2016 08:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30458
Registered: July 2009
Senior Member
Comments below.


On 05.06.2016 18:17, Abdelhakim Maghraoui wrote:
> Thank you Ed Marks, I understand that, and the documentation even if
> it's spare it's very helpfull for understanding the core concepts, I'm
> nox in the phase of developing the Abstract syntax and concrete syntax
> of the DSL as I think I have a good understanding now for developing
> eclipse 3.x plug-ins, I found a picture on this site :
> https://www.ibm.com/developerworks/library/os-eclipse-3.3menu/ that
> exlain commands, handlers and menu contribution in eclipse 3.x in a
> class diagram, do you know any webpage or documents that give other
> class diagrams of the other components that we ue while developing an
> eclipse ui plug-ins, like the one for editors, views, features
> definition and update sites ?
No, I'm not sure the best source from such information. I suppose
Google is one's best friend in such cases.
> I have onther question too: do you think it is possible to add in my
> dsl the definition of SWT and Jface witgets ?
In principle. Certainly others have build DSLs for more easily building
GUIs.
> even if it was just some of the widgets and not all of them, because
> every widgets require a diferent contruction and have diferent methods ?
>
> Thank you very mch for your help :) !
I can't provide so much help...
>
> the image is :
Previous Topic:Why do I have to pick the Eclipse Community twice to a search?
Next Topic:Community support on Eclipse versions
Goto Forum:
  


Current Time: Sat Sep 21 19:52:18 GMT 2019

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

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

Back to the top