Search in sources :

Example 1 with ConstraintChange

use of org.obeonetwork.dsl.database.dbevolution.ConstraintChange in project InformationSystem by ObeoNetwork.

the class ConstraintChangeItemProvider method getText.

/**
 * This returns the label text for the adapted class.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated NOT
 */
@Override
public String getText(Object object) {
    ConstraintChange constraintChange = (ConstraintChange) object;
    Constraint constraint = constraintChange.getConstraint();
    return getString("_UI_ConstraintChange_type") + " " + constraint.getName();
}
Also used : Constraint(org.obeonetwork.dsl.database.Constraint) ConstraintChange(org.obeonetwork.dsl.database.dbevolution.ConstraintChange)

Aggregations

Constraint (org.obeonetwork.dsl.database.Constraint)1 ConstraintChange (org.obeonetwork.dsl.database.dbevolution.ConstraintChange)1