summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-08-15 10:48:33 (EDT)
committer Manik Kishore2012-08-15 10:48:33 (EDT)
commit2de34891c19a633a3eb9c78c3026fe12fdd214e8 (patch)
treeef3c84caa7d1e193543c4aff20862ff4cd3d7312
parent724c44512045d16787dbc49ab758e5cf48fae320 (diff)
downloadorg.eclipse.stardust.ui.web-2de34891c19a633a3eb9c78c3026fe12fdd214e8.zip
org.eclipse.stardust.ui.web-2de34891c19a633a3eb9c78c3026fe12fdd214e8.tar.gz
org.eclipse.stardust.ui.web-2de34891c19a633a3eb9c78c3026fe12fdd214e8.tar.bz2
CRNT-25760 Refactor/Clean up MB Facade: Removed unused method
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58436 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/DataCommandHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/DataCommandHandler.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/DataCommandHandler.java
index 0f84e9b..b37b6b5 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/DataCommandHandler.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/diagram/node/DataCommandHandler.java
@@ -82,7 +82,8 @@ public class DataCommandHandler
{
if (true)
{
- data = MBFacade.getInstance().createNewPrimitive(model, dataID, dataName);
+ data = MBFacade.getInstance().createPrimitiveData(model, dataID, dataName,
+ ModelerConstants.STRING_PRIMITIVE_DATA_TYPE);
mapper.map(data);
data.setElementOid(++maxOid);
}