protected Command createRemoveValueCommand(Object value) {
if (value instanceof ServerDataStoreEntryImpl) {
ServerDataStoreEntryImpl entry = (ServerDataStoreEntryImpl) value;
return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.SERVER_DATA_STORE__SERVER_DATA, entry.getValue());
} else if (value instanceof DestinationDataStoreEntryImpl) {
DestinationDataStoreEntryImpl entry = (DestinationDataStoreEntryImpl) value;
return RemoveCommand.create(editingDomain, entry.eContainer(), RfcPackage.Literals.DESTINATION_DATA_STORE__DESTINATION_DATA, entry.getValue());
}
return null;
}