edu.mayo.informatics.lexgrid.convert.formats.inputFormats.swt
Class LexGridLDAPSWT

java.lang.Object
  extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
      extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.LDAPBase
          extended by edu.mayo.informatics.lexgrid.convert.formats.inputFormats.LexGridLDAP
              extended by edu.mayo.informatics.lexgrid.convert.formats.inputFormats.swt.LexGridLDAPSWT
All Implemented Interfaces:
InputFormatInterface, InputFormatSWTInterface

public class LexGridLDAPSWT
extends LexGridLDAP
implements InputFormatSWTInterface

Details for connecting to LDAP.

Version:
subversion $Revision: 5296 $ checked in on $Date: 2007-05-16 21:55:43 +0000 (Wed, 16 May 2007) $
Author:
Dan Armbrust

Field Summary
protected  LDAPEntryComposite lec
           
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.LDAPBase
description, host, password, port, serviceDN, username
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
codingSchemeManifest
 
Constructor Summary
LexGridLDAPSWT()
           
 
Method Summary
 org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent, int style, DialogHandler errorHandler)
          Get a SWT Composite that allows for entering the parameters required for this format.
 org.eclipse.swt.widgets.Menu createToolsMenu(org.eclipse.swt.widgets.Shell shell, DialogHandler errorHandler)
          Get a SWT Menu to display tools available for this input format.
protected  void getCompositeValues()
           
 java.lang.String testConnection()
          See if the provided parameters make a valid connection
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.formats.inputFormats.LexGridLDAP
getAvailableTerminologies, getOptions, getSupportedOutputFormats
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.LDAPBase
getAddress, getConnectionSummary, getDescription, getHost, getPassword, getPort, getServiceDN, getUsername
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
getCodingSchemeManifest, getLoaderPreferences, getManifestLocation, setCodingSchemeManifest, setLoaderPreferences, setManifestLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.mayo.informatics.lexgrid.convert.formats.InputFormatInterface
getAvailableTerminologies, getConnectionSummary, getDescription, getOptions, getSupportedOutputFormats
 

Field Detail

lec

protected LDAPEntryComposite lec
Constructor Detail

LexGridLDAPSWT

public LexGridLDAPSWT()
Method Detail

createComposite

public org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent,
                                                         int style,
                                                         DialogHandler errorHandler)
Description copied from interface: InputFormatSWTInterface
Get a SWT Composite that allows for entering the parameters required for this format.

Specified by:
createComposite in interface InputFormatSWTInterface
Returns:

getCompositeValues

protected void getCompositeValues()
                           throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException

testConnection

public java.lang.String testConnection()
                                throws ConnectionFailure
Description copied from interface: InputFormatInterface
See if the provided parameters make a valid connection

Specified by:
testConnection in interface InputFormatInterface
Overrides:
testConnection in class LDAPBase
Returns:
An optional warning about the connection - for example, SQL implementations may want to return a warning if the existing sql tables are a different version than what is expected.
Throws:
ConnectionFailure - If a connection can't be made.

createToolsMenu

public org.eclipse.swt.widgets.Menu createToolsMenu(org.eclipse.swt.widgets.Shell shell,
                                                    DialogHandler errorHandler)
Description copied from interface: InputFormatSWTInterface
Get a SWT Menu to display tools available for this input format. Can return null.

Specified by:
createToolsMenu in interface InputFormatSWTInterface
Returns:

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.