Search in sources :

Example 1 with AddSequence

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

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

Example 2 with AddSequence

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

the class SequenceChangeBuilder method createAddSequence.

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

Aggregations

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