public ContentTypeTree(Map<GWTJahiaNodeType, List<GWTJahiaNodeType>> types) {
store = new TreeStore<GWTJahiaNodeType>();
setBorders(false);
filldataStore(types);
ColumnConfig name = new ColumnConfig("label", "Label", 400);
name.setRenderer(new WidgetTreeGridCellRenderer() {
@Override
public Widget getWidget(ModelData modelData, String s, ColumnData columnData, int i, int i1,
ListStore listStore, Grid grid) {
Label label = new Label((String) modelData.get(s));
GWTJahiaNodeType gwtJahiaNodeType = (GWTJahiaNodeType) modelData;