1 module cassowary.EditConstraint;
2 
3 import cassowary.EditOrStayConstraint;
4 import cassowary.Strength;
5 import cassowary.Variable;
6 
7 public class ClEditConstraint : ClEditOrStayConstraint
8 {
9 	this(ClVariable clv, const ClStrength strength = ClStrength.required, double weight = 1)
10 	{
11 		super(clv, strength, weight);
12 	}
13 
14 	override bool isEditConstraint() const
15 	{
16 		return true;
17 	}
18 
19 	override string toString() const
20 	{
21 		return "edit" ~ super.toString();
22 	}
23 }