Re: [Flightgear-devel] ANN: SGPropertyChangeListener

2002-06-18 Thread James Turner
On Tuesday, June 18, 2002, at 02:38 am, David Megginson wrote: The node argument is as follows: 1. If the value of an existing property node has been modified, it is the node itself. 2. If a property has been added or removed, it is the property's parent. Hmm, how is the listener

Re: [Flightgear-devel] ANN: SGPropertyChangeListener

2002-06-18 Thread David Megginson
James Turner writes: 2. If a property has been added or removed, it is the property's parent. Hmm, how is the listener meant to work this out? Seems like you'd be better with a bigger interface (change / add_child / rmv_child) and default { } impls so people can ignore changes