disappearing control [message #161739] |
Wed, 21 November 2007 09:18 |
paolo russian Messages: 81 Registered: July 2009 |
Member |
|
|
sorry if the title is not very precise, but here's what happens and I
don't know how to workaround, maybe you can give me an hint.
I'm working on a project that allows to draw all our nodes and gmf
thingies and deploy with Jet in an ajax html page. So in between of all my
palette tools, I have a "Table" container node and a "TableColumn"
to-be-contained item.
When I place a table node, I get the classic rectangle, resizable,
moveable etc..
as soon as I add a TableColumn in it, this is draw to the maximum extents
of the Table node (and I want it to be draw, let's say at 20% of the Table
node width so there is space to add more tablecolumn nodes), furthermore,
the controls for resizing and moving are not being shown (then I cannot
neither resize with the mouse), nor the container controls, nor the
contained node ones.
If I delete this contained element, the Table container is draw with the
controls again.
I should work on the TableEditPart or TableColumEditPart? I use GMF2 so
almost every info on overrides or implementations does not fit very well.
What can I do to make my contained element to be draw not to the maximum
extents of its parent but to a prefixed percentage?
Thank you very much for every suggestion.
Regards
Paolo
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03098 seconds