From 61bcc29c07f6a80a9fab32ef6ba0f4339f504694 Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Tue, 21 Jun 2011 08:26:01 +0000
Subject: [PATCH] [LMS-2209] missing commit - fixed compilation

SVN: 21758
---
 .../widget/AbstractDataListDeletionConfirmationDialog.java  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/widget/AbstractDataListDeletionConfirmationDialog.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/widget/AbstractDataListDeletionConfirmationDialog.java
index 25046f8926b..c19986e97aa 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/widget/AbstractDataListDeletionConfirmationDialog.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/widget/AbstractDataListDeletionConfirmationDialog.java
@@ -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.
-- 
GitLab