se.liu.ida.critiquer.constraints
Interface ConstraintStatusListener

All Known Implementing Classes:
ActivityStructureCritic, ConstraintCheckBox, ConstraintComponent, CriticTextArea

public interface ConstraintStatusListener

The CritiquePanel may use the information provided through this interface to listen for status events that the Constraints may send. The idea is to subscribe to status events by adding oneself to StandardConstraint.statusListeners and react to events that happen to any of the constraints in the system. For instance, if a critic that uses the text area is set active by a user, no other critic that uses the text area may be activated at the same time. The same goes for critics that use the graphical component.

Author:
olale

Method Summary
 void activeStatusChanged(StandardConstraint c)
           
 void violationStatusChanged(StandardConstraint c)
           
 

Method Detail

activeStatusChanged

void activeStatusChanged(StandardConstraint c)

violationStatusChanged

void violationStatusChanged(StandardConstraint c)