Commit 48de4a47 authored by Simon Barner's avatar Simon Barner

Add Tasks, Partitions, and MemoryAreas to acutal drag-and-drop location

* Add missing layoutModelElement(contained, context) call

Issue-Ref: 3939
Issue-Url: https://af3-developer.fortiss.org/issues/3939Signed-off-by: Simon Barner's avatarSimon Barner <barner@fortiss.org>
parent 40cd2ab8
......@@ -2,7 +2,7 @@ ComponentToPartitionAllocationTableCollectionCompositor.java 9898197cab2b19dc6cf
MemoryAreaAllocationTableCompositor.java 22e95b2ed2b5f7d29559eb49327a25f6f507a27a GREEN
MemoryAreaConnectionCompositor.java 8889c5571b59cb46fd47b9176fb89b3feaa6312b GREEN
MemoryAreaPortCompositor.java b42181178c62365d6d42d9a9b4a467b66201bb55 GREEN
PartitionArchitectureCompositor.java 131fff07f8678d712fc35dc41832c5eb64aac6fb GREEN
PartitionArchitectureCompositor.java f14a6287816e7e4735db9e708d72a288b682c143 YELLOW
PartitionArchitectureFileProjectCompositor.java e3b4479fabbb7eba3cb269bede656c921d4a0f8a GREEN
PartitionConnectionCompositor.java 49f3f3e4423d67db1adf3997750fd6cd868529cb GREEN
PartitionPortCompositor.java 57dccb06b1f1b58617bab6f7d57dd9438b02a510 GREEN
......
......@@ -16,6 +16,7 @@
package org.fortiss.af3.partition.compositor;
import static org.conqat.lib.commons.reflect.ReflectionUtils.isInstanceOfAny;
import static org.fortiss.tooling.base.utils.LayoutDataUtils.layoutModelElement;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.partition.model.MemoryArea;
......@@ -66,6 +67,8 @@ public class PartitionArchitectureCompositor
public boolean compose(PartitionArchitecture container, EObject contained,
IElementCompositionContext context) {
super.compose(container, contained, context);
layoutModelElement(contained, context);
container.getContainedElements().add((IHierarchicElement)contained);
return true;
}
......
ComponentToTaskAllocationTableCollectionCompositor.java 51da3aa04db6be4be3b361ec8d205cc4406d9a83 GREEN
TaskArchitectureFileProjectCompositor.java 4cb93345e2dd218227e01f642a53411bf11bd8d2 GREEN
TaskCompositor.java 475e91ebd9de97dc4a97035a19b52a5d106a5fd3 GREEN
TaskCompositor.java 9b0b051c0131aa97008f85fbf37db00f167a9b49 YELLOW
TaskConnectionCompositor.java 40e0ea78a8945f092a3cb858f87204b32ec32adc GREEN
TaskMemoryAllocationTableCompositor.java af810b0837069094bf71653f7e4a5d4a5d5ad820 GREEN
TaskPortCompositor.java 131ba8206e66bf5dd2f8979cf4bd19284974a345 GREEN
......
......@@ -15,6 +15,8 @@
+--------------------------------------------------------------------------*/
package org.fortiss.af3.task.compositor;
import static org.fortiss.tooling.base.utils.LayoutDataUtils.layoutModelElement;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.task.model.Task;
import org.fortiss.af3.task.model.TaskArchitecture;
......@@ -54,6 +56,7 @@ public class TaskCompositor extends HierarchicElementCompositorBase<TaskArchitec
IElementCompositionContext context) {
super.compose(container, contained, context);
layoutModelElement(contained, context);
container.getContainedElements().add((Task)contained);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment