In my Eclipse plugin application I have a wizard to create a new file. In this wizard I need to display a tree of the Workspace projects, their packages and source files, similar to the Package Explorer, so that the user can select the items that are relevant to my particular editor. They won't be edited in the editor itself, but they provide some context for my editor.
An example of what I need:
The more the dialog looks like the package explorer the better. I'm really not sure how to approach this problem.