On Tue, 20 Feb 2001, Hans Breuer wrote:
> At 12:00 20.02.01 -0600, Lars Clausen wrote:
>>
>>Now I've gotten started on fixing properties for the UML objects, there
>>are a couple of things that seem odd. For instance, both small_package
>>and component has a stereotype and a name field that aren't used. Are
>>these relics from a cut-and-paste, or are they supposed to be used
>>somewhere? Alex and Hans seem to have worked on these, so can you
>>enlighten me?
>>
> my changes were only mechanical adding of the property interface for
> existing object properties. The two mentioned above could be probably
> removed, because there never was a user interface.
>
> Though if I recall correctly stereotype(ing) an object maybe useful for
> any uml object (stereotype == name for "same as declared in detail
> elsewhere").
Yeah, looking at the UML standard (which is d*mn big!), packages also seem
to have stereotypes. But where should they be shown, if we have them?
> The "name" property maybe a left-over of adding the (formatable) text
> property. IHMO "name" would be a more descriptive name than "text" for
> these, but that's is just a matter of taste.
So, overall, things that should be in there should show up on the diagram.
I think I'll make an overview of what properties the objects currently
have, and we shall see what we want.
> The whole property api should be re-thought, when converting to gobject
> usage anyway ... And the text handling when converting to Pango usage.
NO!!! Nonononono! Please, please, pretty please with sugar on top and a
fscking cherry, no!
We've redone the property API twice already, and what we have now is fairly
useful. What we really need to do for a version 1.0 is make all objects
use the current API consistently, not start switching to a third API. I
know how alluring it is to use the newest and best all the time, but we
have a long tail of objects that work inconsistently simply because they
haven't kept up with API changes.
Changing to GObject and Pango should only be consider for a version 1.1,
IMO.
-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 | Retainer of Sir Kegg
will defend to the death your right to say it." | of Westfield
--Evelyn Beatrice Hall paraphrasing Voltaire | Chaos Berserker of Khorne