Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » .gmfgen differences between M5 and M6, now things are deprecated, but what is the replacement?
.gmfgen differences between M5 and M6, now things are deprecated, but what is the replacement? [message #226914] Tue, 21 April 2009 22:03 Go to next message
Brian Jakubik is currently offline Brian JakubikFriend
Messages: 140
Registered: July 2009
Senior Member
Wehn I upgraded to M6, my .gmfgen would no longer open, I had to
recreate the generator model, and then it opened but created 2 "Gen
Editor Generators", one that had no information and the other had my
previous edits. I manually deleted the "empty" Gen Editor Generator"
and could not generate the diagram code. So I deleted the .gmfgen, and
recreated from scratch, put in my previous changes, and it generates the
diagram code. However I'm seeing alot of deprecated parts in .gmfgen,
what have they been replaced with?

Specifically *TypeViewFactory, what is the replacement?

Thanks
Brian Jakubik
Re: .gmfgen differences between M5 and M6, now things are deprecated,but what is the replacement? [message #226987 is a reply to message #226914] Wed, 22 April 2009 11:03 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Brian,

You have to either delete old .gmfgen model and re-create it using .gmfmap
or migrate existin g.gmfgen model using popup menu action "Migrate to GMF
2.2". This action can be missed in GMF M6. In this case try latest GMf build
- it is already there.

-----------------
Alex Shatalin
Re: .gmfgen differences between M5 and M6, now things are deprecated,but what is the replacement? [message #227041 is a reply to message #226987] Wed, 22 April 2009 15:37 Go to previous messageGo to next message
Brian Jakubik is currently offline Brian JakubikFriend
Messages: 140
Registered: July 2009
Senior Member
Thanks Alex, unless I'm missing something, I still see the Migrate to
GMF 2.1 in the latest integration release, and still see the following
errors when trying to migrate:

FeatureNotFoundException: Feature 'parser' not found.
(platform:/resource/com.mycompany.it.internal/model/it.gmfge n, 502, 57)
....

Alex Shatalin wrote:
> Hello Brian,
>
> You have to either delete old .gmfgen model and re-create it using
> .gmfmap or migrate existin g.gmfgen model using popup menu action
> "Migrate to GMF 2.2". This action can be missed in GMF M6. In this case
> try latest GMf build - it is already there.
>
> -----------------
> Alex Shatalin
>
>
Re: .gmfgen differences between M5 and M6, now things are deprecated,butwhat is the replacement? [message #227123 is a reply to message #227041] Thu, 23 April 2009 12:50 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Brian,

Ig you are upgreading to M6 from GMF M5 then you have to open .gmfgen file
in a text editor and change model URI from http://www.eclipse.org/gmf/2008/GenModel
to http://www.eclipse.org/gmf/2009/GenModel.
If you are migrating from the prev. GMF release then M6 is not sufficient
for you - you have to download one of the latest GMF builds and run migration
action/open corresponding model.

-----------------
Alex Shatalin
Previous Topic:Compartment overlapse top level figure
Next Topic:DIFFERENT TYPES OF RELATIONSHIPS (CONNECTIONS)
Goto Forum:
  


Current Time: Sat Nov 25 00:29:54 GMT 2017

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

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