Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Make a node fill another nodes compartment
Make a node fill another nodes compartment [message #149461] Fri, 07 September 2007 08:03 Go to next message
Eclipse UserFriend
Hi!

I have a Node A with 2 compartments. In each compartment I can create one
child node (Node B). Everything works fine, but I want the node that I
create in Node A:s compartment to fill that compartment completely.
Is this possible?


This is what I have now:

________________
| Node A |
|----------------|
| ___________ |
| | Node B | |
| | | |
| | | |
| |___________| |
|________________|
| |
| |
|________________|


And this is what I want:
________________
| Node A |
|----------------|
| Node B |
| |
| |
|________________|
| |
| |
|________________|

Regards
Johan
Re: Make a node fill another nodes compartment [message #149464 is a reply to message #149461] Fri, 07 September 2007 08:52 Go to previous messageGo to next message
Eclipse UserFriend
Johan,

you should use a StackLayout in your compartment figure

Johan Linander a écrit :
> Hi!
>
> I have a Node A with 2 compartments. In each compartment I can create
> one child node (Node B). Everything works fine, but I want the node that
> I create in Node A:s compartment to fill that compartment completely. Is
> this possible?
>
>
> This is what I have now:
>
> ________________
> | Node A |
> |----------------|
> | ___________ |
> | | Node B | |
> | | | |
> | | | |
> | |___________| |
> |________________|
> | |
> | |
> |________________|
>
>
> And this is what I want:
> ________________
> | Node A |
> |----------------|
> | Node B |
> | |
> | |
> |________________|
> | |
> | |
> |________________|
>
> Regards
> Johan
>
>
Re: Make a node fill another nodes compartment [message #149929 is a reply to message #149464] Tue, 11 September 2007 05:15 Go to previous messageGo to next message
Eclipse UserFriend
I have now tried using a stack layout in the compartment figure, but it
didn't work for me. The nodes that I create in the compartment does not
fill the entire compartment..
Any other suggestions?

Jacques LESCOT wrote:

> Johan,

> you should use a StackLayout in your compartment figure
Re: Make a node fill another nodes compartment [message #149944 is a reply to message #149929] Tue, 11 September 2007 05:22 Go to previous messageGo to next message
Eclipse UserFriend
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

try using stack layout for the figure containing the compartment.

Johan Linander schrieb:
> I have now tried using a stack layout in the compartment figure, but it
> didn't work for me. The nodes that I create in the compartment does not
> fill the entire compartment..
> Any other suggestions?
>
> Jacques LESCOT wrote:
>
>> Johan,
>
>> you should use a StackLayout in your compartment figure
>
>
>

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

iD8DBQFG5l5cIYVWjMSpDwwRAv/7AKDBrQuntNh3vHCEUz3JBOpR4bpU2QCf Rmqq
3Ws/MXHQdvFx4xUKkk1iOlM=
=DG5G
-----END PGP SIGNATURE-----
Re: Make a node fill another nodes compartment [message #151778 is a reply to message #149944] Thu, 20 September 2007 05:11 Go to previous message
Eclipse UserFriend
Can't get this to work.. :(
Any other suggestions?

johan

SKuhn wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> try using stack layout for the figure containing the compartment.

> Johan Linander schrieb:
>> I have now tried using a stack layout in the compartment figure, but it
>> didn't work for me. The nodes that I create in the compartment does not
>> fill the entire compartment..
>> Any other suggestions?
>>
>> Jacques LESCOT wrote:
>>
Previous Topic:Re-generation of gmfgen when gmfmap has changed
Next Topic:Not displaying node attributes
Goto Forum:
  


Current Time: Sat May 10 07:47:52 EDT 2025

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

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

Back to the top