anchor.diff:          ..opacity = '0.6';
       _rootList = new html.UListElement();
       _outlineDiv.append(_rootList);
  -    addClass()
  -      ..addMethod()
  -      ..addProperty();
  -    addVariable();
  -    addFunction();
  -  }
  +    Test test = new Test();
  +
  +    test.test();
  +
  +    populate(test.outline);
  +
  +//    addClass()
  +//      ..addMethod()
  +//      ..addProperty();
  +//    addVariable();
  +//    addFunction();
  +  }
  +
  +  void populate(data.Outline outline) {
  +    for (data.OutlineTopLevelEntry model in outline.entries) {
  +      _create(model);
  +    }
  +  }
  +
  +  OutlineTopLevelItem _create(data.OutlineTopLevelEntry model) {
  +    if (model is data.OutlineClass) {
  +      return addClass(model);
  +    } else if (model is data.OutlineTopLevelVariable) {
  +      return addVariable(model);
  +    } else if (model is data.OutlineTopLevelFunction) {
  +      return addFunction(model);
  +    } else {
  +      throw new UnimplementedError("Unknown type");
  +    }
  +  }
  +
   
     void toggle() {
       if (_outlineDiv.style.display == 'none') {
  
positive.code:     return member;
    }
  
    OutlineMethod addMethod() => _addElement(new OutlineMethod());
    OutlineProperty addProperty() => _addElement(new OutlineProperty());
  }
  
  class OutlineMethod extends OutlineClassMember {
    OutlineMethod([String text = "method"]) : super(text);
  }
  
  abstract class OutlineClassMember extends OutlineItem {
    OutlineClassMember([String text = "member"]) : super(text);
  }
  
  class OutlineProperty extends OutlineClassMember {
    OutlineProperty([String text = "property"]) : super(text);
  }
  
  
negative.code:     return item;
    }
  
    OutlineTopLevelVariable addVariable(data.OutlineTopLevelVariable model) =>
        _addItem(new OutlineTopLevelVariable(model));
    OutlineTopLevelFunction addFunction(data.OutlineTopLevelFunction model) =>
        _addItem(new OutlineTopLevelFunction(model));
  
    OutlineClass addClass(data.OutlineClass model) {
      OutlineClass classItem = new OutlineClass(model);
      _addItem(classItem);
      _rootList.append(classItem._childrenRootElement);
      return classItem;
  