On Mon, 7 Feb 2000, [EMAIL PROTECTED] wrote:
> On Mon, 7 Feb 2000, James Henstridge wrote:
>
>> I have added props support to another object type -- the group object.
>>
>> This means that if you select a few objects that implement the
>> properties interface, you can bring up a properties dialog that shows
>> the intersection of their properties (maybe this should do the union??).
>>
>> As an example, you can select two flowchart boxes, group them (right
>> click, objects, group) and set the border colour on both at the same
>> time.
>
> Mmmm... Is this a good thing?
> If you have two object with different attributes, group them and change
> one attribute in the group, then both objects will get all the attributes
> of the first object. We would really need two states of the attribute in
> the dialog: keep the old value (widget greyed out), or set to the
> specified value.
Yes, this is a good thing. It just now allowed me to change the line width
on every line in a 42-object diagram in one fell swoop. I am very pleased
with it.
It should definitely only set those values that are changed -- the problem
of which was what kept me from doing this a while ago.
It also has a couple of problems. When you ungroup a group, the properties
box comes up, saying the object has no properties, even when the properties
box isn't there already. Also, in a mixed group (I just implemented
properties for lines and zigzaglines) it only allows editing of the
intersection of properties, rather than the union.
I will continue putting properties on the standard objects. I'm also
putting the defaults dialogs back on the lines -- they have been commented
out for a while because of a bug I believe is long gone.
-Lars
--
Lars R. Clausen (http://shasta.cs.uiuc.edu/~lrclause) H�rdgrim of Westfield
"I do not agree with a word that you say, but I will defend to the death your
right to say it." --Evelyn Beatrice Hall