public class RepositoryImportProgressDialog extends org.eclipse.swt.widgets.Dialog implements ProgressMonitorListener, RepositoryImportFeedbackInterface, HasOverwritePrompter
Constructor and Description |
---|
RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent,
int style,
Repository rep,
String fileDirectory,
String[] filenames,
RepositoryDirectoryInterface baseDirectory,
String versionComment) |
RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent,
int style,
Repository rep,
String fileDirectory,
String[] filenames,
RepositoryDirectoryInterface baseDirectory,
String versionComment,
ImportRules importRules) |
Modifier and Type | Method and Description |
---|---|
void |
addLog(String line) |
boolean |
askContinueOnErrorQuestion(String title,
String message) |
void |
beginTask(String message,
int nrWorks) |
void |
dispose() |
void |
done() |
OverwritePrompter |
getOverwritePrompter() |
boolean |
isAskingOverwriteConfirmation() |
boolean |
isCanceled() |
boolean |
jobOverwritePrompt(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(TransMeta transMeta) |
void |
updateDisplay() |
void |
worked(int nrWorks) |
public RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent, int style, Repository rep, String fileDirectory, String[] filenames, RepositoryDirectoryInterface baseDirectory, String versionComment)
public RepositoryImportProgressDialog(org.eclipse.swt.widgets.Shell parent, int style, Repository rep, String fileDirectory, String[] filenames, RepositoryDirectoryInterface baseDirectory, String versionComment, ImportRules importRules)
public void open()
public void dispose()
public void setLabel(String labelText)
setLabel
in interface RepositoryImportFeedbackInterface
public void updateDisplay()
updateDisplay
in interface RepositoryImportFeedbackInterface
public void showError(String title, String message, Exception e)
showError
in interface RepositoryImportFeedbackInterface
public boolean transOverwritePrompt(TransMeta transMeta)
transOverwritePrompt
in interface RepositoryImportFeedbackInterface
public boolean jobOverwritePrompt(JobMeta jobMeta)
jobOverwritePrompt
in interface RepositoryImportFeedbackInterface
public void addLog(String line)
addLog
in interface RepositoryImportFeedbackInterface
public boolean askContinueOnErrorQuestion(String title, String message)
askContinueOnErrorQuestion
in interface RepositoryImportFeedbackInterface
public void beginTask(String message, int nrWorks)
beginTask
in interface ProgressMonitorListener
public void done()
done
in interface ProgressMonitorListener
public boolean isCanceled()
isCanceled
in interface ProgressMonitorListener
public void setTaskName(String taskName)
setTaskName
in interface ProgressMonitorListener
public void subTask(String message)
subTask
in interface ProgressMonitorListener
public void worked(int nrWorks)
worked
in interface ProgressMonitorListener
public boolean isAskingOverwriteConfirmation()
isAskingOverwriteConfirmation
in interface RepositoryImportFeedbackInterface
public OverwritePrompter getOverwritePrompter()
getOverwritePrompter
in interface HasOverwritePrompter
Copyright © 2019 Hitachi Vantara. All rights reserved.