Timeline for This code looks really repetitive. Any way to shorten it?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 8, 2011 at 7:33 | comment | added | Ivan | @IAbstract - It may seems difficult, but in the end it allows you to add new tools more easily. Actually, this approach is like Jan Bolting's approach, the only difference is in the helper class UITool. So, instead of getting a concrete tool from the HasMap and getting 'tspXXX' from another HasMap, you get a UITool with all nessesary data. | |
| Aug 8, 2011 at 1:46 | comment | added | IAbstract | using the enumerator seems to make this much more difficult than it should be | |
| Aug 7, 2011 at 18:14 | history | answered | Ivan | CC BY-SA 3.0 |