Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Drawing custom decorations in Compartment-Nodes
Drawing custom decorations in Compartment-Nodes [message #223853] Thu, 05 October 2006 13:27
Eclipse UserFriend
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
Previous Topic:Information needed on scrollToX API
Next Topic:HowTo "underline" WYSIWYG text in GEF
Goto Forum:
  


Current Time: Fri Apr 19 10:08:37 GMT 2024

Powered by FUDForum. Page generated in 0.02063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top