protected void newFolderButtonPressed() {
final NewFolderDialog dialog = new NewFolderDialog(getShell(), fSelectedContainer);
if (dialog.open() == Window.OK) {
final TreeViewer treeViewer = getTreeViewer();
treeViewer.refresh(fSelectedContainer);
final Object createdFolder = dialog.getResult()[0];
treeViewer.reveal(createdFolder);
treeViewer.setSelection(new StructuredSelection(createdFolder));
}
}