edu.mayo.informatics.lexgrid.convert.formats.inputFormats.swt
Class LexGridSQLLiteSWT
java.lang.Object
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
edu.mayo.informatics.lexgrid.convert.formats.inputFormats.LexGridSQLLite
edu.mayo.informatics.lexgrid.convert.formats.inputFormats.swt.LexGridSQLLiteSWT
- All Implemented Interfaces:
- InputFormatInterface, InputFormatSWTInterface
public class LexGridSQLLiteSWT
- extends LexGridSQLLite
- implements InputFormatSWTInterface
SWT Details for connecting to SQL Lite.
- 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)
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. |
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 |
sec
protected SQLEntryComposite sec
LexGridSQLLiteSWT
public LexGridSQLLiteSWT()
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 SQLBase
- 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:
InputFormatSWTInterface
- Get a SWT Composite that allows for entering the parameters required for
this format.
- Specified by:
createComposite
in interface InputFormatSWTInterface
- Returns:
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: