use of org.obeonetwork.dsl.database.dbevolution.RemoveIndex in project InformationSystem by ObeoNetwork.
the class RemoveIndexItemProvider 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) {
RemoveIndex removeIndex = (RemoveIndex) object;
Index index = (Index) removeIndex.getIndex();
AdapterFactoryItemDelegator delegator = new AdapterFactoryItemDelegator(getRootAdapterFactory());
final String parentLabel = delegator.getText(index);
return getString("_UI_RemoveIndex_type", new Object[] { parentLabel, new DiffContentService().getSubDiffs(removeIndex, removeIndex.getMatch().getComparison()).size() });
}
use of org.obeonetwork.dsl.database.dbevolution.RemoveIndex in project InformationSystem by ObeoNetwork.
the class IndexChangeBuilder method createRemoveIndex.
protected RemoveIndex createRemoveIndex(Table table, Index index, ReferenceChange change) {
RemoveIndex removeIndex = DbevolutionFactory.eINSTANCE.createRemoveIndex();
removeIndex.setIndex(index);
fillDBDiff(removeIndex, change);
return removeIndex;
}
Aggregations