new ElementTreeSelectionDialog(getShell(),
new FileLabelProvider(),
new FileTreeContentProvider(false));
dialog.setAllowMultiple(multiple);
dialog.setTitle("Choose file");
dialog.setSorter(new FileViewerSorter());
//dialog.setInput(project);
if(multiple) {
dialog.setMessage("Select resources. Press CTRL or SHIFT" +
" to select multiple resources.");
dialog.setValidator(new TypedElementSelectionValidator(