[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kuml-devel
Subject:    Re: Interest in helping Kuml
From:       Darius Stachow <dstachow () ngi ! de>
Date:       2000-04-29 10:17:45
[Download RAW message or body]

Hi Keith,

Your help is very welcome!

kUML already contains some line label code for six labels but the choosen
approach is very bad. The layouter algorithms are stored as part of the line
classes what makes these classes more fat and more complicated.

In the last few weeks I have made a plan on how to make this better. My
solution to decouple the algorithms from the line classes is to implement the
layouting algorithms as line visitor. Each LabelLayouter object has a associated
DrawingLabel object that will be repositioned when LabelLayouter (LineVisitor)
 will be accepted by the moved line. The class LineDrawLabels
would be obsolete for this solution.

Classes:
-------

------------------- Line -------------------
LineNode
^
|
ConnectionLine


----------------- LabelLayouter --------------
LineVisitor
^
|
LabelLayouter
^
|
LabelLayouterA1
LabelLayouterA2
LabelLayouterA3
LabelLayouterB1
LabelLayouterB2
LabelLayouterB3

I have forward written some code for these classes but unfortunately I have
problems to get back access to the files caused by a computer upgrade.

I am very interested in your solution for this problem!
How do your solution works ?

If you can help on this task I would get time back to do other
things on kUML.
I've done a larger break on working on the project as I had very less time in
the past but now I want to continue.

On Don, 27 Apr 2000, you wrote:
>Hi,
>I would like to help in the Kuml project. I have had a look at the code and
>think that it would be great it the assocations between classes have labels
>parallel to assocation lines drawn. I have done some work to effect such a
>solution but did not wish to duplicate others work.

-- 

Darius Stachow

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic