[Opencadtools-commits] r149 - branches/extCAD_sprint/src/com/iver/cit/gvsig/gui/cad/tools/smc
amaneiro at icarto.es
Wed Aug 10 06:12:48 CEST 2011
On 09/08/11 16:28, Javier Estévez wrote:
> I'm thinking about this topic and there's something more... Don't think the
> listener is just to open navtable on creating new features. It can be used got
> many other things, and changing the behaviour can cause uncontrolled side effects.
I'm trying out some ideas for using the listener in other environments, not just
to launch navtable when the insert geometry ends. For example: what about if you
want to do some calculations or modifications to the attributes in the new
geometry or make it obley some topology rules?
Other idea I was thinking was to have one (or several) listener(s) for each
cadtool, in order to provide extension points for other developers to insert
their needs (as the above described) there. But, I found easy to start with just
1 listener and make it to declare which cadtool has fired it.
Javi, please, keep reviewing the changes and sending ideas :)
PS: note that the commits are done in a temporal branch, not in trunk
More information about the Opencadtools-commits