[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Add Node to BorderLayout

Hello Michael,

I think the following descriptor is wrong - you are using "BorderLayoutData" there, but the layout menager of this figure parent will not be instance of BorderLayout, i suppose:

<descriptors name="boFigure">
<actualFigure xsi:type="gmfgraph:Rectangle" name="boRect">
<layoutData xsi:type="gmfgraph:BorderLayoutData" alignment="BEGINNING" vertical="true"/>
<backgroundColor xsi:type="gmfgraph:ConstantColor" value="yellow"/>
<preferredSize dx="25" dy="25"/>
</actualFigure>
</descriptors>


Try first removing layoutData reference from this figureand re-generate code.

-----------------
Alex Shatalin