WizardDialog dialog = new WizardDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
connectWizard );
dialog.create();
if ( dialog.open() == Window.OK )
{
LdapProxy ldapProxy = new LdapProxy( connectWizard.getLocalPort(), connectWizard.getRemoteHost(),
connectWizard.getRemotePort() );
view.setLdapProxy( ldapProxy );
try
{
ldapProxy.connect();
}
catch ( IOException e )
{
// TODO Auto-generated catch block
e.printStackTrace();