|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.service.instance.InstanceServiceAdapter
eu.esdihumboldt.hale.ui.service.instance.validation.internal.InstanceValidationServiceImpl
public class InstanceValidationServiceImpl
Service that listens to the instance service and validates instances.
Constructor Summary | |
---|---|
InstanceValidationServiceImpl(InstanceService instanceService,
ReportService reportService)
Creates the instance validation service. |
Method Summary | |
---|---|
void |
addListener(InstanceValidationListener listener)
Adds a listener. |
void |
datasetAboutToChange(DataSet type)
Called when a data set is about to change. |
void |
datasetChanged(DataSet type)
Called when a data set has changed |
boolean |
isValidationEnabled()
Returns whether the automatic instance validation after each transformation is enabled. |
void |
removeListener(InstanceValidationListener listener)
Removes a listener. |
void |
setValidationEnabled(boolean enable)
Set whether the automatic instance validation after each transformation is enabled. |
Methods inherited from class eu.esdihumboldt.hale.ui.service.instance.InstanceServiceAdapter |
---|
transformationToggled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstanceValidationServiceImpl(InstanceService instanceService, ReportService reportService)
instanceService
- the instance service to usereportService
- the report service to useMethod Detail |
---|
public void datasetChanged(DataSet type)
InstanceServiceListener
datasetChanged
in interface InstanceServiceListener
datasetChanged
in class InstanceServiceAdapter
type
- the data set typeInstanceServiceListener.datasetChanged(DataSet)
public void datasetAboutToChange(DataSet type)
InstanceServiceListener
datasetAboutToChange
in interface InstanceServiceListener
datasetAboutToChange
in class InstanceServiceAdapter
type
- the data set typeInstanceServiceAdapter.datasetAboutToChange(DataSet)
public void addListener(InstanceValidationListener listener)
InstanceValidationService
addListener
in interface InstanceValidationService
listener
- the listener to addInstanceValidationService.addListener(eu.esdihumboldt.hale.ui.service.instance.validation.InstanceValidationListener)
public void removeListener(InstanceValidationListener listener)
InstanceValidationService
removeListener
in interface InstanceValidationService
listener
- the listener to removeInstanceValidationService.removeListener(eu.esdihumboldt.hale.ui.service.instance.validation.InstanceValidationListener)
public boolean isValidationEnabled()
InstanceValidationService
isValidationEnabled
in interface InstanceValidationService
InstanceValidationService.isValidationEnabled()
public void setValidationEnabled(boolean enable)
InstanceValidationService
setValidationEnabled
in interface InstanceValidationService
enable
- whether the automatic instance validation after each
transformation is enabledInstanceValidationService.setValidationEnabled(boolean)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |