public class ECPValidationResultServiceImpl extends Object implements ECPValidationResultService
ECPValidationResultService
.ECPValidationResultService.ECPValidationResultServiceListener
Constructor and Description |
---|
ECPValidationResultServiceImpl()
Constructor.
|
Modifier and Type | Method and 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,
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 of
EClassifier s. |
void |
setResult(org.eclipse.emf.common.util.Diagnostic diagnostic)
Passes the given diagnostic to all registered
ECPValidationResultService.ECPValidationResultServiceListener s. |
void |
setResult(org.eclipse.emf.common.util.Diagnostic[] diagnostic)
Passes the given diagnostics to all registered
ECPValidationResultService.ECPValidationResultServiceListener s. |
void |
setResult(List<org.eclipse.emf.common.util.Diagnostic> diagnostic)
Passes the given diagnostics to all registered
ECPValidationResultService.ECPValidationResultServiceListener s. |
public ECPValidationResultServiceImpl()
public void setResult(org.eclipse.emf.common.util.Diagnostic[] diagnostic)
ECPValidationResultService.ECPValidationResultServiceListener
s.setResult
in interface ECPValidationResultService
diagnostic
- the diagnostics to displayECPValidationResultService.setResult(org.eclipse.emf.common.util.Diagnostic[])
public void setResult(org.eclipse.emf.common.util.Diagnostic diagnostic)
ECPValidationResultService.ECPValidationResultServiceListener
s.setResult
in interface ECPValidationResultService
diagnostic
- the diagnostic to displayECPValidationResultService.setResult(org.eclipse.emf.common.util.Diagnostic)
public void setResult(List<org.eclipse.emf.common.util.Diagnostic> diagnostic)
ECPValidationResultService.ECPValidationResultServiceListener
s.setResult
in interface ECPValidationResultService
diagnostic
- the diagnostics to displayECPValidationResultService.setResult(java.util.List)
public void register(ECPValidationResultService.ECPValidationResultServiceListener listener)
register
in interface ECPValidationResultService
listener
- the listener to be registeredECPValidationResultService.register(org.eclipse.emf.ecp.ui.validation.ECPValidationResultService.ECPValidationResultServiceListener)
public void register(ECPValidationResultService.ECPValidationResultServiceListener listener, Set<org.eclipse.emf.ecore.EClassifier> classifiersOfInterest)
EClassifier
s.register
in interface ECPValidationResultService
listener
- the listener to be registeredclassifiersOfInterest
- the set of EClassifier
sECPValidationResultService.register(org.eclipse.emf.ecp.ui.validation.ECPValidationResultService.ECPValidationResultServiceListener,
java.util.Set)
public void deregister(ECPValidationResultService.ECPValidationResultServiceListener listener)
deregister
in interface ECPValidationResultService
listener
- the listener to be deregisteredECPValidationResultService.deregister(org.eclipse.emf.ecp.ui.validation.ECPValidationResultService.ECPValidationResultServiceListener)
Copyright © 2016. All rights reserved.