| [news.eclipse.modeling.gmf] Re: Creating a child of the same size as its compartment |
Hello Pierre,
I think the rest is borders/insets and you have to set it for the Process figure or compartment figure itself.Well this is not exactly what I would like (I tried your suggestion). Actually, using a ListLayout make my Process having (approximately) the same width of its compartment. I would like my process to be of exactly the same size (width + height) as its containing compartment (i.e. the pool).
Do not know exact answer for this question â looks like you have to modify generated code and change some Compartment figure/layout manager properties.The question is the following: with a compartment C having only one children node N, how can I make N the exact size of C?
1. Is this possible without coding?I doubt it is. I think you have to modify generated PoolCompartmentEditPart and modify compartment figure created there.
----------------- Alex Shatalin