From 6f357c1ce4adb06240c25a523cb888052688862c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20D=C3=B6bber?= <doebber@in.tum.de>
Date: Wed, 31 Aug 2011 23:59:55 +0000
Subject: [PATCH] implemented deployment

---
 .../base/decompose/HierarchicElementCompositorBase.java        | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/org.fortiss.tooling.base/trunk/src/org/fortiss/tooling/base/decompose/HierarchicElementCompositorBase.java b/org.fortiss.tooling.base/trunk/src/org/fortiss/tooling/base/decompose/HierarchicElementCompositorBase.java
index 78b691d1a..60337769e 100644
--- a/org.fortiss.tooling.base/trunk/src/org/fortiss/tooling/base/decompose/HierarchicElementCompositorBase.java
+++ b/org.fortiss.tooling.base/trunk/src/org/fortiss/tooling/base/decompose/HierarchicElementCompositorBase.java
@@ -312,6 +312,9 @@ public abstract class HierarchicElementCompositorBase<HE extends IHierarchicElem
 
 	protected boolean decomposeSpecification(IModelElementSpecification element) {
 		System.out.println("specification: " + element + " ### " + this);
+		if (IElementCompositorService.INSTANCE.canDecompose(element)) {
+			return IElementCompositorService.INSTANCE.decompose(element);
+		}
 		EcoreUtil.delete(element);
 		return true;
 	}
-- 
GitLab