I'm having an `NSOutlineView` with items (and children in it).

Here's the cell modification code :

```
- (void)outlineView:(NSOutlineView *)outlineView willDisplayCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn item:(id)item {

    if ([item isKindOfClass:[JQPage class]])
    {
        [cell setImage:[NSImage imageNamed:@"doc_empty_icon&16"] size:16.0];
    }
    else if ([item isKindOfClass:[JQElement class]])
    {
        [cell setImage:[NSImage imageNamed:@"brackets_icon&16"] size:16.0];
    }   
}

```

---

And here's a visual example of what I need :

![enter image description here](https://i.stack.imgur.com/j1TEU.jpg)

Any ideas?