You just implement ITreeProvider<Object>, the tree implementation doesn't care about the generics parameter. You'll have do an instanceof check in some places though.
Regards Sven ttboy_01 <[email protected]> schrieb: >Hi Sven, > >I already have seen the examples of wicket tree but I don't know how to >solve the problem with the different classes / types within the tree. Could >you give me a hint for this problem? > >The structure is simple: > >// these are my roots >class X { > private Set<Y> y; >} >// these are my nodes >class Y { > private String foo; >} > >Erik > >-- >View this message in context: >http://apache-wicket.1842946.n4.nabble.com/SwingTree-to-WicketTree-Drag-Drop-Different-Objects-tp4620927p4622725.html >Sent from the Users forum mailing list archive at Nabble.com. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] >
