Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Figures
Figures [message #152269] Wed, 26 September 2007 21:01 Go to next message
Eclipse UserFriend
Originally posted by: elena.renzi.gmail.com

hi all,
I want to create a rectangle which background is a figure that I already
created...how can I do this?

Thanks and regards,
Elena
Re: Figures [message #152387 is a reply to message #152269] Thu, 27 September 2007 14:22 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

create the rectangle, add your figure as child 0. Watch out for the
layout manager used in the rec. Try stack layout first.
- -stefan

Elena Renzi schrieb:
> hi all,
> I want to create a rectangle which background is a figure that I already
> created...how can I do this?
>
> Thanks and regards,
> Elena
>

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

iD8DBQFG+7ygIYVWjMSpDwwRAsYbAJ4+ApR3FEMeaJlYmZL3sKgJPiAGwwCc Dpq/
ZLPUaMNG9J1KSwd6mg/BfhA=
=PPpy
-----END PGP SIGNATURE-----
Re: Figures [message #152393 is a reply to message #152387] Thu, 27 September 2007 15:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: elena.renzi.gmail.com

Thank you very much for your reply.
Sorry but I'm not too expert...how can I add my figure as child 0?
Should I add it as custom figure child to my rectangle?
Thanks a lot,
Elena
Re: Figures [message #152409 is a reply to message #152393] Thu, 27 September 2007 16:36 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

make a custom figure, afaik addFigure is overloaded and allows you to
specify a position.
- -stefan

Elena Renzi schrieb:
> Thank you very much for your reply.
> Sorry but I'm not too expert...how can I add my figure as child 0?
> Should I add it as custom figure child to my rectangle?
> Thanks a lot,
> Elena
>

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

iD8DBQFG+9wUIYVWjMSpDwwRAtZXAKCf704aRh49fnLW/Sp2Clv1OqBX/gCe JYDw
porI7/Zw1tv5S3V6mGwiNV8=
=uF4Q
-----END PGP SIGNATURE-----
Re: Figures [message #152418 is a reply to message #152409] Thu, 27 September 2007 17:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: elena.renzi.gmail.com

I create my rectangle, then I add a custom figure where I specify for
bundle the project name in which my figure is stored, for name a name but
I don't know what to specify for Qualified Class Name...

Thanks,
Elena
Re: Figures [message #152425 is a reply to message #152418] Thu, 27 September 2007 18:20 Go to previous message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you might want to read a tutorial how to add/use custom figures.

- -stefan


Elena Renzi schrieb:
> I create my rectangle, then I add a custom figure where I specify for
> bundle the project name in which my figure is stored, for name a name
> but I don't know what to specify for Qualified Class Name...
>
> Thanks,
> Elena
>

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

iD8DBQFG+/R2IYVWjMSpDwwRAm+7AKDIRdWE4gHUwHvHzguNSYFCe4bYmgCg kdJE
bUOFIy501+5xa3vtR8frA8Y=
=d6eH
-----END PGP SIGNATURE-----
Previous Topic:Is it possible to decorate something other than a polyline cornection?
Next Topic:Programmatically create nodes and links
Goto Forum:
  


Current Time: Sat Nov 09 05:45:50 GMT 2024

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

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

Back to the top