use of org.obeonetwork.dsl.database.compare.extensions.services.DiffContentService in project InformationSystem by ObeoNetwork.
the class UpdateColumnChangeItemProvider 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) {
UpdateColumnChange updateColumnChange = (UpdateColumnChange) object;
Column column = updateColumnChange.getColumn();
AdapterFactoryItemDelegator delegator = new AdapterFactoryItemDelegator(getRootAdapterFactory());
final String parentLabel = delegator.getText(column);
return getString("_UI_UpdateColumnChange_type", new Object[] { parentLabel, new DiffContentService().getSubDiffs(updateColumnChange, updateColumnChange.getMatch().getComparison()).size() });
}
use of org.obeonetwork.dsl.database.compare.extensions.services.DiffContentService in project InformationSystem by ObeoNetwork.
the class AlterSchemaItemProvider 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) {
AlterSchema alterSchema = (AlterSchema) object;
Schema schema = alterSchema.getSchema();
AdapterFactoryItemDelegator delegator = new AdapterFactoryItemDelegator(getRootAdapterFactory());
final String parentLabel = delegator.getText(schema);
return getString("_UI_AlterSchema_type", new Object[] { parentLabel, new DiffContentService().getSubDiffs(alterSchema, alterSchema.getMatch().getComparison()).size() });
}
Aggregations