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