java - Presentation of a hierachical Type in a Tree or CellTree by GWT -
i want display hierachical type in celltree. when select 1 item, want display it's details on screen. type contains list of b, b list of c etc. have 5 levels, therefore have write 5 selectionmodel<t>
every type. there way, implement every type own singleselectionmodel<t>
, or write 1 singleselectionmodel<object>
, use instanceof?
thanks in advance
i solved problem using interface hierachical type. provides method gives enum, identifies correct implementation of interface. able write 1 selectionmodel<interface>
.
Comments
Post a Comment