| [news.eclipse.platform.swt] Re: Invisible root TreeItem? |
|
You can create multiple root tree items on the Tree
itself. Unlike with Swing, you can have more than one root. Thus,
accomplishing in actuality what Swing accomplishes by illusion. Daniel Joel Chen wrote: Is is possible to create a TreeItem that's invisble to serve as the root item? I found myself end up with a bunch of functions with identical body but one takes Tree and another takes TreeItem in its parameters. I could get around this by just creating a rootTreeItem but now I lost some space in the left margin in my tree display. |