|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.importer.base.logging.AbstractImportLogger
pl.edu.agh.cast.importer.base.logging.CompositeImportLogger
public class CompositeImportLogger
An observer of the import process, which logs events to a composite.
| Field Summary |
|---|
| Fields inherited from class pl.edu.agh.cast.importer.base.logging.AbstractImportLogger |
|---|
LEFT_BRACKET, RIGHT_BRACKET, SEPARATOR_COMMA, SEPARATOR_SEMICOMMA |
| Constructor Summary | |
|---|---|
CompositeImportLogger()
The default constructor. |
|
| Method Summary | |
|---|---|
void |
finish(String dataSetId)
Finishes the import logging. |
void |
notifyError(AbstractErrorLogData error)
Notifies when an error occurs. |
void |
notifyRemoved(DataRow row)
Notifies when a row is removed. |
void |
notifyRestored(DataRow row)
Notifies when a row is restored. |
void |
notifyValueChanged(DataRow row,
int index,
Object oldValue,
Object newValue)
Notifies when new value is set in a specified row. |
void |
setComposite(org.eclipse.swt.widgets.Composite composite)
|
| Methods inherited from class pl.edu.agh.cast.importer.base.logging.AbstractImportLogger |
|---|
createErrorMsg |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeImportLogger()
| Method Detail |
|---|
public void notifyError(AbstractErrorLogData error)
error - the error that occurredIImportLogger.notifyError(
pl.edu.agh.cast.importer.base.stat.AbstractErrorLogData)public void notifyRemoved(DataRow row)
row - the row which is removedIImportDataObserver.notifyRemoved(
pl.edu.agh.cast.importer.base.data.DataRow)public void notifyRestored(DataRow row)
row - the row which is restoredIImportDataObserver.notifyRestored(
pl.edu.agh.cast.importer.base.data.DataRow)
public void notifyValueChanged(DataRow row,
int index,
Object oldValue,
Object newValue)
row - the row which is editedindex - the position, on which the change had occurredoldValue - the old valuenewValue - the new valueIImportDataObserver.notifyValueChanged(
pl.edu.agh.cast.importer.base.data.DataRow, int, java.lang.Object, java.lang.Object)public void finish(String dataSetId)
dataSetId - the data set identifierIImportLogger.finish(java.lang.String)public void setComposite(org.eclipse.swt.widgets.Composite composite)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||