Class RepositoryImportProgressDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.repository.dialog.RepositoryImportProgressDialog
-
- All Implemented Interfaces:
org.pentaho.di.core.gui.HasOverwritePrompter
,org.pentaho.di.core.ProgressMonitorListener
,org.pentaho.di.repository.RepositoryImportFeedbackInterface
public class RepositoryImportProgressDialog extends org.eclipse.swt.widgets.Dialog implements org.pentaho.di.core.ProgressMonitorListener, org.pentaho.di.repository.RepositoryImportFeedbackInterface, org.pentaho.di.core.gui.HasOverwritePrompter
Takes care of displaying a dialog that will handle the wait while we are importing a backup file from XML...- Since:
- 03-jun-2005
- Author:
- Matt
-
-
Constructor Summary
Constructors Constructor Description RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.repository.Repository rep, String fileDirectory, String[] filenames, org.pentaho.di.repository.RepositoryDirectoryInterface baseDirectory, String versionComment)
RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.repository.Repository rep, String fileDirectory, String[] filenames, org.pentaho.di.repository.RepositoryDirectoryInterface baseDirectory, String versionComment, org.pentaho.di.imp.ImportRules importRules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLog(String line)
boolean
askContinueOnErrorQuestion(String title, String message)
void
beginTask(String message, int nrWorks)
void
dispose()
void
done()
org.pentaho.di.core.gui.OverwritePrompter
getOverwritePrompter()
boolean
isAskingOverwriteConfirmation()
boolean
isCanceled()
boolean
jobOverwritePrompt(org.pentaho.di.job.JobMeta jobMeta)
void
open()
void
setLabel(String labelText)
void
setTaskName(String taskName)
void
showError(String title, String message, Exception e)
void
subTask(String message)
boolean
transOverwritePrompt(org.pentaho.di.trans.TransMeta transMeta)
void
updateDisplay()
void
worked(int nrWorks)
-
-
-
Constructor Detail
-
RepositoryImportProgressDialog
public RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.repository.Repository rep, String fileDirectory, String[] filenames, org.pentaho.di.repository.RepositoryDirectoryInterface baseDirectory, String versionComment)
-
RepositoryImportProgressDialog
public RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.repository.Repository rep, String fileDirectory, String[] filenames, org.pentaho.di.repository.RepositoryDirectoryInterface baseDirectory, String versionComment, org.pentaho.di.imp.ImportRules importRules)
-
-
Method Detail
-
open
public void open()
-
dispose
public void dispose()
-
setLabel
public void setLabel(String labelText)
- Specified by:
setLabel
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
updateDisplay
public void updateDisplay()
- Specified by:
updateDisplay
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
showError
public void showError(String title, String message, Exception e)
- Specified by:
showError
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
transOverwritePrompt
public boolean transOverwritePrompt(org.pentaho.di.trans.TransMeta transMeta)
- Specified by:
transOverwritePrompt
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
jobOverwritePrompt
public boolean jobOverwritePrompt(org.pentaho.di.job.JobMeta jobMeta)
- Specified by:
jobOverwritePrompt
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
addLog
public void addLog(String line)
- Specified by:
addLog
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
askContinueOnErrorQuestion
public boolean askContinueOnErrorQuestion(String title, String message)
- Specified by:
askContinueOnErrorQuestion
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
beginTask
public void beginTask(String message, int nrWorks)
- Specified by:
beginTask
in interfaceorg.pentaho.di.core.ProgressMonitorListener
-
done
public void done()
- Specified by:
done
in interfaceorg.pentaho.di.core.ProgressMonitorListener
-
isCanceled
public boolean isCanceled()
- Specified by:
isCanceled
in interfaceorg.pentaho.di.core.ProgressMonitorListener
-
setTaskName
public void setTaskName(String taskName)
- Specified by:
setTaskName
in interfaceorg.pentaho.di.core.ProgressMonitorListener
-
subTask
public void subTask(String message)
- Specified by:
subTask
in interfaceorg.pentaho.di.core.ProgressMonitorListener
-
worked
public void worked(int nrWorks)
- Specified by:
worked
in interfaceorg.pentaho.di.core.ProgressMonitorListener
-
isAskingOverwriteConfirmation
public boolean isAskingOverwriteConfirmation()
- Specified by:
isAskingOverwriteConfirmation
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
getOverwritePrompter
public org.pentaho.di.core.gui.OverwritePrompter getOverwritePrompter()
- Specified by:
getOverwritePrompter
in interfaceorg.pentaho.di.core.gui.HasOverwritePrompter
-
-