Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF editor for heavyweight UML extension language(Problem when generate model code fron genmodel file)
GMF editor for heavyweight UML extension language [message #649664] Thu, 20 January 2011 08:03 Go to next message
Hoang Tran is currently offline Hoang TranFriend
Messages: 3
Registered: January 2011
Junior Member
Hi everyone,

Im doing a research, in which I have to create a GMF editor for a language named UMLPP. UMLPP uses UML2.0 heavyweight extension mechanism (It extends some classes for example Classifier, Element, DirectedRelationship ...).

I've already create the umlpp.ecore and umlpp.genmodel.
When generating model code, edit code and editor code. I face with many errors. Most of them said that : I have to implement abstract operations from UML class
(For example : AbstractProcessPatternImpl must implement the inherited abstract method ActivityNode.getIncoming(String, boolean, EClass) AbstractProcessPatternImpl)

I can't go on to create the gmftool & gmfgraph without overcome this problem.

Do you have any suggestion for this ? Thanks in advanced.

[Updated on: Thu, 20 January 2011 08:22]

Report message to a moderator

Re: GMF editor for heavyweight UML extension language [message #649858 is a reply to message #649664] Thu, 20 January 2011 18:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Note that UML itself must be generated from UML's own extended GenModel,
not EMF's more basic GenModel. You should be reusing UML's GenModel...

Hoang Tran wrote:
> Hi everyone,
>
> Im doing a research, in which I have to create an GMF editor for a
> language named UMLPP. UMLPP uses UML2.0 heavyweight extension
> mechanism (It extends some classes for example Classifier, Element,
> DirectedRelationship ...).
>
> I've already create the umlpp.ecore and uml.genmodel.
> When generating model code, edit code and editor code. I face with
> many errors. Most of them said that : I have to install abstract
> operations from UML class
> (For example : AbstractProcessPatternImpl must implement the inherited
> abstract method ActivityNode.getIncoming(String, boolean, EClass)
> AbstractProcessPatternImpl)
>
> I can't go on to create the gmftool & gmfgraph without overcome this
> problem.
> Do you have any suggestion for this ? Thanks in advanced.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: GMF editor for heavyweight UML extension language [message #650502 is a reply to message #649858] Tue, 25 January 2011 10:43 Go to previous message
Hoang Tran is currently offline Hoang TranFriend
Messages: 3
Registered: January 2011
Junior Member
Thanks Ed for replying,
It seems I have found the solution. I am following http://www.eclipsecon.org/2008/index.php?page=sub/&id=172 to create the uml model, then generate genmodel & the code...

Ed Merks wrote on Thu, 20 January 2011 13:16
Note that UML itself must be generated from UML's own extended GenModel,
not EMF's more basic GenModel. You should be reusing UML's GenModel...

Hoang Tran wrote:
> Hi everyone,
>
> Im doing a research, in which I have to create an GMF editor for a
> language named UMLPP. UMLPP uses UML2.0 heavyweight extension
> mechanism (It extends some classes for example Classifier, Element,
> DirectedRelationship ...).
>
> I've already create the umlpp.ecore and uml.genmodel.
> When generating model code, edit code and editor code. I face with
> many errors. Most of them said that : I have to install abstract
> operations from UML class
> (For example : AbstractProcessPatternImpl must implement the inherited
> abstract method ActivityNode.getIncoming(String, boolean, EClass)
> AbstractProcessPatternImpl)
>
> I can't go on to create the gmftool & gmfgraph without overcome this
> problem.
> Do you have any suggestion for this ? Thanks in advanced.
>

Previous Topic:GMF Mapping Hierarchy
Next Topic: java.lang.IllegalArgumentException : Transposer
Goto Forum:
  


Current Time: Fri Apr 26 19:42:36 GMT 2024

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

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

Back to the top