Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Automatic node creation
Automatic node creation [message #158448] Tue, 06 November 2007 09:50 Go to next message
Giordano is currently offline GiordanoFriend
Messages: 21
Registered: July 2009
Junior Member
Hi!
I have a problem with GMF!
When I add a figure to my diagram I need that oneother figure (a child of
the main figure) automatically gets created. I tried with "Reference New
element spec" in the gmfmap file but I receive this error "The feature
'initializers' of 'Feature Seq Initializer<new Baloon()>' with 0 values
must have at least 1 values". I saw a previus discussion about this
argument but it doesn't work..
Please help me.........!!!!!!!!!!!!!!!
Re: Automatic node creation [message #158721 is a reply to message #158448] Wed, 07 November 2007 17:15 Go to previous messageGo to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ues the extensible type registry or in case of an specific edit part an
edit policy

Giordano schrieb:
> Hi!
> I have a problem with GMF!
> When I add a figure to my diagram I need that oneother figure (a child
> of the main figure) automatically gets created. I tried with "Reference
> New element spec" in the gmfmap file but I receive this error "The
> feature 'initializers' of 'Feature Seq Initializer<new Baloon()>' with 0
> values must have at least 1 values". I saw a previus discussion about
> this argument but it doesn't work..
> Please help me.........!!!!!!!!!!!!!!!
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHMfK7IYVWjMSpDwwRAtx5AJ4kZUTqj92nN2MZSQzYiknoN+wMVACg 1r/9
6oFcfcn5Iu6RNcKnRezlM7M=
=7Emm
-----END PGP SIGNATURE-----
Re: Automatic node creation [message #159726 is a reply to message #158448] Mon, 12 November 2007 15:51 Go to previous message
Eclipse UserFriend
Originally posted by: manja.wolf.web.de

Hi Giordano,

I tried it in your way and noticed that you have to add an additional
child to the "feature seq initializer": "feature value spec" with any
initialization of an attribute of your Baloon().

It works in my case.

Hope this helps.

Manja

Giordano schrieb:
> Hi!
> I have a problem with GMF!
> When I add a figure to my diagram I need that oneother figure (a child
> of the main figure) automatically gets created. I tried with "Reference
> New element spec" in the gmfmap file but I receive this error "The
> feature 'initializers' of 'Feature Seq Initializer<new Baloon()>' with 0
> values must have at least 1 values". I saw a previus discussion about
> this argument but it doesn't work..
> Please help me.........!!!!!!!!!!!!!!!
>
>
Previous Topic:reading value of attribute from another strage
Next Topic:Border items keeping moving
Goto Forum:
  


Current Time: Thu Apr 18 09:47:21 GMT 2024

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

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

Back to the top