edu.mayo.informatics.lexgrid.convert.formats.outputFormats.swt
Class RegisterLexGridTerminologySWT

java.lang.Object
  extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
      extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
          extended by edu.mayo.informatics.lexgrid.convert.formats.outputFormats.RegisterLexGridTerminology
              extended by edu.mayo.informatics.lexgrid.convert.formats.outputFormats.swt.RegisterLexGridTerminologySWT
All Implemented Interfaces:
OutputFormatInterface, OutputFormatSWTInterface

public class RegisterLexGridTerminologySWT
extends RegisterLexGridTerminology
implements OutputFormatSWTInterface

SWT Additions for details for removing a terminology from a server.

Version:
subversion $Revision: 258 $ checked in on $Date: 2005-11-15 11:11:26 -0600 (Tue, 15 Nov 2005) $
Author:
Dan Armbrust

Field Summary
protected  RegisterTerminologyEntryComposite sec
           
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.outputFormats.RegisterLexGridTerminology
description
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
driver, password, server, tablePrefix, username
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
codingSchemeManifest
 
Constructor Summary
RegisterLexGridTerminologySWT()
           
 
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'
 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 edu.mayo.informatics.lexgrid.convert.formats.outputFormats.RegisterLexGridTerminology
getConnectionSummary, getDescription, getOptions
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
getConnectionSummary, getDriver, getPassword, getServer, getTablePrefix, 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.OutputFormatInterface
getConnectionSummary, getDescription, getOptions
 

Field Detail

sec

protected RegisterTerminologyEntryComposite sec
Constructor Detail

RegisterLexGridTerminologySWT

public RegisterLexGridTerminologySWT()
Method Detail

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:

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 RegisterLexGridTerminology
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.

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:

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"

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.