disappearing control [message #161739] |
Wed, 21 November 2007 04:18  |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
Re: disappearing control [message #161914 is a reply to message #161868] |
Wed, 21 November 2007 13:34  |
Eclipse User |
|
|
|
Hello Paolo,
I suggest you to investigate each particular problem and fix it. I think,
you have a lot of problems but most of then are similar and could be fixed
by correcting some property(ies) in the gen model or patching a template...
Concerning this very problem I suggest you to create simple small model +
diagram and check if it works. Then you get it working you'll be able to
compare your sample model with one you are having a problems with and correct
all tehse problems.
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.06753 seconds