Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Initialize XXX diagram file - emtpy diagram file
Initialize XXX diagram file - emtpy diagram file [message #201520] Tue, 12 August 2008 06:43 Go to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi

I'm developing a RCP application. In this application I need a "Import"
function.
With the help of this "Import" models defined with an other GMF editor may
be used. In order to do so, the model from the other GMF editor needs to
be simplified, which I already did. The problem now is, that when I apply
"Initialize XXX diagram file" on my imported model, the diagram that is
generated doesn't show anything.

Any ideas why the content of the imported model isn't copied to the
diagram? Apparently there is no bug in the model, if there was I would get
an exception wouldn't I?

Greets
Marsha
Re: Generate UUID programmaticaly [message #201711 is a reply to message #201520] Wed, 13 August 2008 08:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi again,

I found out where the problem is. I'm using UUIDs for my GMF Editor and
the model file that gets created while importing doesn't have an id in the
root-tag.

My question now is how can I generate such an UUID programmaticaly?

Thanks for your help
Marsha

> Hi

> I'm developing a RCP application. In this application I need a "Import"
> function.
> With the help of this "Import" models defined with an other GMF editor may
> be used. In order to do so, the model from the other GMF editor needs to
> be simplified, which I already did. The problem now is, that when I apply
> "Initialize XXX diagram file" on my imported model, the diagram that is
> generated doesn't show anything.

> Any ideas why the content of the imported model isn't copied to the
> diagram? Apparently there is no bug in the model, if there was I would get
> an exception wouldn't I?

> Greets
> Marsha
Re: Generate UUID programmaticaly [solved] [message #201718 is a reply to message #201711] Wed, 13 August 2008 08:38 Go to previous message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi,

I solved it using EcoreUtil.generateUUID().

Greets
Marsha
Previous Topic:Collapsible connections?
Next Topic:Problem with collapsible compartment...
Goto Forum:
  


Current Time: Thu Apr 25 09:23:20 GMT 2024

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

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

Back to the top