Modifier and Type | Class and Description |
---|---|
class |
Violation |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IViolation> |
Constraint.getStoredViolations() |
java.util.Collection<IViolation> |
Constraint.listViolations() |
java.util.Collection<IViolation> |
Constraint.listViolations(IViolationFilter filter) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IViolation> |
IConstraint.getStoredViolations()
Returns the violations stored by the constraint.
|
java.util.Collection<IViolation> |
IConstraint.listViolations()
Returns the violations retrieved from the validation engine on demand.
|
java.util.Collection<IViolation> |
IConstraint.listViolations(IViolationFilter filter)
Returns the violations retrieved from the validation engine on demand and filtered by the provided violation
filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IViolationFilter.apply(IViolation violation)
Checks the given violation object whether it passes through the filter.
|
Modifier and Type | Method and Description |
---|---|
void |
ConstraintListener.violationAppeared(IViolation violation)
Called if a new violation appeared for the constraint on which the listener is registered.
|
void |
ConstraintListener.violationDisappeared(IViolation violation)
Called if a violation disappeared for the constraint on which the listener is registered.
|
void |
ViolationListener.violationEntryAppeared(IViolation violation,
IEntry entry)
Called if a new entry has appeared for the violation on which the listener is registered.
|
void |
ViolationListener.violationEntryDisappeared(IViolation violation,
IEntry entry)
Called if an entry has disappeared for the violation on which the listener is registered.
|
void |
ViolationListener.violationMessageUpdated(IViolation violation)
Called if the message has been updated for the violation on which the listener is registered.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.resources.IMarker |
ConstraintAdapter.addMarker(IViolation violation,
org.eclipse.core.resources.IMarker marker) |
org.eclipse.core.resources.IMarker |
ConstraintAdapter.getMarker(IViolation violation) |
org.eclipse.core.resources.IMarker |
ConstraintAdapter.removeMarker(IViolation violation) |
void |
MarkerManagerViolationListener.violationAppeared(IViolation violation) |
void |
MarkerManagerViolationListener.violationDisappeared(IViolation violation) |
void |
MarkerManagerViolationListener.violationEntryAppeared(IViolation violation,
IEntry entry) |
void |
MarkerManagerViolationListener.violationEntryDisappeared(IViolation violation,
IEntry entry) |
void |
MarkerManagerViolationListener.violationMessageUpdated(IViolation violation) |