Drawing custom decorations in Compartment-Nodes [message #223853] |
Thu, 05 October 2006 13:27 |
Eclipse User |
|
|
|
Originally posted by: tobk.gmx.de
Hello,
I'm not sure if this is more a GEF or a GMF issue, so I'll write it to both
newsgroups.
Here's my problem: I have a GMF node with a label and a compartment to
insert
other stuff into. Now I want to extend this node with some decorators
indicating the state of the node. These decorators have to be placed at the
center of the node's bottom line. I've already tried with Borderlayout
(after this I could not insert anything in the compartment), XYlayout, or
changing the useLocalCoordinates field. But whatever I try I only get a
large RectangleFigure filling the lower 1/3 to 2/3 of my figure, shadowing
most of the compartment, with the actual decorators being only visible when
the figure is _really_ big.
What I'd like to have is a rectangle figure of a constant height on the
bottom line of the figure which can hold my decorations. Can you help me?
tobias
|
|
|
Powered by
FUDForum. Page generated in 0.03791 seconds