|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.data.ui.importer.wizard.ConversionWithProgressMonitor
public class ConversionWithProgressMonitor
Embed conversion operation which can be monitored by ProgressMonitorDialog. Conversion operation
converts TabularData to IDataSet.
| Field Summary | |
|---|---|
protected TabularData |
data
Data in tabular form, which is to be converted to data set. |
protected IDataSet |
dataSet
Data set. |
protected BrokenDataInfo |
errors
Statistics after data validation, containing information about all errors. |
protected ImportPage |
importPage
Import page of the import wizard. |
protected String |
path
Path to data file that is to be imported. |
protected String |
projectName
Name of the project. |
protected Template |
template
Template, according to which the conversion is done. |
protected ValidationPage |
validationPage
Validation page of the import wizard. |
| Constructor Summary | |
|---|---|
ConversionWithProgressMonitor(org.eclipse.core.resources.IProject project,
ImportPage importPage,
ValidationPage validationPage,
FileRawDataLogger importLogger)
The default constructor. |
|
| Method Summary | |
|---|---|
IDataSet |
getDataSet()
|
IModel |
getModel()
|
org.eclipse.core.resources.IProject |
getProject()
|
boolean |
getStatus()
|
void |
run(org.eclipse.core.runtime.IProgressMonitor monitor)
|
void |
setModelUtil(ModelUtil util)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ImportPage importPage
protected ValidationPage validationPage
protected IDataSet dataSet
protected String projectName
protected String path
protected Template template
protected TabularData data
protected BrokenDataInfo errors
| Constructor Detail |
|---|
public ConversionWithProgressMonitor(org.eclipse.core.resources.IProject project,
ImportPage importPage,
ValidationPage validationPage,
FileRawDataLogger importLogger)
project - the project resourceimportPage - the import wizard pagevalidationPage - the validation wizard pageimportLogger - the import logger| Method Detail |
|---|
public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
throws InvocationTargetException,
InterruptedException
run in interface org.eclipse.jface.operation.IRunnableWithProgressInvocationTargetException
InterruptedExceptionIRunnableWithProgress.run(org.eclipse.core.runtime.IProgressMonitor)public org.eclipse.core.resources.IProject getProject()
public IModel getModel()
public boolean getStatus()
public IDataSet getDataSet()
public void setModelUtil(ModelUtil util)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||