Search in sources :

Example 1 with RemoveTable

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

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

Example 2 with RemoveTable

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

the class TableChangeBuilder method createRemoveTable.

protected RemoveTable createRemoveTable(Table table, ReferenceChange change) {
    RemoveTable removeTable = DbevolutionFactory.eINSTANCE.createRemoveTable();
    removeTable.setTable(table);
    fillDBDiff(removeTable, change);
    return removeTable;
}
Also used : RemoveTable(org.obeonetwork.dsl.database.dbevolution.RemoveTable)

Aggregations

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