org.pentaho.platform.dataaccess.datasource.wizard
Class EmbeddedWizard

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.ui.xul.impl.AbstractXulEventHandler
          extended by org.pentaho.ui.xul.util.AbstractXulDialogController<org.pentaho.metadata.model.Domain>
              extended by org.pentaho.platform.dataaccess.datasource.wizard.EmbeddedWizard
All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.util.DialogController<org.pentaho.metadata.model.Domain>, org.pentaho.ui.xul.XulEventSource

public class EmbeddedWizard
extends org.pentaho.ui.xul.util.AbstractXulDialogController<org.pentaho.metadata.model.Domain>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.pentaho.ui.xul.util.DialogController
org.pentaho.ui.xul.util.DialogController.DialogListener<T>
 
Constructor Summary
EmbeddedWizard(IXulAsyncDatasourceService datasourceService, IXulAsyncConnectionService connectionService,  constructorListener, boolean checkHasAccess)
           
 
Method Summary
 void addDialogListener(org.pentaho.ui.xul.util.DialogController.DialogListener<org.pentaho.metadata.model.Domain> listener)
          Specified by DialogController.
 void bundleLoaded(String bundleName)
           
 void closeErrorDetailsDialog()
           
 void closeErrorDialog()
           
 void closeSuccessDetailsDialog()
           
 void closeSuccessDialog()
           
 void closeSummaryDialog()
           
 void closeWaitingDialog()
           
 void editFieldSettings()
           
 IXulAsyncConnectionService getConnectionService()
           
 DatasourceMessages getDatasourceMessages()
           
 DatasourceModel getDatasourceModel()
           
 IXulAsyncDatasourceService getDatasourceService()
           
 Boolean getEditing()
           
 org.pentaho.ui.xul.XulDomContainer getMainWizardContainer()
           
 String getName()
           
 LinearWizardController getWizardController()
           
 void overlayLoaded()
           
 void overlayRemoved()
           
 void setDatasourceMessages(DatasourceMessages datasourceMessages)
           
 void setDatasourceModel(DatasourceModel datasourceModel)
           
 void setDatasourceService(IXulAsyncDatasourceService datasourceService)
           
 void setEditFinishedCallback(org.pentaho.ui.xul.XulServiceCallback<org.pentaho.metadata.model.Domain> editFinishedCallback)
           
 void setEditing(Boolean editing)
           
 void setUploadPath(String path)
          Upload path is by necessity relative.
 void setWizardController(LinearWizardController wizardController)
           
 void showDetailedSuccessDialog(String message, String detailMessage)
           
 void showDialog()
          Specified by DialogController.
 void showEditDialog(org.pentaho.metadata.model.Domain domain, org.pentaho.ui.xul.XulServiceCallback<org.pentaho.metadata.model.Domain> editFinishedCallback)
           
 void showModelEditor()
           
 void showSuccessDialog(String message)
           
 void showSummaryDialog()
           
 void showWaitingDialog()
           
 void showWaitingDialog(String msg)
           
 void xulLoaded(GwtXulRunner runner)
           
 
Methods inherited from class org.pentaho.ui.xul.util.AbstractXulDialogController
hideDialog, onDialogAccept, onDialogCancel, onDialogReady, removeDialogListener
 
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

EmbeddedWizard

public EmbeddedWizard(IXulAsyncDatasourceService datasourceService,
                      IXulAsyncConnectionService connectionService,
                       constructorListener,
                      boolean checkHasAccess)
Parameters:
datasourceService -
connectionService -
constructorListener -
checkHasAccess -
Method Detail

bundleLoaded

public void bundleLoaded(String bundleName)

addDialogListener

public void addDialogListener(org.pentaho.ui.xul.util.DialogController.DialogListener<org.pentaho.metadata.model.Domain> listener)
Specified by DialogController.

Specified by:
addDialogListener in interface org.pentaho.ui.xul.util.DialogController<org.pentaho.metadata.model.Domain>
Overrides:
addDialogListener in class org.pentaho.ui.xul.util.AbstractXulDialogController<org.pentaho.metadata.model.Domain>

showDialog

public void showDialog()
Specified by DialogController.

Specified by:
showDialog in interface org.pentaho.ui.xul.util.DialogController<org.pentaho.metadata.model.Domain>
Overrides:
showDialog in class org.pentaho.ui.xul.util.AbstractXulDialogController<org.pentaho.metadata.model.Domain>

showEditDialog

public void showEditDialog(org.pentaho.metadata.model.Domain domain,
                           org.pentaho.ui.xul.XulServiceCallback<org.pentaho.metadata.model.Domain> editFinishedCallback)

closeErrorDetailsDialog

public void closeErrorDetailsDialog()

closeErrorDialog

public void closeErrorDialog()

closeSuccessDetailsDialog

public void closeSuccessDetailsDialog()

showDetailedSuccessDialog

public void showDetailedSuccessDialog(String message,
                                      String detailMessage)

closeSuccessDialog

public void closeSuccessDialog()

showSuccessDialog

public void showSuccessDialog(String message)

overlayLoaded

public void overlayLoaded()

overlayRemoved

public void overlayRemoved()

getMainWizardContainer

public org.pentaho.ui.xul.XulDomContainer getMainWizardContainer()

getConnectionService

public IXulAsyncConnectionService getConnectionService()

getDatasourceService

public IXulAsyncDatasourceService getDatasourceService()

getWizardController

public LinearWizardController getWizardController()

setDatasourceService

public void setDatasourceService(IXulAsyncDatasourceService datasourceService)

xulLoaded

public void xulLoaded(GwtXulRunner runner)

getDatasourceModel

public DatasourceModel getDatasourceModel()

setDatasourceModel

public void setDatasourceModel(DatasourceModel datasourceModel)

getDatasourceMessages

public DatasourceMessages getDatasourceMessages()

setDatasourceMessages

public void setDatasourceMessages(DatasourceMessages datasourceMessages)

setWizardController

public void setWizardController(LinearWizardController wizardController)

getEditing

public Boolean getEditing()

setEditing

public void setEditing(Boolean editing)

showWaitingDialog

public void showWaitingDialog()

showWaitingDialog

public void showWaitingDialog(String msg)

closeWaitingDialog

public void closeWaitingDialog()

setEditFinishedCallback

public void setEditFinishedCallback(org.pentaho.ui.xul.XulServiceCallback<org.pentaho.metadata.model.Domain> editFinishedCallback)

showSummaryDialog

public void showSummaryDialog()

closeSummaryDialog

public void closeSummaryDialog()

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

editFieldSettings

public void editFieldSettings()

showModelEditor

public void showModelEditor()

setUploadPath

public void setUploadPath(String path)
Upload path is by necessity relative. as such it will differ where the module is based.

Parameters:
path -