HasCell for CompositeCell is similar to Column for CellTable, you want to "wrap" a Cell within a HasCell. http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellTree (ContactTreeViewModel.java) uses CompositeCell if you're looking for an example.
On Wednesday, January 9, 2013 2:49:00 PM UTC+1, membersound wrote: > > Hi, > > how can I add available cell types (TextCell, ButtonCell, CheckboxCell, > DateCell etc) to a *CompositeCell*? > > https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCellWidgets?hl=en#available > > List<HasCell<Foo, ?>> cells = new ArrayList<HasCell<Foo,?>>(); > cells.add(new ButtonCell()); //not applicable for ButtonCell. > newCompositeCell<Foo>(cells); > > > I mean: what is the CompositeCell for, if I cannot add existing Cell > implementations > to it? > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/oRxPntmDQQEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
