I'm building an application with several types of tables/models, and based on these tables, I want to generalize the DoubleClickHandler in such a way that it will execute a particular section of code depending on the type of model, table, or row is clicked on. What i'm saying is that the executed code will be totally dependant on what type of DBModel is clicked on and/or what table is being clicked and/or what row that's being clicked on.
For starters will I extend, implement, or interface DoubleClickHandler? I almost want to say that i would extend DoubleClickHandler and then pass it the DBModel or Table type when creating my new instance of my created class. Any guidance would be greatly appreciated.
Regards,
Sigma