|
Re: Compartment overlapse top level figure [message #227077 is a reply to message #227056] |
Thu, 23 April 2009 05:52 |
Eclipse User |
|
|
|
Originally posted by: duguepeorux.esteban.free.fr
Hi Marie,
Do you have setted Accessor property of your Compartment to the correct
child access?
Marie a écrit :
> Hi everybody,
> I want to create a component where you can put another component. To do
> this I have a figure descriptor ComponentFigure like this:
> (like is the message
> http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg07230.html)
> Figure Descriptor ComponentFigure
> +Rectangle ComponentFigure
> + Flow Layout true
> + Foreground {200,0,0}
> + Label ComponentNameFigure
> + Rectangle CompositeCompartmentFigure
> + XY Layout
> Child Access getFigureComponentNameFigure
> Child Acces getFigureCompositeCompartmentFigure
>
> Then I have a compartment which use this Figure Descriptor.
> The problem is that the compartment take all the size of the top level
> figure, it begin at the left-hand corner of the top level figure and I
> cannot add the ports which are attached to the top level figure.
> My questions are How can I resize the compartment and place it where I
> want? How make appear an area with the name of the component at the top
> of the figure?
>
>
> Thanks in advance
> Marie
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03373 seconds