Maybe having get_attr, set_attr and list_attr methods for objects would be
a good idea. For most shapes, these would be enough to build up the
properties box for the shape, and would allow you to create a properties
box to set attributes on multiple objects (of course, some of the UML
shapes will always need their own property dialogs, as they are quite
complex).
This would also be useful for language bindings and scripting support for
dia, which would be a nice addition (for instance, it may be possible to
build skeleton code from a UML diagram through a few scripts if we could
script dia).
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On 26 Oct 1999, Lars Clausen wrote:
> > 8. The line thickness and arrow selectors on the toolbox are quite nice.
> > Could they be made to affect existing objects, instead of just newly
> > created ones?
>
> Some way of setting attributes for a bunch of objects is sorely needed. I
> was working on a standardization of properties that would allow this when
> the undo code cut across it.
>
> -Lars