/** */ package rba.view; import org.eclipse.emf.common.util.EList; /** * * A representation of the model object 'Aligned Layout'. * * * * * * *

* The following features are supported: *

* * * @see rba.view.RBAViewPackage#getAlignedLayout() * @model abstract="true" * @generated */ public interface AlignedLayout extends LayoutManager { /** * Returns the value of the 'Subarea' reference list. * The list contents are of type {@link rba.view.Area}. * * * * * * @return the value of the 'Subarea' reference list. * @see rba.view.RBAViewPackage#getAlignedLayout_Subarea() * @model * @generated */ EList getSubarea(); /** * Returns the value of the 'Base Point' attribute. * The literals are from the enumeration {@link rba.view.BasePoint}. * * * * * * @return the value of the 'Base Point' attribute. * @see rba.view.BasePoint * @see #setBasePoint(BasePoint) * @see rba.view.RBAViewPackage#getAlignedLayout_BasePoint() * @model * @generated */ BasePoint getBasePoint(); /** * Sets the value of the '{@link rba.view.AlignedLayout#getBasePoint Base Point}' attribute. * * * @param value the new value of the 'Base Point' attribute. * @see rba.view.BasePoint * @see #getBasePoint() * @generated */ void setBasePoint(BasePoint value); /** * * * @model ordered="false" * annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set<Area> areas = new java.util.HashSet<Area>();\r\nfor (Area area : getSubarea()) {\r\n areas.addAll(area.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(); } // AlignedLayout