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

Re: Problems with UML elements



On Tue, 2004-04-13 at 20:48, Klavs Klavsen wrote:
> [SNIP]
> > It cannot be resized manually.  It resizes itself when enough text is
> > added to it, and also when the font size is set etc. However, there's
> > no reason it can't resize like the first four flowchart shapes.  Patches
> > would be welcome (and probably easy to make, given other objects do what
> > is wanted).
> >
> If it annoys me enough, I'll have to see if I can fix it :)

That'd be great!

> >> 2) a Message does not seem to support being "divided" so it can (f.ex.)
> >> go
> >> straight left, break and go straight up. When I select it, theres shown
> >> 3
> >> "red blocks" - that I can pull. a left, a center and a right block. The
> >> center one does nothing if I move it up or down.. perhaps its a bug?
> >
> > The center handle is the handle for the message text.  Unlike some other
> > connectors (like the FS flows), the message cannot be edited directly in
> > the diagram, which is an error.  As for why it's a straigt line rather
> > than a zig-zag line, that's a decision made by the UML sheet designers.
> > Unfortunately, it isn't easy to switch a line from straight to zig-zag
> > at run-time.
> >
> Would it be hard change the element to be a zigzag line (in the source UML
> sheet) - if so - where should I look (I haven't studied the code before)?

The actual change wouldn't be too hard, but there'd be a problem of
backwards compatibility.  You'd want to look at objects/UML/message.c,
and compare it to the other connectors defined in the same dir.

-Lars



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK