Search in sources :

Example 1 with RemoveSequence

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

the class SequenceChangeBuilder method createRemoveSequence.

protected RemoveSequence createRemoveSequence(TableContainer tableContainer, Sequence sequence, ReferenceChange change) {
    RemoveSequence removeSequence = DbevolutionFactory.eINSTANCE.createRemoveSequence();
    removeSequence.setSequence(sequence);
    fillDBDiff(removeSequence, change);
    return removeSequence;
}
Also used : RemoveSequence(org.obeonetwork.dsl.database.dbevolution.RemoveSequence)

Example 2 with RemoveSequence

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

the class RemoveSequenceItemProvider 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) {
    RemoveSequence removeSequence = (RemoveSequence) object;
    Sequence sequence = removeSequence.getSequence();
    return getString("_UI_RemoveSequence_type") + " " + sequence.getName();
}
Also used : RemoveSequence(org.obeonetwork.dsl.database.dbevolution.RemoveSequence) RemoveSequence(org.obeonetwork.dsl.database.dbevolution.RemoveSequence) Sequence(org.obeonetwork.dsl.database.Sequence)

Aggregations

RemoveSequence (org.obeonetwork.dsl.database.dbevolution.RemoveSequence)2 Sequence (org.obeonetwork.dsl.database.Sequence)1