summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-08-15 08:50:24 (EDT)
committer Manik Kishore2012-08-15 08:50:24 (EDT)
commit758ff8fcfc324107f2acfd61f1cd00607b8d9938 (patch)
treed8d1b3033a48cf9ca23827d9e9fd733685bdc435
parentad11721c67c901dd3f4679509aa15f1da60571ca (diff)
downloadorg.eclipse.stardust.ui.web-758ff8fcfc324107f2acfd61f1cd00607b8d9938.zip
org.eclipse.stardust.ui.web-758ff8fcfc324107f2acfd61f1cd00607b8d9938.tar.gz
org.eclipse.stardust.ui.web-758ff8fcfc324107f2acfd61f1cd00607b8d9938.tar.bz2
CRNT-25760 Refactor/Clean up MB Facade: Added createApplicationMethod to fascade
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58432 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/model/element/ApplicationTypeChangeCommandHandler.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/model/element/ApplicationTypeChangeCommandHandler.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/model/element/ApplicationTypeChangeCommandHandler.java
index 6526d2e..323909e 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/model/element/ApplicationTypeChangeCommandHandler.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/edit/model/element/ApplicationTypeChangeCommandHandler.java
@@ -38,10 +38,12 @@ public class ApplicationTypeChangeCommandHandler
{
String applicationID = extractString(request, ModelerConstants.ID_PROPERTY);
String applicationName = extractString(request, ModelerConstants.NAME_PROPERTY);
-
- ApplicationType applicationType = MBFacade.getInstance().createApplication(model, applicationID, applicationName, ModelerConstants.WEB_SERVICE_APPLICATION_TYPE_ID);
- //Map newly created application to a UUID
+ ApplicationType applicationType = MBFacade.getInstance().createApplication(model,
+ applicationID, applicationName,
+ ModelerConstants.WEB_SERVICE_APPLICATION_TYPE_ID);
+
+ // Map newly created application to a UUID
EObjectUUIDMapper mapper = modelService().uuidMapper();
mapper.map(applicationType);