this.readOnly = readOnly;
this.panel = new SimplePanel();
if ( con instanceof SingleFieldConstraintEBLeftSide ) {
SingleFieldConstraintEBLeftSide sfexp = (SingleFieldConstraintEBLeftSide) con;
this.factType = sfexp.getExpressionLeftSide().getPreviousGenericType();
if ( this.factType == null ) {
this.factType = sfexp.getExpressionLeftSide().getGenericType();
}
this.fieldName = sfexp.getExpressionLeftSide().getFieldName();
this.fieldType = sfexp.getExpressionLeftSide().getGenericType();
} else if ( con instanceof ConnectiveConstraint ) {
ConnectiveConstraint cc = (ConnectiveConstraint) con;
this.factType = cc.getFactType();
this.fieldName = cc.getFieldName();