use of org.obeonetwork.dsl.database.dbevolution.RemoveConstraint in project InformationSystem by ObeoNetwork.
the class RemoveConstraintItemProvider 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) {
RemoveConstraint removeConstraint = (RemoveConstraint) object;
Constraint constraint = removeConstraint.getConstraint();
return getString("_UI_RemoveConstraint_type") + " " + constraint.getName();
}
use of org.obeonetwork.dsl.database.dbevolution.RemoveConstraint in project InformationSystem by ObeoNetwork.
the class ConstraintChangeBuilder method createRemoveConstraint.
protected RemoveConstraint createRemoveConstraint(Table table, Constraint constraint, ReferenceChange change) {
RemoveConstraint removeConstraint = DbevolutionFactory.eINSTANCE.createRemoveConstraint();
removeConstraint.setConstraint(constraint);
fillDBDiff(removeConstraint, change);
return removeConstraint;
}
Aggregations