{
List<Object> selectedObjects = new ArrayList<Object>();
selectedObjects.addAll( Arrays.asList( getSelectedConnectionFolders() ) );
selectedObjects.addAll( Arrays.asList( getSelectedConnections() ) );
NewConnectionWizard wizard = new NewConnectionWizard();
wizard.init( PlatformUI.getWorkbench(), new StructuredSelection( selectedObjects ) );
WizardDialog dialog = new WizardDialog( getShell(), wizard );
dialog.setBlockOnOpen( true );
dialog.create();
dialog.open();
}