|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.internal.ui.validation.ECPValidationResultServiceImpl
public class ECPValidationResultServiceImpl
Default implementation of the ECPValidationResultService
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecp.ui.validation.ECPValidationResultService |
---|
ECPValidationResultService.ECPValidationResultServiceListener |
Constructor Summary | |
---|---|
ECPValidationResultServiceImpl()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ECPValidationResultServiceImpl()
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |