Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Creating an element within a compartment automatically
Creating an element within a compartment automatically [message #201527] Tue, 12 August 2008 06:46 Go to next message
Eclipse UserFriend
Originally posted by: florin.botis.gmail.com

Hi
I'm wondering if this is possible. I habe a figure A<>---------B (A
aggregates B)
I have a compartment in A for B objects. Now I must first create an A object
and then create a B object inside the compartment of A. What I want to do is
when I create an A object the B object within A compartment to be created
automatically. Is this possible? How?

Thanks in advance,
Florin Botis
Re: Creating an element within a compartment automatically [message #201534 is a reply to message #201527] Tue, 12 August 2008 07:10 Go to previous message
Eclipse UserFriend
Originally posted by: florin.botis.gmail.com

I found the solution: I must use Feature Seq initializer and init the B
object which is aggregated by A object


"Florin Botis" <florin.botis@gmail.com> wrote in message
news:g7rbk0$vk9$1@build.eclipse.org...
> Hi
> I'm wondering if this is possible. I habe a figure A<>---------B (A
> aggregates B)
> I have a compartment in A for B objects. Now I must first create an A
> object and then create a B object inside the compartment of A. What I want
> to do is when I create an A object the B object within A compartment to be
> created automatically. Is this possible? How?
>
> Thanks in advance,
> Florin Botis
>
Previous Topic:GMF editor help
Next Topic:Outline view
Goto Forum:
  


Current Time: Fri Apr 26 03:31:05 GMT 2024

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

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

Back to the top