net.sourceforge.squirrel_sql.plugins.dataimport.gui
Class ImportFileDialog
java.lang.Object
net.sourceforge.squirrel_sql.client.gui.desktopcontainer.DialogWidget
net.sourceforge.squirrel_sql.plugins.dataimport.gui.ImportFileDialog
- All Implemented Interfaces:
- IWidget
public class ImportFileDialog
- extends DialogWidget
This dialog has some options to specify how the file is imported into
the database.
- Author:
- Thorsten Mürell
| Methods inherited from class net.sourceforge.squirrel_sql.client.gui.desktopcontainer.DialogWidget |
addNotify, addWidgetListener, centerWithinDesktop, dispose, fireWidgetClosed, fireWidgetClosing, getAwtContainer, getBounds, getClientProperty, getContentPane, getDelegate, getHeight, getInternalFrame, getRootPane, getSize, getTitle, getWidth, isClosed, isIcon, isToolWindow, isVisible, makeToolWindow, moveToFront, pack, putClientProperty, removeWidgetListener, requestFocus, setBorder, setBounds, setContentPane, setDefaultCloseOperation, setFrameIcon, setLayer, setMaximum, setPreferredSize, setSelected, setSize, setTitle, setVisible, showOk, toFront, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportFileDialog
public ImportFileDialog(ISession session,
IFileImporter importer,
ITableInfo table,
TableColumnInfo[] columns)
- The standard constructor
- Parameters:
session - The sessionimporter - The file importertable - The table to import intocolumns - The columns of the import table
setPreviewData
public void setPreviewData(String[][] data)
- Sets the preview data for the dialog
- Parameters:
data -
suggestColumns
public void suggestColumns()
ok
public void ok()
- This is invoked if the user presses ok
Copyright © 2001-2011. All Rights Reserved.