edu.mayo.informatics.lexgrid.convert.formats.outputFormats.swt
Class LexGridLDAPSWTOut
java.lang.Object
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.LDAPBase
edu.mayo.informatics.lexgrid.convert.formats.outputFormats.LexGridLDAPOut
edu.mayo.informatics.lexgrid.convert.formats.outputFormats.swt.LexGridLDAPSWTOut
- All Implemented Interfaces:
- OutputFormatInterface, OutputFormatSWTInterface
public class LexGridLDAPSWTOut
- extends LexGridLDAPOut
- implements OutputFormatSWTInterface
SWT Details for writing to ldap.
- Version:
- subversion $Revision: 7198 $ checked in on $Date: 2008-02-15
18:08:36 +0000 (Fri, 15 Feb 2008) $
- Author:
- Dan Armbrust
Method Summary |
org.eclipse.swt.widgets.Composite |
createComposite(org.eclipse.swt.widgets.Composite parent,
int style,
DialogHandler errorHandler)
Create (and return) a SWT Composite that allows for entering the
parameters required for this format. |
org.eclipse.swt.widgets.Composite |
getComposite()
Get the composite that was made by 'createComposite' |
protected void |
getCompositeValues()
|
java.lang.String |
getTextForActionButton()
Get the text that should be displayed on the button to execute this
conversion. |
java.lang.String |
testConnection()
See if the provided parameters make a valid connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lec
protected LDAPEntryComposite lec
LexGridLDAPSWTOut
public LexGridLDAPSWTOut()
testConnection
public java.lang.String testConnection()
throws ConnectionFailure
- Description copied from interface:
OutputFormatInterface
- See if the provided parameters make a valid connection
- Specified by:
testConnection
in interface OutputFormatInterface
- 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.
createComposite
public org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent,
int style,
DialogHandler errorHandler)
- Description copied from interface:
OutputFormatSWTInterface
- Create (and return) a SWT Composite that allows for entering the
parameters required for this format.
- Specified by:
createComposite
in interface OutputFormatSWTInterface
- Returns:
getComposite
public org.eclipse.swt.widgets.Composite getComposite()
- Description copied from interface:
OutputFormatSWTInterface
- Get the composite that was made by 'createComposite'
- Specified by:
getComposite
in interface OutputFormatSWTInterface
- Returns:
getCompositeValues
protected void getCompositeValues()
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
getTextForActionButton
public java.lang.String getTextForActionButton()
- Description copied from interface:
OutputFormatSWTInterface
- Get the text that should be displayed on the button to execute this
conversion.
- Specified by:
getTextForActionButton
in interface OutputFormatSWTInterface
- Returns:
- the text string. Usually "Begin Conversion"