diff options
author | 2021-08-03 18:42:39 +0900 | |
---|---|---|
committer | 2021-08-06 19:32:38 +0900 | |
commit | be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch) | |
tree | 1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.model.view/src/rba/view/FixedPositionLayout.java | |
parent | 71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff) |
Initial commit
Bug-AGL: SPEC-4033
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.model.view/src/rba/view/FixedPositionLayout.java')
-rw-r--r-- | rba.model.view/src/rba/view/FixedPositionLayout.java | 52 |
1 files changed, 52 insertions, 0 deletions
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; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Fixed Position Layout</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.FixedPositionLayout#getSubAreaPosition <em>Sub Area Position</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getFixedPositionLayout() + * @model + * @generated + */ +public interface FixedPositionLayout extends LayoutManager { + /** + * Returns the value of the '<em><b>Sub Area Position</b></em>' containment reference list. + * The list contents are of type {@link rba.view.PositionContainer}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Sub Area Position</em>' containment reference list. + * @see rba.view.RBAViewPackage#getFixedPositionLayout_SubAreaPosition() + * @model containment="true" + * @generated + */ + EList<PositionContainer> getSubAreaPosition(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @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<Area> collectLeafArea(); + +} // FixedPositionLayout |