summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-08-29 10:15:10 (EDT)
committerStephan Born2012-09-10 08:46:43 (EDT)
commit6f7072e6626df283619176584065d0c186729843 (patch)
tree7854acb6eea51e469d9b19ba65f79e578d4f4e71
parent8cc6a62219c418bb47d94874a2bfaabf29cb1e9f (diff)
downloadorg.eclipse.stardust.ide-6f7072e6626df283619176584065d0c186729843.zip
org.eclipse.stardust.ide-6f7072e6626df283619176584065d0c186729843.tar.gz
org.eclipse.stardust.ide-6f7072e6626df283619176584065d0c186729843.tar.bz2
CRNT-25991 Pepper: Drag and Drop of data removes dragged data from source model
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@58776 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
index 1af8aa7..695b355 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
@@ -12,6 +12,7 @@ package org.eclipse.stardust.model.xpdl.builder.utils;
import static org.eclipse.stardust.engine.api.model.PredefinedConstants.ADMINISTRATOR_ROLE;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newApplicationActivity;
+import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newConditionalPerformer;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newDocumentVariable;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newManualActivity;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newManualTrigger;
@@ -19,7 +20,6 @@ import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newOrganiz
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newPrimitiveVariable;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newProcessDefinition;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newRole;
-import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newConditionalPerformer;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newRouteActivity;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newStructVariable;
import static org.eclipse.stardust.model.xpdl.builder.BpmModelBuilder.newSubProcessActivity;
@@ -504,6 +504,8 @@ public class ModelBuilderFacade
descriptor.importElements(iconFactory, model, true);
+ //Workaround for CRNT-25991 - should be removed when this ticket is resolved
+ modelManagementStrategy.attachModel(dataModel.getId());
}
return data;
}