summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Mishra2012-03-28 08:58:07 (EDT)
committer Manik Kishore2012-06-19 07:24:17 (EDT)
commitbd83ae277a5938770ec255f9859529a68749a46e (patch)
tree45c0703e72c84432a494e6808246671be20e8609
parent6207794b3f7279d0edc96fc86cb35bd7145340ee (diff)
downloadorg.eclipse.stardust.ui.web-bd83ae277a5938770ec255f9859529a68749a46e.zip
org.eclipse.stardust.ui.web-bd83ae277a5938770ec255f9859529a68749a46e.tar.gz
org.eclipse.stardust.ui.web-bd83ae277a5938770ec255f9859529a68749a46e.tar.bz2
Jira-ID: CRNT-24095
modified message to : "Operation not supported for Cases" for Case Activity abort. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@55035 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/AbortActivityBean.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/AbortActivityBean.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/AbortActivityBean.java
index ae3db89..1cbf25a 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/AbortActivityBean.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/dialogs/AbortActivityBean.java
@@ -196,7 +196,12 @@ public class AbortActivityBean extends PopupUIComponentBean
}
else
{
- if (ActivityInstanceState.Aborted.equals(activityInstance.getState())
+ if(ActivityInstanceUtils.isDefaultCaseActivity(activityInstance))
+ {
+ skippedActivities.put(activityInstance, MessagesViewsCommonBean.getInstance().getParamString(
+ "views.switchProcessDialog.caseAbort.message"));
+ }
+ else if (ActivityInstanceState.Aborted.equals(activityInstance.getState())
|| ActivityInstanceState.Completed.equals(activityInstance.getState()))
{
skippedActivities.put(activityInstance, MessagesViewsCommonBean.getInstance().getParamString(