pl.edu.agh.cast.data.ui.importer.wizard
Class ImportWithProgressMonitor
java.lang.Object
pl.edu.agh.cast.data.ui.importer.wizard.ImportWithProgressMonitor
- All Implemented Interfaces:
- org.eclipse.jface.operation.IRunnableWithProgress
public class ImportWithProgressMonitor
- extends Object
- implements org.eclipse.jface.operation.IRunnableWithProgress
Embed import operation which can be monitored by ProgressMonitorDialog. Import operation reads data from
file (according to specified IDataLoader) and creates TabularData and statistics (if
IDataLoader is an instance of DataLoaderWithStatistics)
- Author:
- AGH CAST Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
template
protected Template template
- Import template.
wizard
protected ImportWizard wizard
- Import wizard.
ImportWithProgressMonitor
public ImportWithProgressMonitor(String path,
Template template,
long rowsLimit,
ImportWizard wizard,
FileRawDataLogger importLogger)
- The default constructor.
- Parameters:
path - the path to file containing the datatemplate - the templaterowsLimit - the limit of rowswizard - the import wizardimportLogger - the import logger
run
public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
throws InvocationTargetException,
InterruptedException
-
- Specified by:
run in interface org.eclipse.jface.operation.IRunnableWithProgress
- Throws:
InvocationTargetException
InterruptedException- See Also:
IRunnableWithProgress.run(org.eclipse.core.runtime.IProgressMonitor)
isLoadPreprocessingPage
public boolean isLoadPreprocessingPage()
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.