org.pentaho.platform.dataaccess.datasource.wizard.controllers
Class FileImportController

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.ui.xul.impl.AbstractXulEventHandler
          extended by org.pentaho.platform.dataaccess.datasource.wizard.controllers.FileImportController
All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource

public class FileImportController
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler


Constructor Summary
FileImportController(DatasourceModel datasourceModel, DatasourceMessages messages)
           
 
Method Summary
 void close()
           
 void closeErrorDialog()
           
 void closeWaitingDialog()
           
 String getName()
           
 void init()
           
 void setDatasourceMessages(DatasourceMessages datasourceMessages)
           
 void showErroDialog(String error)
           
 void showFileImportDialog()
           
 void showWaitingDialog()
           
 void submitCsv()
           
 void uploadFailure(Throwable t)
           
 void uploadSuccess(String uploadedFile)
           
 
Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
 
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileImportController

public FileImportController(DatasourceModel datasourceModel,
                            DatasourceMessages messages)
Method Detail

init

public void init()

getName

public String getName()
Specified by:
getName in interface org.pentaho.ui.xul.impl.XulEventHandler
Overrides:
getName in class org.pentaho.ui.xul.impl.AbstractXulEventHandler

submitCsv

public void submitCsv()

closeWaitingDialog

public void closeWaitingDialog()

showWaitingDialog

public void showWaitingDialog()

showFileImportDialog

public void showFileImportDialog()

close

public void close()

uploadSuccess

public void uploadSuccess(String uploadedFile)

uploadFailure

public void uploadFailure(Throwable t)

showErroDialog

public void showErroDialog(String error)

closeErrorDialog

public void closeErrorDialog()

setDatasourceMessages

public void setDatasourceMessages(DatasourceMessages datasourceMessages)