use of org.obeonetwork.dsl.database.dbevolution.UpdateSequence in project InformationSystem by ObeoNetwork.
the class SequenceChangeBuilder method createUpdateSequence.
protected UpdateSequence createUpdateSequence(Match change) {
UpdateSequence updateSequence = DbevolutionFactory.eINSTANCE.createUpdateSequence();
updateSequence.setSequence((Sequence) change.getRight());
Object leftElement = change.getLeft();
updateSequence.setNewSequence((Sequence) leftElement);
fillDBDiff(updateSequence, change);
return updateSequence;
}
use of org.obeonetwork.dsl.database.dbevolution.UpdateSequence in project InformationSystem by ObeoNetwork.
the class UpdateSequenceItemProvider 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) {
UpdateSequence updateSequence = (UpdateSequence) object;
Sequence sequence = updateSequence.getSequence();
return getString("_UI_UpdateSequence_type") + " " + sequence.getName();
}
Aggregations