Search in sources :

Example 1 with AddTable

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

the class TableChangeBuilder method createAddTable.

protected AddTable createAddTable(Comparison comparison, TableContainer tableContainer, Table table, ReferenceChange change) {
    AddTable addTable = DbevolutionFactory.eINSTANCE.createAddTable();
    addTable.setTable(table);
    fillDBDiff(addTable, change);
    return addTable;
}
Also used : AddTable(org.obeonetwork.dsl.database.dbevolution.AddTable)

Example 2 with AddTable

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

the class AddTableItemProvider 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) {
    AddTable addTable = (AddTable) object;
    Table table = addTable.getTable();
    return getString("_UI_AddTable_type") + " " + table.getName();
}
Also used : AddTable(org.obeonetwork.dsl.database.dbevolution.AddTable) AddTable(org.obeonetwork.dsl.database.dbevolution.AddTable) Table(org.obeonetwork.dsl.database.Table)

Aggregations

AddTable (org.obeonetwork.dsl.database.dbevolution.AddTable)2 Table (org.obeonetwork.dsl.database.Table)1