Search in sources :

Example 1 with AddView

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

the class AddViewItemProvider 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) {
    AddView addView = (AddView) object;
    View view = addView.getView();
    return getString("_UI_AddView_type") + " " + view.getName();
}
Also used : AddView(org.obeonetwork.dsl.database.dbevolution.AddView) View(org.obeonetwork.dsl.database.View) AddView(org.obeonetwork.dsl.database.dbevolution.AddView)

Example 2 with AddView

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

the class ViewChangeBuilder method createAddView.

protected AddView createAddView(Comparison comparison, TableContainer tableContainer, View view, ReferenceChange change) {
    AddView addView = DbevolutionFactory.eINSTANCE.createAddView();
    addView.setView(view);
    fillDBDiff(addView, change);
    return addView;
}
Also used : AddView(org.obeonetwork.dsl.database.dbevolution.AddView)

Aggregations

AddView (org.obeonetwork.dsl.database.dbevolution.AddView)2 View (org.obeonetwork.dsl.database.View)1