Currently, drawing tool objects are instanced when PaintWeb.toolActivate()
is invoked. The PaintWeb.toolRegister() method does not create instances
of tool objects. Some drawing tools need this to provide additional
functionality within PaintWeb even when they are not active. Such examples
are the Hand tool, the Selection tool and more.
By fixing this issue, some code from the user interface can be moved into
the implementation of each drawing tool. This amounts to better future
code maintainability.
Original issue reported on code.google.com by mihai.sucan on 21 Sep 2009 at 7:56
Original issue reported on code.google.com by
mihai.sucan
on 21 Sep 2009 at 7:56