Skip to content
Snippets Groups Projects
Commit 61bcc29c authored by buczekp's avatar buczekp
Browse files

[LMS-2209] missing commit - fixed compilation

SVN: 21758
parent a9c38c85
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.field.C
import ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.field.ReasonField;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.IMessageProvider;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.WidgetUtils;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.DeletionType;
/**
* {@link AbstractDataConfirmationDialog} abstract implementation for deleting given list of data on
......@@ -176,6 +177,11 @@ public abstract class AbstractDataListDeletionConfirmationDialog<T> extends
return permanentCheckBoxOrNull == null || permanentCheckBoxOrNull.getValue();
}
protected final DeletionType getDeletionType()
{
return isPermanentDeletion() ? DeletionType.PERMANENT : DeletionType.INVALIDATION;
}
/**
* Returns deletion/invalidation callback and shows a progress bar that will be hidden when the
* callback is finished.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment