Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » About EPackage and EFactory in GMF
About EPackage and EFactory in GMF [message #507903] Fri, 15 January 2010 05:29 Go to next message
SonglinPiao  is currently offline SonglinPiao Friend
Messages: 11
Registered: December 2009
Junior Member
I have generated codes using GMF. But I found that there is no source files which implements EPackage and EFatory . So should I implement these two interfaces by myself or are they just generated automatically?
Re: About EPackage and EFactory in GMF [message #508069 is a reply to message #507903] Fri, 15 January 2010 13:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31834
Registered: July 2009
Senior Member
No, your generated model's bundling should have a XyzPackage and
XyzFactory that extends EPackage and EFactory respectively (where Xyz
depends on the prefix of your model).


SonglinPiao wrote:
> I have generated codes using GMF. But I found that there is no
> source files which implements EPackage and EFatory . So should I
> implement these two interfaces by myself or are they just
> generated automatically?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: About EPackage and EFactory in GMF [message #508243 is a reply to message #508069] Mon, 18 January 2010 04:27 Go to previous message
SonglinPiao  is currently offline SonglinPiao Friend
Messages: 11
Registered: December 2009
Junior Member
I have solved the problem. I generated the source files from the EMF project. Thanks for the help!
Previous Topic:gmf
Next Topic:M4 download links
Goto Forum:
  


Current Time: Fri Apr 16 10:26:13 GMT 2021

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

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

Back to the top