Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.ui.validation
Interface ECPValidationResultService

All Known Implementing Classes:
  ECPValidationResultServiceImpl

    public interface ECPValidationResultService

Service for propagating validation results.

Author:
  jfaltermeier

Nested Class Summary
`static interface` | `ECPValidationResultService.ECPValidationResultServiceListener` Listener interface for getting informed on input changes of the validation view.

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.

Method Detail

### setResult

    void setResult(org.eclipse.emf.common.util.Diagnostic diagnostic)

  Passes the given diagnostic to all registered `ECPValidationResultService.ECPValidationResultServiceListener`s.

  Parameters:
    `diagnostic` - the diagnostic to display

### setResult

    void setResult(org.eclipse.emf.common.util.Diagnostic[] diagnostic)

  Passes the given diagnostics to all registered `ECPValidationResultService.ECPValidationResultServiceListener`s.

  Parameters:
    `diagnostic` - the diagnostics to display

### setResult

    void setResult(List<org.eclipse.emf.common.util.Diagnostic> diagnostic)

  Passes the given diagnostics to all registered `ECPValidationResultService.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,
                  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.

  Parameters:
    `listener` - the listener to be registered
    `classifiersOfInterest` - the set of `EClassifier`s

### deregister

    void deregister(ECPValidationResultService.ECPValidationResultServiceListener listener)

  Deregisters a listener.

  Parameters:
    `listener` - the listener to be deregistered

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.