Commit 40cd2ab8 authored by Simon Barner's avatar Simon Barner

Ensure that Tasks and Partitions are shown in FX model element library

Issue-Ref: 3939
Issue-Url: https://af3-developer.fortiss.org/issues/3939Signed-off-by: Simon Barner's avatarSimon Barner <barner@fortiss.org>
parent 3e7ab037
PartitionControllerFactory.java 4344a25817d430e2e311354cf87b0753107f9e79 GREEN
PartitionModelFactory.java 3ef78670e39599c365f79c4c12926d1cdbb244dd GREEN
PartitionStructureFXEditor.java 7f3b68fcb866336bf55b7b3dbc0e504dea83ff49 GREEN
PartitionStructureFXEditor.java 698364f7c536de966efe44c80450ba0196b5b140 YELLOW
PartitionStructureFXEditorBinding.java 6456324614722b9c627d6d52e49e588ab51ca56a GREEN
PartitionVisualFactory.java f9bf5e8e98c2ae4c8d1bc8829d2dc1163f972e09 GREEN
......@@ -18,14 +18,11 @@ package org.fortiss.af3.partition.ui.editor.fx;
import static javafx.scene.paint.Color.LIGHTGRAY;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.tooling.common.ui.javafx.lwfxef.DiagramViewerFeatures;
import org.fortiss.af3.partition.model.MemoryArea;
import org.fortiss.af3.partition.model.MemoryAreaInputPort;
import org.fortiss.af3.partition.model.MemoryAreaOutputPort;
import org.fortiss.af3.partition.model.Partition;
import org.fortiss.af3.partition.model.PartitionArchitecture;
import org.fortiss.af3.partition.model.PartitionInputPort;
import org.fortiss.af3.partition.model.PartitionOutputPort;
import org.fortiss.af3.partition.model.PartitionPort;
import org.fortiss.tooling.common.ui.javafx.lwfxef.DiagramViewerFeatures;
import org.fortiss.tooling.kernel.ui.extension.base.LWFXEFEditorBase;
import javafx.geometry.Dimension2D;
......@@ -40,8 +37,8 @@ public class PartitionStructureFXEditor extends LWFXEFEditorBase<PartitionArchit
@SuppressWarnings("unchecked")
@Override
public Class<? extends EObject>[] getVisibleEObjectTypes() {
return new Class[] {Partition.class, PartitionInputPort.class, PartitionOutputPort.class,
MemoryArea.class, MemoryAreaInputPort.class, MemoryAreaOutputPort.class};
return new Class[] {PartitionArchitecture.class, Partition.class, PartitionPort.class,
MemoryArea.class};
}
/** {@inheritDoc} */
......
TaskControllerFactory.java 0848ed11c7540bc33da0f7cc83b6f38ac5967c66 GREEN
TaskModelFactory.java 0cc5667983d0a3a05cfccf2c112c0b9fdd2f2b18 GREEN
TaskStructureFXEditor.java 14fa81e62deb834f2b9c310bf136723049ee6eef GREEN
TaskStructureFXEditor.java 3ef57ad59ab27e8f967a5f228d5344dd77762cc2 YELLOW
TaskStructureFXEditorBinding.java 1e6123038e277d9023cc1fdeec271ee6604f84f6 GREEN
TaskVisualFactory.java 361801eb860ac472bc9284ad7dea52b591b19739 GREEN
......@@ -18,15 +18,10 @@ package org.fortiss.af3.task.ui.editor.fx;
import static javafx.scene.paint.Color.LIGHTGRAY;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.tooling.common.ui.javafx.lwfxef.DiagramViewerFeatures;
import org.fortiss.af3.task.model.Task;
import org.fortiss.af3.task.model.TaskArchitecture;
import org.fortiss.af3.task.model.TaskInputPort;
import org.fortiss.af3.task.model.TaskOutputPort;
import org.fortiss.af3.task.model.TaskQueuingInputPort;
import org.fortiss.af3.task.model.TaskQueuingOutputPort;
import org.fortiss.af3.task.model.TaskSamplingInputPort;
import org.fortiss.af3.task.model.TaskSamplingOutputPort;
import org.fortiss.af3.task.model.TaskPort;
import org.fortiss.tooling.common.ui.javafx.lwfxef.DiagramViewerFeatures;
import org.fortiss.tooling.kernel.ui.extension.base.LWFXEFEditorBase;
import javafx.geometry.Dimension2D;
......@@ -41,9 +36,7 @@ public class TaskStructureFXEditor extends LWFXEFEditorBase<TaskArchitecture> {
@SuppressWarnings("unchecked")
@Override
public Class<? extends EObject>[] getVisibleEObjectTypes() {
return new Class[] {Task.class, TaskInputPort.class, TaskOutputPort.class,
TaskQueuingInputPort.class, TaskQueuingOutputPort.class,
TaskSamplingInputPort.class, TaskSamplingOutputPort.class};
return new Class[] {TaskArchitecture.class, Task.class, TaskPort.class};
}
/** {@inheritDoc} */
......
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