Re: Visible UML Comments



On Sat, 6 Jul 2002, mattam netcourrier com wrote:
On Fri, Jul 05, 2002 at 04:46:12PM -0500, Lars Clausen wrote: 
On Fri, 28 Jun 2002, mattam netcourrier com wrote:
Hi!

   This patch contains code to handle comments in DIA UML
Diagrams. The layout is a bit broken (strange alignement issues) but
It Works. It also adds some error checks.

It doesn't resize the UML objects to allow room for the comments.  Thus
the text goes not only over the edge, but also outside the bounding box.
Could you fix this?

-Lars

Fixed! Patch (-p0) attached. I also added two fonts to the Class
object: comment and polymorphic (distinct from abstract).

I have applied the patch.  However, the object menu doesn't work:

(dia:1374): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkMenu'

Try modelling the menu creation code of that in objects/standard/line.c,
it's also much nicer.

And since you're doing object menus anyway, could you add the other boolean
attributes as well?

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]