Implement a folder browsing

I want to create an application like the windows explorer. The main problem is that I don't find a solution to view different object types, like file, document and images, in one view. For example: I open a folder which contains folders and images. My only idea was to work with generalization. But I use the generalization for using the system objects FileDocument and image and cannot use it for both cases. Any idea?
1 answers

You might take a look at the Explorer Pane in the appstore. That widget can render images based on an URL as well. That allows you to use FileDocument, even for images, if you add an attribute to calculate the image url (if its an image).