Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to include figure inside figure
how to include figure inside figure [message #134828] Tue, 12 June 2007 08:50 Go to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Hi,

I would like to know how can I include figure into a contener figure,

for example I've a figure named box and I would like to place it some
widgets (checkbox, label ...)

Thanks.

Regards,
Alexandre
Re: how to include figure inside figure [message #135018 is a reply to message #134828] Tue, 12 June 2007 13:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Alexandre Jaquet a écrit :
> Hi,
>
> I would like to know how can I include figure into a contener figure,
>
> for example I've a figure named box and I would like to place it some
> widgets (checkbox, label ...)
>
> Thanks.
>
> Regards,
> Alexandre

I found it by defining a compartment, not sure it will solve all
my use case, I will try it.

Regards,
Alexandre
Re: how to include figure inside figure [message #135030 is a reply to message #135018] Tue, 12 June 2007 13:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Alexandre Jaquet a écrit :
> Alexandre Jaquet a écrit :
>> Hi,
>>
>> I would like to know how can I include figure into a contener figure,
>>
>> for example I've a figure named box and I would like to place it some
>> widgets (checkbox, label ...)
>>
>> Thanks.
>>
>> Regards,
>> Alexandre
>
> I found it by defining a compartment, not sure it will solve all
> my use case, I will try it.
>
> Regards,
> Alexandre

Is it possible to include a compartment inside another one ?

Regards,
Alexandre
Re: how to include figure inside figure [message #135083 is a reply to message #135030] Tue, 12 June 2007 14:21 Go to previous messageGo to next message
Tex Twil is currently offline Tex TwilFriend
Messages: 179
Registered: July 2009
Senior Member
Why do you want to do this ? Do you want to have 2 different figures in
one compartment ? In this case tou can create a compartement and set two
(or more) references to the property Child.

Tex
Re: how to include figure inside figure [message #135092 is a reply to message #135083] Tue, 12 June 2007 14:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Tex Twil a écrit :
> Why do you want to do this ? Do you want to have 2 different figures in
> one compartment ? In this case tou can create a compartement and set two
> (or more) references to the property Child.
>
> Tex
>
Hi Tex, this is not for that case, my compartment will represent for
example a table in this table I want to create other tables inside.

Thanks for your help.

Regards,
Alexandre
Re: how to include figure inside figure [message #135132 is a reply to message #135092] Tue, 12 June 2007 14:39 Go to previous messageGo to next message
Tex Twil is currently offline Tex TwilFriend
Messages: 179
Registered: July 2009
Senior Member
ok, you just want a "recursive" compartment. It's possible. Just add
another compartement to the figure that will be held in your 1st
compartment. :)
Re: how to include figure inside figure [message #135170 is a reply to message #135132] Tue, 12 June 2007 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

This is a multi-part message in MIME format.
--------------090208020407090804080809
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Tex Twil a
Re: how to include figure inside figure [message #135182 is a reply to message #135170] Tue, 12 June 2007 14:50 Go to previous messageGo to next message
Tex Twil is currently offline Tex TwilFriend
Messages: 179
Registered: July 2009
Senior Member
I think a compartment cannot contain directly another one. You have to
reference a node which itself can hav another compartment.
Re: how to include figure inside figure [message #135295 is a reply to message #135182] Tue, 12 June 2007 17:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Tex Twil wrote:
> I think a compartment cannot contain directly another one. You have to
> reference a node which itself can hav another compartment.
>
>

I will try it.
Re: how to include figure inside figure [message #135357 is a reply to message #135295] Wed, 13 June 2007 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

Alexandre Jaquet a écrit :
> Tex Twil wrote:
>> I think a compartment cannot contain directly another one. You have to
>> reference a node which itself can hav another compartment.
>>
>>
>
> I will try it.
I've a design question :

In my model I've a boxes class, this boxes can contain boxes do I've to
define an aggregation or an association.

Thanks.

Regards,
Alexandre
Re: how to include figure inside figure [message #135467 is a reply to message #135357] Wed, 13 June 2007 09:28 Go to previous messageGo to next message
Tex Twil is currently offline Tex TwilFriend
Messages: 179
Registered: July 2009
Senior Member
Alexandre Jaquet wrote:

> Alexandre Jaquet a écrit :
>> Tex Twil wrote:
>>> I think a compartment cannot contain directly another one. You have to
>>> reference a node which itself can hav another compartment.
>>>
>>>
>>
>> I will try it.
> I've a design question :

> In my model I've a boxes class, this boxes can contain boxes do I've to
> define an aggregation or an association.

> Thanks.

> Regards,
> Alexandre

If your box "contains" another box, I would say you have to define
Composition i.e. when you delete your first box, the other is deleted to.
Re: how to include figure inside figure [message #135577 is a reply to message #135467] Wed, 13 June 2007 11:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexjaquet.gmail.com

This is a multi-part message in MIME format.
--------------050705000205050307010502
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Tex Twil a
Re: how to include figure inside figure [message #135603 is a reply to message #135577] Wed, 13 June 2007 11:39 Go to previous message
Tex Twil is currently offline Tex TwilFriend
Messages: 179
Registered: July 2009
Senior Member
Ok, then it is the link Aggregation.
Previous Topic:Default int value doesn't appear
Next Topic:Implemeting Delete action
Goto Forum:
  


Current Time: Sat Nov 09 01:03:20 GMT 2024

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

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

Back to the top