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

Re: StdProp inheritance?



On 2003.04.22 02:56 Philippe Faes wrote:
> I've been workin on that a bit too. I think it would be nice if those
> properties (and UML actions,...) can define their own PROP list as well,
> so that their data members can be saved (undone etc) automatically too.
> I was thinking such a property (action,...) could be of type SubObject,
> and the list prop would handle SubObjects. It would also (recusively?)
> call the save (copy,...) functions of the SubObject. I wouldn't subclass
> SubObject from Object, though.(maybe a diffent name would cause less
> confusion? any sugestions?)
> The list prop would also generate a widget like what you see in the UML
> class: some container widget, containing a list of actions, buttons for
> NEW, DELETE, MOVE UP, MOVE DOWN, and down below would be recursively
> generated widgets (generated from the proplist of the SubObject).
> The name I'd use for the property would be SubObjProperty (other
> suggestions are welcome too)
> 
> I could send you some of the code that I've got, but it's not useful for
> anything yet.

It sounds like you've thought this through much further than I have, and have a better knowledge of StdProp than I do.  Have you seen what Cyrille wrote about this?

http://mail.gnome.org/archives/dia-list/2002-April/msg00032.html

> Andy, if you've  got anything coded, I'd like to see it, even before it is
> usefull, just to get an idea of where we're going with this feature.

I don't have anything written yet.  Could you send your patch?

Thanks,
Andy



[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