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;
}
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();
}