Search in sources :

Example 1 with RemoveView

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

the class ViewChangeBuilder method createRemoveView.

protected RemoveView createRemoveView(View view, ReferenceChange change) {
    RemoveView removeView = DbevolutionFactory.eINSTANCE.createRemoveView();
    removeView.setView(view);
    fillDBDiff(removeView, change);
    return removeView;
}
Also used : RemoveView(org.obeonetwork.dsl.database.dbevolution.RemoveView)

Example 2 with RemoveView

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

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

Aggregations

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