|Creating a time scale [message #222802]
||Wed, 13 September 2006 09:54
Originally posted by: kristine.gmail.com|
I am using GEF to create a GANTT chart sort of display. It displays n
rectangular figures placed vertically and each rectangle further contains
thin slabs placed inside that rectangle at some distance from each other.
I want to show a time scale in this display. I am not having any good idea
of how to create a time line and how to show the intervals between the
child rectangular slabs ?
Please somebody who can give me information on creating such a time line
in GEF, please suggest.
Even a small idea is welcome.
Thanks & Regards,
|Re: Creating a time scale [message #222966 is a reply to message #222958]
||Fri, 15 September 2006 21:40
Originally posted by: vcciubot.uwaterloo.ca|
I've finally figured out my problem. Anyways, assuming you want layout
your ruler using an XYLayout then subclass the ruler figure and override
addNotify() to also set the bounds the ruler, i.e. size and location.
By default, figures start with size 0 and location (0,0). These values are
meant to be updated by the layout manager of the parent figure.
On Fri, 15 Sep 2006 14:40:24 -0400, Vlad Ciubotariu wrote:
> What solves my problem right now is to call setSize() in the figure that
> wasn't showing up before.
> On Fri, 15 Sep 2006 12:54:00 -0400, Vlad Ciubotariu wrote:
>> Maybe you need a layout manager in the parent figure or override
>> I'm fighting a similar problem right now without any
>> resolution yet.
>> On Thu, 14 Sep 2006
>> 07:11:42 +0000, Kristine wrote:
>>> I am trying to do with the help of RulerFigure. But the problem is the
>>> Figure seems to be not visible. Any ideas ?
>>> Thanks !
Powered by FUDForum
. Page generated in 0.04907 seconds