public class MarkerManagerViolationListener extends java.lang.Object implements ConstraintListener, ViolationListener
| Constructor and Description |
|---|
MarkerManagerViolationListener(org.eclipse.core.resources.IResource editorLocation,
org.apache.log4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Callback when the listener has to be cleaned up
|
void |
violationAppeared(IViolation violation)
Called if a new violation appeared for the constraint on which the listener is registered.
|
void |
violationDisappeared(IViolation violation)
Called if a violation disappeared for the constraint on which the listener is registered.
|
void |
violationEntryAppeared(IViolation violation,
IEntry entry)
Called if a new entry has appeared for the violation on which the listener is registered.
|
void |
violationEntryDisappeared(IViolation violation,
IEntry entry)
Called if an entry has disappeared for the violation on which the listener is registered.
|
void |
violationMessageUpdated(IViolation violation)
Called if the message has been updated for the violation on which the listener is registered.
|
public MarkerManagerViolationListener(org.eclipse.core.resources.IResource editorLocation,
org.apache.log4j.Logger logger)
public void violationAppeared(IViolation violation)
ConstraintListenerviolationAppeared in interface ConstraintListenerviolation - The violation which appeared.public void violationDisappeared(IViolation violation)
ConstraintListenerviolationDisappeared in interface ConstraintListenerviolation - The violation which disappeared.public void violationEntryAppeared(IViolation violation, IEntry entry)
ViolationListenerviolationEntryAppeared in interface ViolationListenerviolation - The violation for which the new entry appeared.entry - The new entry which appeared.public void violationMessageUpdated(IViolation violation)
ViolationListenerviolationMessageUpdated in interface ViolationListenerviolation - The violation for which the messaged has been updated.public void violationEntryDisappeared(IViolation violation, IEntry entry)
ViolationListenerviolationEntryDisappeared in interface ViolationListenerviolation - The violation for which the entry disappeared.entry - The entry which disappeared.public void dispose()
ConstraintListenerdispose in interface ConstraintListener