From be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 Mon Sep 17 00:00:00 2001 From: Kenji Hosokawa Date: Tue, 3 Aug 2021 18:42:39 +0900 Subject: Initial commit Bug-AGL: SPEC-4033 Signed-off-by: Kenji Hosokawa --- .../src/rba/view/FixedPositionLayout.java | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 rba.model.view/src/rba/view/FixedPositionLayout.java (limited to 'rba.model.view/src/rba/view/FixedPositionLayout.java') diff --git a/rba.model.view/src/rba/view/FixedPositionLayout.java b/rba.model.view/src/rba/view/FixedPositionLayout.java new file mode 100644 index 0000000..a36b7c9 --- /dev/null +++ b/rba.model.view/src/rba/view/FixedPositionLayout.java @@ -0,0 +1,52 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Fixed Position Layout'. + * + * + * + * + * + * + *

+ * The following features are supported: + *

+ * + * + * @see rba.view.RBAViewPackage#getFixedPositionLayout() + * @model + * @generated + */ +public interface FixedPositionLayout extends LayoutManager { + /** + * Returns the value of the 'Sub Area Position' containment reference list. + * The list contents are of type {@link rba.view.PositionContainer}. + * + * + * + * + * + * @return the value of the 'Sub Area Position' containment reference list. + * @see rba.view.RBAViewPackage#getFixedPositionLayout_SubAreaPosition() + * @model containment="true" + * @generated + */ + EList getSubAreaPosition(); + + /** + * + * + * @model ordered="false" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set<Area> areas = new java.util.HashSet<Area>();\r\nfor (PositionContainer pc : getSubAreaPosition()) {\r\n areas.addAll(pc.getArea().collectLeafAllocatable().stream().map(allocatable -> (Area) allocatable).collect(java.util.stream.Collectors.toList()));\r\n}\r\nreturn new org.eclipse.emf.common.util.BasicEList<Area>(areas);'" + * @generated + */ + EList collectLeafArea(); + +} // FixedPositionLayout -- cgit 1.2.3-korg