EventType.ToString() Improvement (for debugging)
Some times you don't know exactly which event to listen for, and the documentation is not always up to date.
So, you set a breakpoint and end up with
EventType@2537, id = 19
Then you have to go through all the EventType instances in Events, and any custom defined events, to find out which event it is.
Why not add a name to the EventType constructor, and a proper toString() impl
public static final EventType Activate = new EventType("Activete");
It will probably take about one hour to do, and I bet it would save GXT developers and especially everyone else a lot of time.
can I get a thumbs up?
Tags for this Thread