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
ConstructorDescriptionRepositoryImportProgressDialog
(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
Modifier and TypeMethodDescriptionvoid
boolean
askContinueOnErrorQuestion
(String title, String message) void
void
dispose()
void
done()
org.pentaho.di.core.gui.OverwritePrompter
boolean
boolean
boolean
jobOverwritePrompt
(org.pentaho.di.job.JobMeta jobMeta) void
open()
void
void
setTaskName
(String taskName) void
void
boolean
transOverwritePrompt
(org.pentaho.di.trans.TransMeta transMeta) void
void
worked
(int nrWorks) Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
RepositoryImportProgressDialog
-
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 Details
-
open
public void open() -
dispose
public void dispose() -
setLabel
- Specified by:
setLabel
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
updateDisplay
public void updateDisplay()- Specified by:
updateDisplay
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
showError
- 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
- Specified by:
addLog
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
askContinueOnErrorQuestion
- Specified by:
askContinueOnErrorQuestion
in interfaceorg.pentaho.di.repository.RepositoryImportFeedbackInterface
-
beginTask
- 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
- Specified by:
setTaskName
in interfaceorg.pentaho.di.core.ProgressMonitorListener
-
subTask
- 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
-