Interface ECPValidationResultService
-
- All Known Implementing Classes:
ECPValidationResultServiceImpl
public interface ECPValidationResultService
Service for propagating validation results.- Author:
- jfaltermeier
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ECPValidationResultService.ECPValidationResultServiceListener
Listener interface for getting informed on input changes of the validation view.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deregister(ECPValidationResultService.ECPValidationResultServiceListener listener)
Deregisters a listener.void
register(ECPValidationResultService.ECPValidationResultServiceListener listener)
Registers a listener that gets informed whenever the input changes.void
register(ECPValidationResultService.ECPValidationResultServiceListener listener, java.util.Set<org.eclipse.emf.ecore.EClassifier> classifiersOfInterest)
Registers a listener that gets informed whenever there is a validation result for an object of a type from the given set ofEClassifier
s.void
setResult(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostic)
Passes the given diagnostics to all registeredECPValidationResultService.ECPValidationResultServiceListener
s.void
setResult(org.eclipse.emf.common.util.Diagnostic diagnostic)
Passes the given diagnostic to all registeredECPValidationResultService.ECPValidationResultServiceListener
s.void
setResult(org.eclipse.emf.common.util.Diagnostic[] diagnostic)
Passes the given diagnostics to all registeredECPValidationResultService.ECPValidationResultServiceListener
s.
-
-
-
Method Detail
-
setResult
void setResult(org.eclipse.emf.common.util.Diagnostic diagnostic)
Passes the given diagnostic to all registeredECPValidationResultService.ECPValidationResultServiceListener
s.- Parameters:
diagnostic
- the diagnostic to display
-
setResult
void setResult(org.eclipse.emf.common.util.Diagnostic[] diagnostic)
Passes the given diagnostics to all registeredECPValidationResultService.ECPValidationResultServiceListener
s.- Parameters:
diagnostic
- the diagnostics to display
-
setResult
void setResult(java.util.List<org.eclipse.emf.common.util.Diagnostic> diagnostic)
Passes the given diagnostics to all registeredECPValidationResultService.ECPValidationResultServiceListener
s.- Parameters:
diagnostic
- the diagnostics to display
-
register
void register(ECPValidationResultService.ECPValidationResultServiceListener listener)
Registers a listener that gets informed whenever the input changes.- Parameters:
listener
- the listener to be registered
-
register
void register(ECPValidationResultService.ECPValidationResultServiceListener listener, java.util.Set<org.eclipse.emf.ecore.EClassifier> classifiersOfInterest)
Registers a listener that gets informed whenever there is a validation result for an object of a type from the given set ofEClassifier
s.- Parameters:
listener
- the listener to be registeredclassifiersOfInterest
- the set ofEClassifier
s
-
deregister
void deregister(ECPValidationResultService.ECPValidationResultServiceListener listener)
Deregisters a listener.- Parameters:
listener
- the listener to be deregistered
-
-