TreeView more than just files?

Hi Folks,

I’m looking at adding a TreeView folder for a non-file element. In my case, I want to add hosts which can be connected too based on the name of the ‘element’ in a specific root folder. Other examples might be having a method name element mapping under a source file.

It doesn’t seem too difficult to add such functionality, however, I suspect this would break any packages which assume all elements in TreeView are either a folder or file.

Has anyone done this sort of thing?

Take Care

The package remote-ftp creates a tree view for FTP servers. You don’t have to mess with the DOM for the built-in file display to do something like that.