/* (non-Javadoc)
* @see org.emftrace.ui.command.AbstractCommand#doRun()
*/
@Override
protected void doRun() {
PredefinedConstraintSet predefinedConstraintSet = ConstraintsFactory.eINSTANCE.createPredefinedConstraintSet();
predefinedConstraintSet.setName(name);
predefinedConstraintSet.setDescription(description);
for (Constraint constraint : constraints){
predefinedConstraintSet.getConstraints().add(constraint);
}
predefinedConstraintSetCatalogue.getCatalogueItems().add(predefinedConstraintSet);
}