summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2012-08-16 04:53:48 (EDT)
committerManik Kishore2012-08-16 04:53:48 (EDT)
commitf85d906e5a11a1293c5bac378343fa9cdf124b8a (patch)
tree723ef99f02f7b3d83753de5445da0a454098bb9a
parentc2f4cb17616b31b631a8cfacba74c4f0335b3de5 (diff)
downloadorg.eclipse.stardust.ide-f85d906e5a11a1293c5bac378343fa9cdf124b8a.zip
org.eclipse.stardust.ide-f85d906e5a11a1293c5bac378343fa9cdf124b8a.tar.gz
org.eclipse.stardust.ide-f85d906e5a11a1293c5bac378343fa9cdf124b8a.tar.bz2
Jira-ID: CRNT-25692
1)Made changes to delete server data first then remove the UI elements for delete operations. 2)Made change in MBFacade findDataMappingConnectionByModelOid() git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@58444 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/MBFacade.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java
index 3c5ec57..8eb1e32 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/MBFacade.java
@@ -1337,6 +1337,17 @@ public class MBFacade
return dataMappingConnectionType;
}
}
+
+ // TODO Support multiple pools
+
+ for (DataMappingConnectionType dataMappingConnectionType : processDefinition.getDiagram()
+ .get(0).getPoolSymbols().get(0).getDataMappingConnection())
+ {
+ if (dataMappingConnectionType.getElementOid() == oid)
+ {
+ return dataMappingConnectionType;
+ }
+ }
throw new ObjectNotFoundException("Could not find " + oid + ".");
}