summaryrefslogtreecommitdiffstats
path: root/rba.model.view/src/rba/view/FixedPositionLayout.java
blob: a36b7c94669902af78f09c999639e6b3d898cf44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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&lt;Area&gt; areas = new java.util.HashSet&lt;Area&gt;();\r\nfor (PositionContainer pc : getSubAreaPosition()) {\r\n    areas.addAll(pc.getArea().collectLeafAllocatable().stream().map(allocatable -&gt; (Area) allocatable).collect(java.util.stream.Collectors.toList()));\r\n}\r\nreturn new org.eclipse.emf.common.util.BasicEList&lt;Area&gt;(areas);'"
	 * @generated
	 */
	EList<Area> collectLeafArea();

} // FixedPositionLayout