diff options
Diffstat (limited to 'rba.model.view/src')
65 files changed, 14296 insertions, 0 deletions
diff --git a/rba.model.view/src/rba/view/AlignedLayout.java b/rba.model.view/src/rba/view/AlignedLayout.java new file mode 100644 index 0000000..2c5d5ce --- /dev/null +++ b/rba.model.view/src/rba/view/AlignedLayout.java @@ -0,0 +1,81 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Aligned Layout</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.AlignedLayout#getSubarea <em>Subarea</em>}</li> + * <li>{@link rba.view.AlignedLayout#getBasePoint <em>Base Point</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getAlignedLayout() + * @model abstract="true" + * @generated + */ +public interface AlignedLayout extends LayoutManager { + /** + * Returns the value of the '<em><b>Subarea</b></em>' reference list. + * The list contents are of type {@link rba.view.Area}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Subarea</em>' reference list. + * @see rba.view.RBAViewPackage#getAlignedLayout_Subarea() + * @model + * @generated + */ + EList<Area> getSubarea(); + + /** + * Returns the value of the '<em><b>Base Point</b></em>' attribute. + * The literals are from the enumeration {@link rba.view.BasePoint}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Base Point</em>' 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 <em>Base Point</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Point</em>' attribute. + * @see rba.view.BasePoint + * @see #getBasePoint() + * @generated + */ + void setBasePoint(BasePoint value); + + /** + * <!-- 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 (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<Area> collectLeafArea(); + +} // AlignedLayout diff --git a/rba.model.view/src/rba/view/AllInstanceOfArea.java b/rba.model.view/src/rba/view/AllInstanceOfArea.java new file mode 100644 index 0000000..8074118 --- /dev/null +++ b/rba.model.view/src/rba/view/AllInstanceOfArea.java @@ -0,0 +1,47 @@ +/** + */ +package rba.view; + +import rba.core.ExpressionType; +import rba.core.SetExpression; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>All Instance Of Area</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getAllInstanceOfArea() + * @model + * @generated + */ +public interface AllInstanceOfArea extends SetExpression { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \"AREA\";'" + * @generated + */ + String getExpressionText(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.SET_OF_AREA;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // AllInstanceOfArea diff --git a/rba.model.view/src/rba/view/AllInstanceOfViewContent.java b/rba.model.view/src/rba/view/AllInstanceOfViewContent.java new file mode 100644 index 0000000..8eb093e --- /dev/null +++ b/rba.model.view/src/rba/view/AllInstanceOfViewContent.java @@ -0,0 +1,47 @@ +/** + */ +package rba.view; + +import rba.core.ExpressionType; +import rba.core.SetExpression; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>All Instance Of View Content</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getAllInstanceOfViewContent() + * @model + * @generated + */ +public interface AllInstanceOfViewContent extends SetExpression { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \"ALL_VIEWCONTENTS\";'" + * @generated + */ + String getExpressionText(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.SET_OF_CONTENT;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // AllInstanceOfViewContent diff --git a/rba.model.view/src/rba/view/Area.java b/rba.model.view/src/rba/view/Area.java new file mode 100644 index 0000000..18f4532 --- /dev/null +++ b/rba.model.view/src/rba/view/Area.java @@ -0,0 +1,85 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.common.util.EList; + +import rba.core.Allocatable; +import rba.core.Expression; +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Area</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.Area#getZorder <em>Zorder</em>}</li> + * <li>{@link rba.view.Area#getSize <em>Size</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getArea() + * @model + * @generated + */ +public interface Area extends Allocatable { + /** + * Returns the value of the '<em><b>Zorder</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Zorder</em>' containment reference. + * @see #setZorder(Expression) + * @see rba.view.RBAViewPackage#getArea_Zorder() + * @model containment="true" + * @generated + */ + Expression getZorder(); + + /** + * Sets the value of the '{@link rba.view.Area#getZorder <em>Zorder</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Zorder</em>' containment reference. + * @see #getZorder() + * @generated + */ + void setZorder(Expression value); + + /** + * Returns the value of the '<em><b>Size</b></em>' containment reference list. + * The list contents are of type {@link rba.view.SizeIdentifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Size</em>' containment reference list. + * @see rba.view.RBAViewPackage#getArea_Size() + * @model containment="true" + * @generated + */ + EList<SizeIdentifier> getSize(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.AREA;'" + * @generated + */ + ExpressionType getExpressionType(); + +} // Area diff --git a/rba.model.view/src/rba/view/AreaOperator.java b/rba.model.view/src/rba/view/AreaOperator.java new file mode 100644 index 0000000..b627ba2 --- /dev/null +++ b/rba.model.view/src/rba/view/AreaOperator.java @@ -0,0 +1,22 @@ +/** + */ +package rba.view; + +import rba.core.AllocatableOperator; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Area Operator</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getAreaOperator() + * @model abstract="true" + * @generated + */ +public interface AreaOperator extends AllocatableOperator { +} // AreaOperator diff --git a/rba.model.view/src/rba/view/AreaSet.java b/rba.model.view/src/rba/view/AreaSet.java new file mode 100644 index 0000000..cff465e --- /dev/null +++ b/rba.model.view/src/rba/view/AreaSet.java @@ -0,0 +1,35 @@ +/** + */ +package rba.view; + +import rba.core.AllocatableSet; +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Area Set</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getAreaSet() + * @model + * @generated + */ +public interface AreaSet extends AllocatableSet { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.SET_OF_AREA;'" + * @generated + */ + ExpressionType getExpressionType(); + +} // AreaSet diff --git a/rba.model.view/src/rba/view/BasePoint.java b/rba.model.view/src/rba/view/BasePoint.java new file mode 100644 index 0000000..e57c829 --- /dev/null +++ b/rba.model.view/src/rba/view/BasePoint.java @@ -0,0 +1,405 @@ +/** + */ +package rba.view; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Base Point</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @see rba.view.RBAViewPackage#getBasePoint() + * @model + * @generated + */ +public enum BasePoint implements Enumerator { + /** + * The '<em><b>LEFT TOP</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #LEFT_TOP_VALUE + * @generated + * @ordered + */ + LEFT_TOP(0, "LEFT_TOP", "LEFT_TOP"), + + /** + * The '<em><b>LEFT MIDDLE</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #LEFT_MIDDLE_VALUE + * @generated + * @ordered + */ + LEFT_MIDDLE(1, "LEFT_MIDDLE", "LEFT_MIDDLE"), + + /** + * The '<em><b>LEFT BOTTOM</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #LEFT_BOTTOM_VALUE + * @generated + * @ordered + */ + LEFT_BOTTOM(2, "LEFT_BOTTOM", "LEFT_BOTTOM"), + + /** + * The '<em><b>RIGHT TOP</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #RIGHT_TOP_VALUE + * @generated + * @ordered + */ + RIGHT_TOP(3, "RIGHT_TOP", "RIGHT_TOP"), + + /** + * The '<em><b>RIGHT MIDDLE</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #RIGHT_MIDDLE_VALUE + * @generated + * @ordered + */ + RIGHT_MIDDLE(4, "RIGHT_MIDDLE", "RIGHT_MIDDLE"), + + /** + * The '<em><b>RIGHT BOTTOM</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #RIGHT_BOTTOM_VALUE + * @generated + * @ordered + */ + RIGHT_BOTTOM(5, "RIGHT_BOTTOM", "RIGHT_BOTTOM"), + + /** + * The '<em><b>CENTER TOP</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #CENTER_TOP_VALUE + * @generated + * @ordered + */ + CENTER_TOP(6, "CENTER_TOP", "CENTER_TOP"), + + /** + * The '<em><b>CENTER MIDDLE</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #CENTER_MIDDLE_VALUE + * @generated + * @ordered + */ + CENTER_MIDDLE(7, "CENTER_MIDDLE", "CENTER_MIDDLE"), + + /** + * The '<em><b>CENTER BOTTOM</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #CENTER_BOTTOM_VALUE + * @generated + * @ordered + */ + CENTER_BOTTOM(8, "CENTER_BOTTOM", "CENTER_BOTTOM"); + + /** + * The '<em><b>LEFT TOP</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>LEFT TOP</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #LEFT_TOP + * @model + * @generated + * @ordered + */ + public static final int LEFT_TOP_VALUE = 0; + + /** + * The '<em><b>LEFT MIDDLE</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>LEFT MIDDLE</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #LEFT_MIDDLE + * @model + * @generated + * @ordered + */ + public static final int LEFT_MIDDLE_VALUE = 1; + + /** + * The '<em><b>LEFT BOTTOM</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>LEFT BOTTOM</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #LEFT_BOTTOM + * @model + * @generated + * @ordered + */ + public static final int LEFT_BOTTOM_VALUE = 2; + + /** + * The '<em><b>RIGHT TOP</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>RIGHT TOP</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #RIGHT_TOP + * @model + * @generated + * @ordered + */ + public static final int RIGHT_TOP_VALUE = 3; + + /** + * The '<em><b>RIGHT MIDDLE</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>RIGHT MIDDLE</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #RIGHT_MIDDLE + * @model + * @generated + * @ordered + */ + public static final int RIGHT_MIDDLE_VALUE = 4; + + /** + * The '<em><b>RIGHT BOTTOM</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>RIGHT BOTTOM</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #RIGHT_BOTTOM + * @model + * @generated + * @ordered + */ + public static final int RIGHT_BOTTOM_VALUE = 5; + + /** + * The '<em><b>CENTER TOP</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>CENTER TOP</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #CENTER_TOP + * @model + * @generated + * @ordered + */ + public static final int CENTER_TOP_VALUE = 6; + + /** + * The '<em><b>CENTER MIDDLE</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>CENTER MIDDLE</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #CENTER_MIDDLE + * @model + * @generated + * @ordered + */ + public static final int CENTER_MIDDLE_VALUE = 7; + + /** + * The '<em><b>CENTER BOTTOM</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>CENTER BOTTOM</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #CENTER_BOTTOM + * @model + * @generated + * @ordered + */ + public static final int CENTER_BOTTOM_VALUE = 8; + + /** + * An array of all the '<em><b>Base Point</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final BasePoint[] VALUES_ARRAY = new BasePoint[] { LEFT_TOP, LEFT_MIDDLE, LEFT_BOTTOM, RIGHT_TOP, + RIGHT_MIDDLE, RIGHT_BOTTOM, CENTER_TOP, CENTER_MIDDLE, CENTER_BOTTOM, }; + + /** + * A public read-only list of all the '<em><b>Base Point</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<BasePoint> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Base Point</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param literal the literal. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static BasePoint get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + BasePoint result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Base Point</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name the name. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static BasePoint getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + BasePoint result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Base Point</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the integer value. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static BasePoint get(int value) { + switch (value) { + case LEFT_TOP_VALUE: + return LEFT_TOP; + case LEFT_MIDDLE_VALUE: + return LEFT_MIDDLE; + case LEFT_BOTTOM_VALUE: + return LEFT_BOTTOM; + case RIGHT_TOP_VALUE: + return RIGHT_TOP; + case RIGHT_MIDDLE_VALUE: + return RIGHT_MIDDLE; + case RIGHT_BOTTOM_VALUE: + return RIGHT_BOTTOM; + case CENTER_TOP_VALUE: + return CENTER_TOP; + case CENTER_MIDDLE_VALUE: + return CENTER_MIDDLE; + case CENTER_BOTTOM_VALUE: + return CENTER_BOTTOM; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private BasePoint(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //BasePoint diff --git a/rba.model.view/src/rba/view/CompositeArea.java b/rba.model.view/src/rba/view/CompositeArea.java new file mode 100644 index 0000000..5c1a10a --- /dev/null +++ b/rba.model.view/src/rba/view/CompositeArea.java @@ -0,0 +1,80 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.common.util.EList; + +import rba.core.ExpressionType; +import rba.core.PackagableElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Composite Area</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.CompositeArea#getLayout <em>Layout</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getCompositeArea() + * @model + * @generated + */ +public interface CompositeArea extends PackagableElement { + /** + * Returns the value of the '<em><b>Layout</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Layout</em>' containment reference. + * @see #setLayout(LayoutManager) + * @see rba.view.RBAViewPackage#getCompositeArea_Layout() + * @model containment="true" + * @generated + */ + LayoutManager getLayout(); + + /** + * Sets the value of the '{@link rba.view.CompositeArea#getLayout <em>Layout</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Layout</em>' containment reference. + * @see #getLayout() + * @generated + */ + void setLayout(LayoutManager value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model ordered="false" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='java.util.Set<Area> areas = new java.util.HashSet<Area>();\r\nif (layout != null) {\r\n areas.addAll(layout.collectLeafArea());\r\n}\r\n\r\nreturn new org.eclipse.emf.common.util.BasicEList<Area>(areas);'" + * @generated + */ + EList<Area> collectLeafArea(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.AREA;'" + * @generated + */ + ExpressionType getExpressionType(); + +} // CompositeArea diff --git a/rba.model.view/src/rba/view/Display.java b/rba.model.view/src/rba/view/Display.java new file mode 100644 index 0000000..cb4ffbe --- /dev/null +++ b/rba.model.view/src/rba/view/Display.java @@ -0,0 +1,79 @@ +/** + */ +package rba.view; + +import rba.core.PackagableElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Display</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.Display#getRoot <em>Root</em>}</li> + * <li>{@link rba.view.Display#getSize <em>Size</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getDisplay() + * @model + * @generated + */ +public interface Display extends PackagableElement { + /** + * Returns the value of the '<em><b>Root</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Root</em>' containment reference. + * @see #setRoot(CompositeArea) + * @see rba.view.RBAViewPackage#getDisplay_Root() + * @model containment="true" + * @generated + */ + CompositeArea getRoot(); + + /** + * Sets the value of the '{@link rba.view.Display#getRoot <em>Root</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Root</em>' containment reference. + * @see #getRoot() + * @generated + */ + void setRoot(CompositeArea value); + + /** + * Returns the value of the '<em><b>Size</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Size</em>' containment reference. + * @see #setSize(SizeIdentifier) + * @see rba.view.RBAViewPackage#getDisplay_Size() + * @model containment="true" required="true" + * @generated + */ + SizeIdentifier getSize(); + + /** + * Sets the value of the '{@link rba.view.Display#getSize <em>Size</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Size</em>' containment reference. + * @see #getSize() + * @generated + */ + void setSize(SizeIdentifier value); + +} // Display diff --git a/rba.model.view/src/rba/view/DisplayingContent.java b/rba.model.view/src/rba/view/DisplayingContent.java new file mode 100644 index 0000000..92268c3 --- /dev/null +++ b/rba.model.view/src/rba/view/DisplayingContent.java @@ -0,0 +1,46 @@ +/** + */ +package rba.view; + +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Displaying Content</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getDisplayingContent() + * @model + * @generated + */ +public interface DisplayingContent extends AreaOperator { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".displayingContent()\";'" + * @generated + */ + String getSymbol(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.CONTENT;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // DisplayingContent 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 diff --git a/rba.model.view/src/rba/view/HideLowerPriority.java b/rba.model.view/src/rba/view/HideLowerPriority.java new file mode 100644 index 0000000..af57f7f --- /dev/null +++ b/rba.model.view/src/rba/view/HideLowerPriority.java @@ -0,0 +1,47 @@ +/**
+ */
+package rba.view;
+
+import rba.core.ExpressionType;
+import rba.core.Operator;
+import rba.core.SugarExpressionBase;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Hide Lower Priority</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see rba.view.RBAViewPackage#getHideLowerPriority()
+ * @model
+ * @generated
+ */
+public interface HideLowerPriority extends Operator, SugarExpressionBase {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \"HideLowerPriority\";'"
+ * @generated
+ */
+ String getSymbol();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.BOOLEAN;'"
+ * @generated
+ */
+ ExpressionType getUnderlyingType();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='StringBuilder expressionText = new StringBuilder();\r\nEList<rba.core.Expression> expressions = getOperand();\r\nexpressionText.append(getSymbol());\r\nexpressionText.append(\"(\");\r\nexpressionText.append(expressions.size() > 0 ? expressions.get(0).getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(\",\");\r\nexpressionText.append(expressions.size() > 1 ? expressions.get(1).getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(\")\");\r\nreturn expressionText.toString();'"
+ * @generated
+ */
+ String getExpressionText();
+
+} // HideLowerPriority
diff --git a/rba.model.view/src/rba/view/HorizontalLayout.java b/rba.model.view/src/rba/view/HorizontalLayout.java new file mode 100644 index 0000000..b434aea --- /dev/null +++ b/rba.model.view/src/rba/view/HorizontalLayout.java @@ -0,0 +1,20 @@ +/** + */ +package rba.view; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Horizontal Layout</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getHorizontalLayout() + * @model + * @generated + */ +public interface HorizontalLayout extends AlignedLayout { +} // HorizontalLayout diff --git a/rba.model.view/src/rba/view/IsChangedDisplay.java b/rba.model.view/src/rba/view/IsChangedDisplay.java new file mode 100644 index 0000000..9063c8c --- /dev/null +++ b/rba.model.view/src/rba/view/IsChangedDisplay.java @@ -0,0 +1,37 @@ +/**
+ */
+package rba.view;
+
+import rba.core.ExpressionType;
+import rba.core.SugarExpressionBase;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Is Changed Display</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see rba.view.RBAViewPackage#getIsChangedDisplay()
+ * @model
+ * @generated
+ */
+public interface IsChangedDisplay extends AreaOperator, SugarExpressionBase {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".isChangedDisplay()\";'"
+ * @generated
+ */
+ String getSymbol();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.BOOLEAN;'"
+ * @generated
+ */
+ ExpressionType getUnderlyingType();
+
+} // IsChangedDisplay
diff --git a/rba.model.view/src/rba/view/IsDisplayed.java b/rba.model.view/src/rba/view/IsDisplayed.java new file mode 100644 index 0000000..6eb1220 --- /dev/null +++ b/rba.model.view/src/rba/view/IsDisplayed.java @@ -0,0 +1,46 @@ +/** + */ +package rba.view; + +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Is Displayed</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getIsDisplayed() + * @model + * @generated + */ +public interface IsDisplayed extends AreaOperator { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".isDisplayed()\";'" + * @generated + */ + String getSymbol(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.BOOLEAN;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // IsDisplayed diff --git a/rba.model.view/src/rba/view/IsDisplayedOn.java b/rba.model.view/src/rba/view/IsDisplayedOn.java new file mode 100644 index 0000000..afd36d5 --- /dev/null +++ b/rba.model.view/src/rba/view/IsDisplayedOn.java @@ -0,0 +1,46 @@ +/**
+ */
+package rba.view;
+
+import rba.core.ExpressionType;
+import rba.core.SugarExpressionBase;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Is Displayed On</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see rba.view.RBAViewPackage#getIsDisplayedOn()
+ * @model
+ * @generated
+ */
+public interface IsDisplayedOn extends ViewContentOperator, SugarExpressionBase {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".isDisplayedOn\";'"
+ * @generated
+ */
+ String getSymbol();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.BOOLEAN;'"
+ * @generated
+ */
+ ExpressionType getUnderlyingType();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='StringBuilder expressionText = new StringBuilder();\r\nEList<rba.core.Expression> expressions = getOperand();\r\nexpressionText.append(expressions.size() > 0 ? expressions.get(0).getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(getSymbol());\r\nexpressionText.append(\"(\");\r\nexpressionText.append(expressions.size() > 1 ? expressions.get(1).getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(\")\");\r\nreturn expressionText.toString();'"
+ * @generated
+ */
+ String getExpressionText();
+
+} // IsDisplayedOn
diff --git a/rba.model.view/src/rba/view/IsHidden.java b/rba.model.view/src/rba/view/IsHidden.java new file mode 100644 index 0000000..c6c2573 --- /dev/null +++ b/rba.model.view/src/rba/view/IsHidden.java @@ -0,0 +1,46 @@ +/** + */ +package rba.view; + +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Is Hidden</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getIsHidden() + * @model + * @generated + */ +public interface IsHidden extends AreaOperator { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".isHidden()\";'" + * @generated + */ + String getSymbol(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.BOOLEAN;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // IsHidden diff --git a/rba.model.view/src/rba/view/IsTranslatedViewTo.java b/rba.model.view/src/rba/view/IsTranslatedViewTo.java new file mode 100644 index 0000000..175605d --- /dev/null +++ b/rba.model.view/src/rba/view/IsTranslatedViewTo.java @@ -0,0 +1,46 @@ +/**
+ */
+package rba.view;
+
+import rba.core.ExpressionType;
+import rba.core.SugarExpressionBase;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Is Translated View To</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see rba.view.RBAViewPackage#getIsTranslatedViewTo()
+ * @model
+ * @generated
+ */
+public interface IsTranslatedViewTo extends AreaOperator, SugarExpressionBase {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".isTranslatedViewTo\";'"
+ * @generated
+ */
+ String getSymbol();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.BOOLEAN;'"
+ * @generated
+ */
+ ExpressionType getUnderlyingType();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='StringBuilder expressionText = new StringBuilder();\r\nEList<rba.core.Expression> expressions = getOperand();\r\nexpressionText.append(expressions.size() > 0 ? expressions.get(0).getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(getSymbol());\r\nexpressionText.append(\"(\");\r\nexpressionText.append(expressions.size() > 1 ? expressions.get(1).getExpressionText() : \"[Invalid_Expression]\");\r\nexpressionText.append(\")\");\r\nreturn expressionText.toString();'"
+ * @generated
+ */
+ String getExpressionText();
+
+} // IsTranslatedViewTo
diff --git a/rba.model.view/src/rba/view/IsVisible.java b/rba.model.view/src/rba/view/IsVisible.java new file mode 100644 index 0000000..65a3724 --- /dev/null +++ b/rba.model.view/src/rba/view/IsVisible.java @@ -0,0 +1,32 @@ +/** + */ +package rba.view; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Is Visible</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getIsVisible() + * @model + * @generated + */ +public interface IsVisible extends ViewContentOperator { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return \".isVisible()\";'" + * @generated + */ + String getSymbol(); + +} // IsVisible diff --git a/rba.model.view/src/rba/view/LayoutManager.java b/rba.model.view/src/rba/view/LayoutManager.java new file mode 100644 index 0000000..0e41fb3 --- /dev/null +++ b/rba.model.view/src/rba/view/LayoutManager.java @@ -0,0 +1,35 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Layout Manager</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getLayoutManager() + * @model abstract="true" + * @generated + */ +public interface LayoutManager extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @model ordered="false" + * @generated + */ + EList<Area> collectLeafArea(); + +} // LayoutManager diff --git a/rba.model.view/src/rba/view/Offset.java b/rba.model.view/src/rba/view/Offset.java new file mode 100644 index 0000000..d46b1c7 --- /dev/null +++ b/rba.model.view/src/rba/view/Offset.java @@ -0,0 +1,159 @@ +/** + */ +package rba.view; + +import rba.core.PackagableElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Offset</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.Offset#getX <em>X</em>}</li> + * <li>{@link rba.view.Offset#getY <em>Y</em>}</li> + * <li>{@link rba.view.Offset#getSize <em>Size</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getOffset() + * @model + * @generated + */ +public interface Offset extends PackagableElement { + /** + * Returns the value of the '<em><b>X</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>X</em>' attribute. + * @see #isSetX() + * @see #unsetX() + * @see #setX(int) + * @see rba.view.RBAViewPackage#getOffset_X() + * @model unsettable="true" required="true" + * @generated + */ + int getX(); + + /** + * Sets the value of the '{@link rba.view.Offset#getX <em>X</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>X</em>' attribute. + * @see #isSetX() + * @see #unsetX() + * @see #getX() + * @generated + */ + void setX(int value); + + /** + * Unsets the value of the '{@link rba.view.Offset#getX <em>X</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetX() + * @see #getX() + * @see #setX(int) + * @generated + */ + void unsetX(); + + /** + * Returns whether the value of the '{@link rba.view.Offset#getX <em>X</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>X</em>' attribute is set. + * @see #unsetX() + * @see #getX() + * @see #setX(int) + * @generated + */ + boolean isSetX(); + + /** + * Returns the value of the '<em><b>Y</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Y</em>' attribute. + * @see #isSetY() + * @see #unsetY() + * @see #setY(int) + * @see rba.view.RBAViewPackage#getOffset_Y() + * @model unsettable="true" required="true" + * @generated + */ + int getY(); + + /** + * Sets the value of the '{@link rba.view.Offset#getY <em>Y</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Y</em>' attribute. + * @see #isSetY() + * @see #unsetY() + * @see #getY() + * @generated + */ + void setY(int value); + + /** + * Unsets the value of the '{@link rba.view.Offset#getY <em>Y</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetY() + * @see #getY() + * @see #setY(int) + * @generated + */ + void unsetY(); + + /** + * Returns whether the value of the '{@link rba.view.Offset#getY <em>Y</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Y</em>' attribute is set. + * @see #unsetY() + * @see #getY() + * @see #setY(int) + * @generated + */ + boolean isSetY(); + + /** + * Returns the value of the '<em><b>Size</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Size</em>' containment reference. + * @see #setSize(SizeReference) + * @see rba.view.RBAViewPackage#getOffset_Size() + * @model containment="true" required="true" + * @generated + */ + SizeReference getSize(); + + /** + * Sets the value of the '{@link rba.view.Offset#getSize <em>Size</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Size</em>' containment reference. + * @see #getSize() + * @generated + */ + void setSize(SizeReference value); + +} // Offset diff --git a/rba.model.view/src/rba/view/PositionContainer.java b/rba.model.view/src/rba/view/PositionContainer.java new file mode 100644 index 0000000..c6e7368 --- /dev/null +++ b/rba.model.view/src/rba/view/PositionContainer.java @@ -0,0 +1,207 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Position Container</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.PositionContainer#getX <em>X</em>}</li> + * <li>{@link rba.view.PositionContainer#getY <em>Y</em>}</li> + * <li>{@link rba.view.PositionContainer#getBasePoint <em>Base Point</em>}</li> + * <li>{@link rba.view.PositionContainer#getArea <em>Area</em>}</li> + * <li>{@link rba.view.PositionContainer#getOffset <em>Offset</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getPositionContainer() + * @model + * @generated + */ +public interface PositionContainer extends EObject { + /** + * Returns the value of the '<em><b>X</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>X</em>' attribute. + * @see #isSetX() + * @see #unsetX() + * @see #setX(int) + * @see rba.view.RBAViewPackage#getPositionContainer_X() + * @model unsettable="true" required="true" + * @generated + */ + int getX(); + + /** + * Sets the value of the '{@link rba.view.PositionContainer#getX <em>X</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>X</em>' attribute. + * @see #isSetX() + * @see #unsetX() + * @see #getX() + * @generated + */ + void setX(int value); + + /** + * Unsets the value of the '{@link rba.view.PositionContainer#getX <em>X</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetX() + * @see #getX() + * @see #setX(int) + * @generated + */ + void unsetX(); + + /** + * Returns whether the value of the '{@link rba.view.PositionContainer#getX <em>X</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>X</em>' attribute is set. + * @see #unsetX() + * @see #getX() + * @see #setX(int) + * @generated + */ + boolean isSetX(); + + /** + * Returns the value of the '<em><b>Y</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Y</em>' attribute. + * @see #isSetY() + * @see #unsetY() + * @see #setY(int) + * @see rba.view.RBAViewPackage#getPositionContainer_Y() + * @model unsettable="true" required="true" + * @generated + */ + int getY(); + + /** + * Sets the value of the '{@link rba.view.PositionContainer#getY <em>Y</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Y</em>' attribute. + * @see #isSetY() + * @see #unsetY() + * @see #getY() + * @generated + */ + void setY(int value); + + /** + * Unsets the value of the '{@link rba.view.PositionContainer#getY <em>Y</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetY() + * @see #getY() + * @see #setY(int) + * @generated + */ + void unsetY(); + + /** + * Returns whether the value of the '{@link rba.view.PositionContainer#getY <em>Y</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Y</em>' attribute is set. + * @see #unsetY() + * @see #getY() + * @see #setY(int) + * @generated + */ + boolean isSetY(); + + /** + * Returns the value of the '<em><b>Base Point</b></em>' attribute. + * The literals are from the enumeration {@link rba.view.BasePoint}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Base Point</em>' attribute. + * @see rba.view.BasePoint + * @see #setBasePoint(BasePoint) + * @see rba.view.RBAViewPackage#getPositionContainer_BasePoint() + * @model + * @generated + */ + BasePoint getBasePoint(); + + /** + * Sets the value of the '{@link rba.view.PositionContainer#getBasePoint <em>Base Point</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Point</em>' attribute. + * @see rba.view.BasePoint + * @see #getBasePoint() + * @generated + */ + void setBasePoint(BasePoint value); + + /** + * Returns the value of the '<em><b>Area</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Area</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Area</em>' reference. + * @see #setArea(Area) + * @see rba.view.RBAViewPackage#getPositionContainer_Area() + * @model required="true" + * @generated + */ + Area getArea(); + + /** + * Sets the value of the '{@link rba.view.PositionContainer#getArea <em>Area</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Area</em>' reference. + * @see #getArea() + * @generated + */ + void setArea(Area value); + + /** + * Returns the value of the '<em><b>Offset</b></em>' containment reference list. + * The list contents are of type {@link rba.view.Offset}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Offset</em>' containment reference list. + * @see rba.view.RBAViewPackage#getPositionContainer_Offset() + * @model containment="true" + * @generated + */ + EList<Offset> getOffset(); + +} // PositionContainer diff --git a/rba.model.view/src/rba/view/RBAViewFactory.java b/rba.model.view/src/rba/view/RBAViewFactory.java new file mode 100644 index 0000000..e5e893e --- /dev/null +++ b/rba.model.view/src/rba/view/RBAViewFactory.java @@ -0,0 +1,249 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see rba.view.RBAViewPackage + * @generated + */ +public interface RBAViewFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + RBAViewFactory eINSTANCE = rba.view.impl.RBAViewFactoryImpl.init(); + + /** + * Returns a new object of class '<em>View Content</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>View Content</em>'. + * @generated + */ + ViewContent createViewContent(); + + /** + * Returns a new object of class '<em>View Content Set</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>View Content Set</em>'. + * @generated + */ + ViewContentSet createViewContentSet(); + + /** + * Returns a new object of class '<em>View Content State</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>View Content State</em>'. + * @generated + */ + ViewContentState createViewContentState(); + + /** + * Returns a new object of class '<em>Vertical Layout</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Vertical Layout</em>'. + * @generated + */ + VerticalLayout createVerticalLayout(); + + /** + * Returns a new object of class '<em>Horizontal Layout</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Horizontal Layout</em>'. + * @generated + */ + HorizontalLayout createHorizontalLayout(); + + /** + * Returns a new object of class '<em>Fixed Position Layout</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Fixed Position Layout</em>'. + * @generated + */ + FixedPositionLayout createFixedPositionLayout(); + + /** + * Returns a new object of class '<em>Position Container</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Position Container</em>'. + * @generated + */ + PositionContainer createPositionContainer(); + + /** + * Returns a new object of class '<em>Display</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Display</em>'. + * @generated + */ + Display createDisplay(); + + /** + * Returns a new object of class '<em>Composite Area</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Composite Area</em>'. + * @generated + */ + CompositeArea createCompositeArea(); + + /** + * Returns a new object of class '<em>Area</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Area</em>'. + * @generated + */ + Area createArea(); + + /** + * Returns a new object of class '<em>Area Set</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Area Set</em>'. + * @generated + */ + AreaSet createAreaSet(); + + /** + * Returns a new object of class '<em>Size</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Size</em>'. + * @generated + */ + Size createSize(); + + /** + * Returns a new object of class '<em>Size Reference</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Size Reference</em>'. + * @generated + */ + SizeReference createSizeReference(); + + /** + * Returns a new object of class '<em>Offset</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Offset</em>'. + * @generated + */ + Offset createOffset(); + + /** + * Returns a new object of class '<em>Is Displayed</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Is Displayed</em>'. + * @generated + */ + IsDisplayed createIsDisplayed(); + + /** + * Returns a new object of class '<em>Displaying Content</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Displaying Content</em>'. + * @generated + */ + DisplayingContent createDisplayingContent(); + + /** + * Returns a new object of class '<em>Is Hidden</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Is Hidden</em>'. + * @generated + */ + IsHidden createIsHidden(); + + /** + * Returns a new object of class '<em>Is Visible</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Is Visible</em>'. + * @generated + */ + IsVisible createIsVisible(); + + /** + * Returns a new object of class '<em>All Instance Of Area</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>All Instance Of Area</em>'. + * @generated + */ + AllInstanceOfArea createAllInstanceOfArea(); + + /** + * Returns a new object of class '<em>All Instance Of View Content</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>All Instance Of View Content</em>'. + * @generated + */ + AllInstanceOfViewContent createAllInstanceOfViewContent(); + + /** + * Returns a new object of class '<em>Is Displayed On</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Is Displayed On</em>'. + * @generated + */ + IsDisplayedOn createIsDisplayedOn(); + + /** + * Returns a new object of class '<em>Is Changed Display</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Is Changed Display</em>'. + * @generated + */ + IsChangedDisplay createIsChangedDisplay(); + + /** + * Returns a new object of class '<em>Is Translated View To</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Is Translated View To</em>'. + * @generated + */ + IsTranslatedViewTo createIsTranslatedViewTo(); + + /** + * Returns a new object of class '<em>Hide Lower Priority</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Hide Lower Priority</em>'. + * @generated + */ + HideLowerPriority createHideLowerPriority(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + RBAViewPackage getRBAViewPackage(); + +} //RBAViewFactory diff --git a/rba.model.view/src/rba/view/RBAViewPackage.java b/rba.model.view/src/rba/view/RBAViewPackage.java new file mode 100644 index 0000000..5589731 --- /dev/null +++ b/rba.model.view/src/rba/view/RBAViewPackage.java @@ -0,0 +1,4026 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import rba.core.RBACorePackage; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see rba.view.RBAViewFactory + * @model kind="package" + * annotation="http://www.eclipse.org/OCL/Import RbaCore='../../rba.model.core/model/rbacore.ecore#/' ecore='http://www.eclipse.org/emf/2002/Ecore'" + * @generated + */ +public interface RBAViewPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "view"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.denso.com/ict/rba/view"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "RbaView"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + RBAViewPackage eINSTANCE = rba.view.impl.RBAViewPackageImpl.init(); + + /** + * The meta object id for the '{@link rba.view.impl.ViewContentImpl <em>View Content</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContent() + * @generated + */ + int VIEW_CONTENT = 0; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__DESCRIPTION = RBACorePackage.CONTENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__NAME = RBACorePackage.CONTENT__NAME; + + /** + * The feature id for the '<em><b>Tags</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__TAGS = RBACorePackage.CONTENT__TAGS; + + /** + * The feature id for the '<em><b>Content Group</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__CONTENT_GROUP = RBACorePackage.CONTENT__CONTENT_GROUP; + + /** + * The feature id for the '<em><b>Allocatable</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__ALLOCATABLE = RBACorePackage.CONTENT__ALLOCATABLE; + + /** + * The feature id for the '<em><b>Loser Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__LOSER_TYPE = RBACorePackage.CONTENT__LOSER_TYPE; + + /** + * The feature id for the '<em><b>States</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__STATES = RBACorePackage.CONTENT__STATES; + + /** + * The feature id for the '<em><b>Size</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT__SIZE = RBACorePackage.CONTENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>View Content</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_FEATURE_COUNT = RBACorePackage.CONTENT_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>Get Allocatable List</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT___GET_ALLOCATABLE_LIST = RBACorePackage.CONTENT___GET_ALLOCATABLE_LIST; + + /** + * The operation id for the '<em>Collect Leaf Contents</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT___COLLECT_LEAF_CONTENTS = RBACorePackage.CONTENT___COLLECT_LEAF_CONTENTS; + + /** + * The operation id for the '<em>Get Expression Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT___GET_EXPRESSION_TYPE = RBACorePackage.CONTENT_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>View Content</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATION_COUNT = RBACorePackage.CONTENT_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.ViewContentSetImpl <em>View Content Set</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentSetImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContentSet() + * @generated + */ + int VIEW_CONTENT_SET = 1; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET__DESCRIPTION = RBACorePackage.CONTENT_SET__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET__NAME = RBACorePackage.CONTENT_SET__NAME; + + /** + * The feature id for the '<em><b>Tags</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET__TAGS = RBACorePackage.CONTENT_SET__TAGS; + + /** + * The feature id for the '<em><b>Content Group</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET__CONTENT_GROUP = RBACorePackage.CONTENT_SET__CONTENT_GROUP; + + /** + * The feature id for the '<em><b>Allocatable</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET__ALLOCATABLE = RBACorePackage.CONTENT_SET__ALLOCATABLE; + + /** + * The feature id for the '<em><b>Target</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET__TARGET = RBACorePackage.CONTENT_SET__TARGET; + + /** + * The number of structural features of the '<em>View Content Set</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET_FEATURE_COUNT = RBACorePackage.CONTENT_SET_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Allocatable List</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET___GET_ALLOCATABLE_LIST = RBACorePackage.CONTENT_SET___GET_ALLOCATABLE_LIST; + + /** + * The operation id for the '<em>Collect Leaf Contents</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET___COLLECT_LEAF_CONTENTS = RBACorePackage.CONTENT_SET___COLLECT_LEAF_CONTENTS; + + /** + * The operation id for the '<em>Get Expression Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET___GET_EXPRESSION_TYPE = RBACorePackage.CONTENT_SET_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>View Content Set</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_SET_OPERATION_COUNT = RBACorePackage.CONTENT_SET_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.ViewContentStateImpl <em>View Content State</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentStateImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContentState() + * @generated + */ + int VIEW_CONTENT_STATE = 2; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE__DESCRIPTION = RBACorePackage.CONTENT_STATE__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE__NAME = RBACorePackage.CONTENT_STATE__NAME; + + /** + * The feature id for the '<em><b>Tags</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE__TAGS = RBACorePackage.CONTENT_STATE__TAGS; + + /** + * The feature id for the '<em><b>Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE__VALUE = RBACorePackage.CONTENT_STATE__VALUE; + + /** + * The feature id for the '<em><b>Owner</b></em>' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE__OWNER = RBACorePackage.CONTENT_STATE__OWNER; + + /** + * The number of structural features of the '<em>View Content State</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE_FEATURE_COUNT = RBACorePackage.CONTENT_STATE_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE___GET_EXPRESSION_TYPE = RBACorePackage.CONTENT_STATE_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>View Content State</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_STATE_OPERATION_COUNT = RBACorePackage.CONTENT_STATE_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.LayoutManagerImpl <em>Layout Manager</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.LayoutManagerImpl + * @see rba.view.impl.RBAViewPackageImpl#getLayoutManager() + * @generated + */ + int LAYOUT_MANAGER = 3; + + /** + * The number of structural features of the '<em>Layout Manager</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LAYOUT_MANAGER_FEATURE_COUNT = 0; + + /** + * The operation id for the '<em>Collect Leaf Area</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LAYOUT_MANAGER___COLLECT_LEAF_AREA = 0; + + /** + * The number of operations of the '<em>Layout Manager</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LAYOUT_MANAGER_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link rba.view.impl.AlignedLayoutImpl <em>Aligned Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AlignedLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getAlignedLayout() + * @generated + */ + int ALIGNED_LAYOUT = 4; + + /** + * The feature id for the '<em><b>Subarea</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALIGNED_LAYOUT__SUBAREA = LAYOUT_MANAGER_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Base Point</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALIGNED_LAYOUT__BASE_POINT = LAYOUT_MANAGER_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Aligned Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALIGNED_LAYOUT_FEATURE_COUNT = LAYOUT_MANAGER_FEATURE_COUNT + 2; + + /** + * The operation id for the '<em>Collect Leaf Area</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALIGNED_LAYOUT___COLLECT_LEAF_AREA = LAYOUT_MANAGER_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Aligned Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALIGNED_LAYOUT_OPERATION_COUNT = LAYOUT_MANAGER_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.VerticalLayoutImpl <em>Vertical Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.VerticalLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getVerticalLayout() + * @generated + */ + int VERTICAL_LAYOUT = 5; + + /** + * The feature id for the '<em><b>Subarea</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERTICAL_LAYOUT__SUBAREA = ALIGNED_LAYOUT__SUBAREA; + + /** + * The feature id for the '<em><b>Base Point</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERTICAL_LAYOUT__BASE_POINT = ALIGNED_LAYOUT__BASE_POINT; + + /** + * The number of structural features of the '<em>Vertical Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERTICAL_LAYOUT_FEATURE_COUNT = ALIGNED_LAYOUT_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Collect Leaf Area</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERTICAL_LAYOUT___COLLECT_LEAF_AREA = ALIGNED_LAYOUT___COLLECT_LEAF_AREA; + + /** + * The number of operations of the '<em>Vertical Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERTICAL_LAYOUT_OPERATION_COUNT = ALIGNED_LAYOUT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link rba.view.impl.HorizontalLayoutImpl <em>Horizontal Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.HorizontalLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getHorizontalLayout() + * @generated + */ + int HORIZONTAL_LAYOUT = 6; + + /** + * The feature id for the '<em><b>Subarea</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HORIZONTAL_LAYOUT__SUBAREA = ALIGNED_LAYOUT__SUBAREA; + + /** + * The feature id for the '<em><b>Base Point</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HORIZONTAL_LAYOUT__BASE_POINT = ALIGNED_LAYOUT__BASE_POINT; + + /** + * The number of structural features of the '<em>Horizontal Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HORIZONTAL_LAYOUT_FEATURE_COUNT = ALIGNED_LAYOUT_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Collect Leaf Area</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HORIZONTAL_LAYOUT___COLLECT_LEAF_AREA = ALIGNED_LAYOUT___COLLECT_LEAF_AREA; + + /** + * The number of operations of the '<em>Horizontal Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HORIZONTAL_LAYOUT_OPERATION_COUNT = ALIGNED_LAYOUT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link rba.view.impl.FixedPositionLayoutImpl <em>Fixed Position Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.FixedPositionLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getFixedPositionLayout() + * @generated + */ + int FIXED_POSITION_LAYOUT = 7; + + /** + * The feature id for the '<em><b>Sub Area Position</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FIXED_POSITION_LAYOUT__SUB_AREA_POSITION = LAYOUT_MANAGER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Fixed Position Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FIXED_POSITION_LAYOUT_FEATURE_COUNT = LAYOUT_MANAGER_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>Collect Leaf Area</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FIXED_POSITION_LAYOUT___COLLECT_LEAF_AREA = LAYOUT_MANAGER_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Fixed Position Layout</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FIXED_POSITION_LAYOUT_OPERATION_COUNT = LAYOUT_MANAGER_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.PositionContainerImpl <em>Position Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.PositionContainerImpl + * @see rba.view.impl.RBAViewPackageImpl#getPositionContainer() + * @generated + */ + int POSITION_CONTAINER = 8; + + /** + * The feature id for the '<em><b>X</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POSITION_CONTAINER__X = 0; + + /** + * The feature id for the '<em><b>Y</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POSITION_CONTAINER__Y = 1; + + /** + * The feature id for the '<em><b>Base Point</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POSITION_CONTAINER__BASE_POINT = 2; + + /** + * The feature id for the '<em><b>Area</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POSITION_CONTAINER__AREA = 3; + + /** + * The feature id for the '<em><b>Offset</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POSITION_CONTAINER__OFFSET = 4; + + /** + * The number of structural features of the '<em>Position Container</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POSITION_CONTAINER_FEATURE_COUNT = 5; + + /** + * The number of operations of the '<em>Position Container</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int POSITION_CONTAINER_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link rba.view.impl.DisplayImpl <em>Display</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.DisplayImpl + * @see rba.view.impl.RBAViewPackageImpl#getDisplay() + * @generated + */ + int DISPLAY = 9; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY__DESCRIPTION = RBACorePackage.PACKAGABLE_ELEMENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY__NAME = RBACorePackage.PACKAGABLE_ELEMENT__NAME; + + /** + * The feature id for the '<em><b>Root</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY__ROOT = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Size</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY__SIZE = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Display</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY_FEATURE_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the '<em>Display</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY_OPERATION_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link rba.view.impl.CompositeAreaImpl <em>Composite Area</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.CompositeAreaImpl + * @see rba.view.impl.RBAViewPackageImpl#getCompositeArea() + * @generated + */ + int COMPOSITE_AREA = 10; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPOSITE_AREA__DESCRIPTION = RBACorePackage.PACKAGABLE_ELEMENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPOSITE_AREA__NAME = RBACorePackage.PACKAGABLE_ELEMENT__NAME; + + /** + * The feature id for the '<em><b>Layout</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPOSITE_AREA__LAYOUT = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Composite Area</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPOSITE_AREA_FEATURE_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>Collect Leaf Area</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPOSITE_AREA___COLLECT_LEAF_AREA = RBACorePackage.PACKAGABLE_ELEMENT_OPERATION_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPOSITE_AREA___GET_EXPRESSION_TYPE = RBACorePackage.PACKAGABLE_ELEMENT_OPERATION_COUNT + 1; + + /** + * The number of operations of the '<em>Composite Area</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPOSITE_AREA_OPERATION_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_OPERATION_COUNT + 2; + + /** + * The meta object id for the '{@link rba.view.impl.AreaImpl <em>Area</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AreaImpl + * @see rba.view.impl.RBAViewPackageImpl#getArea() + * @generated + */ + int AREA = 11; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__DESCRIPTION = RBACorePackage.ALLOCATABLE__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__NAME = RBACorePackage.ALLOCATABLE__NAME; + + /** + * The feature id for the '<em><b>Tags</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__TAGS = RBACorePackage.ALLOCATABLE__TAGS; + + /** + * The feature id for the '<em><b>Contents</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__CONTENTS = RBACorePackage.ALLOCATABLE__CONTENTS; + + /** + * The feature id for the '<em><b>Allocatable Group</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__ALLOCATABLE_GROUP = RBACorePackage.ALLOCATABLE__ALLOCATABLE_GROUP; + + /** + * The feature id for the '<em><b>Arbitration Policy</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__ARBITRATION_POLICY = RBACorePackage.ALLOCATABLE__ARBITRATION_POLICY; + + /** + * The feature id for the '<em><b>Visibility</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__VISIBILITY = RBACorePackage.ALLOCATABLE__VISIBILITY; + + /** + * The feature id for the '<em><b>Zorder</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__ZORDER = RBACorePackage.ALLOCATABLE_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Size</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA__SIZE = RBACorePackage.ALLOCATABLE_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Area</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_FEATURE_COUNT = RBACorePackage.ALLOCATABLE_FEATURE_COUNT + 2; + + /** + * The operation id for the '<em>Get Contents List</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA___GET_CONTENTS_LIST = RBACorePackage.ALLOCATABLE___GET_CONTENTS_LIST; + + /** + * The operation id for the '<em>Collect Leaf Allocatable</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA___COLLECT_LEAF_ALLOCATABLE = RBACorePackage.ALLOCATABLE___COLLECT_LEAF_ALLOCATABLE; + + /** + * The operation id for the '<em>Get Expression Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA___GET_EXPRESSION_TYPE = RBACorePackage.ALLOCATABLE_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Area</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATION_COUNT = RBACorePackage.ALLOCATABLE_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.AreaSetImpl <em>Area Set</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AreaSetImpl + * @see rba.view.impl.RBAViewPackageImpl#getAreaSet() + * @generated + */ + int AREA_SET = 12; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET__DESCRIPTION = RBACorePackage.ALLOCATABLE_SET__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET__NAME = RBACorePackage.ALLOCATABLE_SET__NAME; + + /** + * The feature id for the '<em><b>Tags</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET__TAGS = RBACorePackage.ALLOCATABLE_SET__TAGS; + + /** + * The feature id for the '<em><b>Contents</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET__CONTENTS = RBACorePackage.ALLOCATABLE_SET__CONTENTS; + + /** + * The feature id for the '<em><b>Allocatable Group</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET__ALLOCATABLE_GROUP = RBACorePackage.ALLOCATABLE_SET__ALLOCATABLE_GROUP; + + /** + * The feature id for the '<em><b>Target</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET__TARGET = RBACorePackage.ALLOCATABLE_SET__TARGET; + + /** + * The number of structural features of the '<em>Area Set</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET_FEATURE_COUNT = RBACorePackage.ALLOCATABLE_SET_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Contents List</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET___GET_CONTENTS_LIST = RBACorePackage.ALLOCATABLE_SET___GET_CONTENTS_LIST; + + /** + * The operation id for the '<em>Collect Leaf Allocatable</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET___COLLECT_LEAF_ALLOCATABLE = RBACorePackage.ALLOCATABLE_SET___COLLECT_LEAF_ALLOCATABLE; + + /** + * The operation id for the '<em>Get Expression Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET___GET_EXPRESSION_TYPE = RBACorePackage.ALLOCATABLE_SET_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Area Set</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_SET_OPERATION_COUNT = RBACorePackage.ALLOCATABLE_SET_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.SizeIdentifierImpl <em>Size Identifier</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.SizeIdentifierImpl + * @see rba.view.impl.RBAViewPackageImpl#getSizeIdentifier() + * @generated + */ + int SIZE_IDENTIFIER = 13; + + /** + * The number of structural features of the '<em>Size Identifier</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE_IDENTIFIER_FEATURE_COUNT = 0; + + /** + * The number of operations of the '<em>Size Identifier</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE_IDENTIFIER_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link rba.view.impl.SizeImpl <em>Size</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.SizeImpl + * @see rba.view.impl.RBAViewPackageImpl#getSize() + * @generated + */ + int SIZE = 14; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE__DESCRIPTION = RBACorePackage.PACKAGABLE_ELEMENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE__NAME = RBACorePackage.PACKAGABLE_ELEMENT__NAME; + + /** + * The feature id for the '<em><b>Width</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE__WIDTH = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Height</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE__HEIGHT = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Size</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE_FEATURE_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the '<em>Size</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE_OPERATION_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link rba.view.impl.SizeReferenceImpl <em>Size Reference</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.SizeReferenceImpl + * @see rba.view.impl.RBAViewPackageImpl#getSizeReference() + * @generated + */ + int SIZE_REFERENCE = 15; + + /** + * The feature id for the '<em><b>Size</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE_REFERENCE__SIZE = SIZE_IDENTIFIER_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Size Reference</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE_REFERENCE_FEATURE_COUNT = SIZE_IDENTIFIER_FEATURE_COUNT + 1; + + /** + * The number of operations of the '<em>Size Reference</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SIZE_REFERENCE_OPERATION_COUNT = SIZE_IDENTIFIER_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link rba.view.impl.OffsetImpl <em>Offset</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.OffsetImpl + * @see rba.view.impl.RBAViewPackageImpl#getOffset() + * @generated + */ + int OFFSET = 16; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OFFSET__DESCRIPTION = RBACorePackage.PACKAGABLE_ELEMENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OFFSET__NAME = RBACorePackage.PACKAGABLE_ELEMENT__NAME; + + /** + * The feature id for the '<em><b>X</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OFFSET__X = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Y</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OFFSET__Y = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Size</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OFFSET__SIZE = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 2; + + /** + * The number of structural features of the '<em>Offset</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OFFSET_FEATURE_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_FEATURE_COUNT + 3; + + /** + * The number of operations of the '<em>Offset</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OFFSET_OPERATION_COUNT = RBACorePackage.PACKAGABLE_ELEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link rba.view.impl.AreaOperatorImpl <em>Area Operator</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AreaOperatorImpl + * @see rba.view.impl.RBAViewPackageImpl#getAreaOperator() + * @generated + */ + int AREA_OPERATOR = 17; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR__TYPE = RBACorePackage.ALLOCATABLE_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR__EXPRESSION = RBACorePackage.ALLOCATABLE_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR__LET_STATEMENTS = RBACorePackage.ALLOCATABLE_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR__OPERAND = RBACorePackage.ALLOCATABLE_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Area Operator</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR_FEATURE_COUNT = RBACorePackage.ALLOCATABLE_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR___GET_UNDERLYING_TYPE = RBACorePackage.ALLOCATABLE_OPERATOR___GET_UNDERLYING_TYPE; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR___GET_SYMBOL = RBACorePackage.ALLOCATABLE_OPERATOR___GET_SYMBOL; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR___GET_EXPRESSION_TEXT = RBACorePackage.ALLOCATABLE_OPERATOR___GET_EXPRESSION_TEXT; + + /** + * The number of operations of the '<em>Area Operator</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int AREA_OPERATOR_OPERATION_COUNT = RBACorePackage.ALLOCATABLE_OPERATOR_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link rba.view.impl.IsDisplayedImpl <em>Is Displayed</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsDisplayedImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsDisplayed() + * @generated + */ + int IS_DISPLAYED = 18; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED__TYPE = AREA_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED__EXPRESSION = AREA_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED__LET_STATEMENTS = AREA_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED__OPERAND = AREA_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Is Displayed</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_FEATURE_COUNT = AREA_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED___GET_EXPRESSION_TEXT = AREA_OPERATOR___GET_EXPRESSION_TEXT; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED___GET_SYMBOL = AREA_OPERATOR_OPERATION_COUNT + 0; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED___GET_UNDERLYING_TYPE = AREA_OPERATOR_OPERATION_COUNT + 1; + + /** + * The number of operations of the '<em>Is Displayed</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_OPERATION_COUNT = AREA_OPERATOR_OPERATION_COUNT + 2; + + /** + * The meta object id for the '{@link rba.view.impl.DisplayingContentImpl <em>Displaying Content</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.DisplayingContentImpl + * @see rba.view.impl.RBAViewPackageImpl#getDisplayingContent() + * @generated + */ + int DISPLAYING_CONTENT = 19; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT__TYPE = AREA_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT__EXPRESSION = AREA_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT__LET_STATEMENTS = AREA_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT__OPERAND = AREA_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Displaying Content</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT_FEATURE_COUNT = AREA_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT___GET_EXPRESSION_TEXT = AREA_OPERATOR___GET_EXPRESSION_TEXT; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT___GET_SYMBOL = AREA_OPERATOR_OPERATION_COUNT + 0; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT___GET_UNDERLYING_TYPE = AREA_OPERATOR_OPERATION_COUNT + 1; + + /** + * The number of operations of the '<em>Displaying Content</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAYING_CONTENT_OPERATION_COUNT = AREA_OPERATOR_OPERATION_COUNT + 2; + + /** + * The meta object id for the '{@link rba.view.impl.IsHiddenImpl <em>Is Hidden</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsHiddenImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsHidden() + * @generated + */ + int IS_HIDDEN = 20; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN__TYPE = AREA_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN__EXPRESSION = AREA_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN__LET_STATEMENTS = AREA_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN__OPERAND = AREA_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Is Hidden</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN_FEATURE_COUNT = AREA_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN___GET_EXPRESSION_TEXT = AREA_OPERATOR___GET_EXPRESSION_TEXT; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN___GET_SYMBOL = AREA_OPERATOR_OPERATION_COUNT + 0; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN___GET_UNDERLYING_TYPE = AREA_OPERATOR_OPERATION_COUNT + 1; + + /** + * The number of operations of the '<em>Is Hidden</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_HIDDEN_OPERATION_COUNT = AREA_OPERATOR_OPERATION_COUNT + 2; + + /** + * The meta object id for the '{@link rba.view.impl.ViewContentOperatorImpl <em>View Content Operator</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentOperatorImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContentOperator() + * @generated + */ + int VIEW_CONTENT_OPERATOR = 21; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR__TYPE = RBACorePackage.CONTENT_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR__EXPRESSION = RBACorePackage.CONTENT_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR__LET_STATEMENTS = RBACorePackage.CONTENT_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR__OPERAND = RBACorePackage.CONTENT_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>View Content Operator</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR_FEATURE_COUNT = RBACorePackage.CONTENT_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR___GET_SYMBOL = RBACorePackage.CONTENT_OPERATOR___GET_SYMBOL; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR___GET_EXPRESSION_TEXT = RBACorePackage.CONTENT_OPERATOR___GET_EXPRESSION_TEXT; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR___GET_UNDERLYING_TYPE = RBACorePackage.CONTENT_OPERATOR_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>View Content Operator</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_CONTENT_OPERATOR_OPERATION_COUNT = RBACorePackage.CONTENT_OPERATOR_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.IsVisibleImpl <em>Is Visible</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsVisibleImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsVisible() + * @generated + */ + int IS_VISIBLE = 22; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE__TYPE = VIEW_CONTENT_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE__EXPRESSION = VIEW_CONTENT_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE__LET_STATEMENTS = VIEW_CONTENT_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE__OPERAND = VIEW_CONTENT_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Is Visible</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE_FEATURE_COUNT = VIEW_CONTENT_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE___GET_EXPRESSION_TEXT = VIEW_CONTENT_OPERATOR___GET_EXPRESSION_TEXT; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE___GET_UNDERLYING_TYPE = VIEW_CONTENT_OPERATOR___GET_UNDERLYING_TYPE; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE___GET_SYMBOL = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Is Visible</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_VISIBLE_OPERATION_COUNT = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link rba.view.impl.AllInstanceOfAreaImpl <em>All Instance Of Area</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AllInstanceOfAreaImpl + * @see rba.view.impl.RBAViewPackageImpl#getAllInstanceOfArea() + * @generated + */ + int ALL_INSTANCE_OF_AREA = 23; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_AREA__TYPE = RBACorePackage.SET_EXPRESSION__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_AREA__EXPRESSION = RBACorePackage.SET_EXPRESSION__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_AREA__LET_STATEMENTS = RBACorePackage.SET_EXPRESSION__LET_STATEMENTS; + + /** + * The number of structural features of the '<em>All Instance Of Area</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_AREA_FEATURE_COUNT = RBACorePackage.SET_EXPRESSION_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_AREA___GET_EXPRESSION_TEXT = RBACorePackage.SET_EXPRESSION_OPERATION_COUNT + 0; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_AREA___GET_UNDERLYING_TYPE = RBACorePackage.SET_EXPRESSION_OPERATION_COUNT + 1; + + /** + * The number of operations of the '<em>All Instance Of Area</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_AREA_OPERATION_COUNT = RBACorePackage.SET_EXPRESSION_OPERATION_COUNT + 2; + + /** + * The meta object id for the '{@link rba.view.impl.AllInstanceOfViewContentImpl <em>All Instance Of View Content</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AllInstanceOfViewContentImpl + * @see rba.view.impl.RBAViewPackageImpl#getAllInstanceOfViewContent() + * @generated + */ + int ALL_INSTANCE_OF_VIEW_CONTENT = 24; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_VIEW_CONTENT__TYPE = RBACorePackage.SET_EXPRESSION__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_VIEW_CONTENT__EXPRESSION = RBACorePackage.SET_EXPRESSION__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_VIEW_CONTENT__LET_STATEMENTS = RBACorePackage.SET_EXPRESSION__LET_STATEMENTS; + + /** + * The number of structural features of the '<em>All Instance Of View Content</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_VIEW_CONTENT_FEATURE_COUNT = RBACorePackage.SET_EXPRESSION_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_VIEW_CONTENT___GET_EXPRESSION_TEXT = RBACorePackage.SET_EXPRESSION_OPERATION_COUNT + 0; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_VIEW_CONTENT___GET_UNDERLYING_TYPE = RBACorePackage.SET_EXPRESSION_OPERATION_COUNT + 1; + + /** + * The number of operations of the '<em>All Instance Of View Content</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALL_INSTANCE_OF_VIEW_CONTENT_OPERATION_COUNT = RBACorePackage.SET_EXPRESSION_OPERATION_COUNT + 2; + + /** + * The meta object id for the '{@link rba.view.impl.IsDisplayedOnImpl <em>Is Displayed On</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsDisplayedOnImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsDisplayedOn() + * @generated + */ + int IS_DISPLAYED_ON = 25; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON__TYPE = VIEW_CONTENT_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON__EXPRESSION = VIEW_CONTENT_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON__LET_STATEMENTS = VIEW_CONTENT_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON__OPERAND = VIEW_CONTENT_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Is Displayed On</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON_FEATURE_COUNT = VIEW_CONTENT_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expanded</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON___GET_EXPANDED = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 1; + + /** + * The operation id for the '<em>Can Expand</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON___CAN_EXPAND = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 2; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON___GET_SYMBOL = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 3; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON___GET_UNDERLYING_TYPE = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 4; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON___GET_EXPRESSION_TEXT = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 5; + + /** + * The number of operations of the '<em>Is Displayed On</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_DISPLAYED_ON_OPERATION_COUNT = VIEW_CONTENT_OPERATOR_OPERATION_COUNT + 6; + + /** + * The meta object id for the '{@link rba.view.impl.IsChangedDisplayImpl <em>Is Changed Display</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsChangedDisplayImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsChangedDisplay() + * @generated + */ + int IS_CHANGED_DISPLAY = 26; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY__TYPE = AREA_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY__EXPRESSION = AREA_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY__LET_STATEMENTS = AREA_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY__OPERAND = AREA_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Is Changed Display</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY_FEATURE_COUNT = AREA_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY___GET_EXPRESSION_TEXT = AREA_OPERATOR___GET_EXPRESSION_TEXT; + + /** + * The operation id for the '<em>Get Expanded</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY___GET_EXPANDED = AREA_OPERATOR_OPERATION_COUNT + 1; + + /** + * The operation id for the '<em>Can Expand</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY___CAN_EXPAND = AREA_OPERATOR_OPERATION_COUNT + 2; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY___GET_SYMBOL = AREA_OPERATOR_OPERATION_COUNT + 3; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY___GET_UNDERLYING_TYPE = AREA_OPERATOR_OPERATION_COUNT + 4; + + /** + * The number of operations of the '<em>Is Changed Display</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_CHANGED_DISPLAY_OPERATION_COUNT = AREA_OPERATOR_OPERATION_COUNT + 5; + + /** + * The meta object id for the '{@link rba.view.impl.IsTranslatedViewToImpl <em>Is Translated View To</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsTranslatedViewToImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsTranslatedViewTo() + * @generated + */ + int IS_TRANSLATED_VIEW_TO = 27; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO__TYPE = AREA_OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO__EXPRESSION = AREA_OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO__LET_STATEMENTS = AREA_OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO__OPERAND = AREA_OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Is Translated View To</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO_FEATURE_COUNT = AREA_OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expanded</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO___GET_EXPANDED = AREA_OPERATOR_OPERATION_COUNT + 1; + + /** + * The operation id for the '<em>Can Expand</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO___CAN_EXPAND = AREA_OPERATOR_OPERATION_COUNT + 2; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO___GET_SYMBOL = AREA_OPERATOR_OPERATION_COUNT + 3; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO___GET_UNDERLYING_TYPE = AREA_OPERATOR_OPERATION_COUNT + 4; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO___GET_EXPRESSION_TEXT = AREA_OPERATOR_OPERATION_COUNT + 5; + + /** + * The number of operations of the '<em>Is Translated View To</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IS_TRANSLATED_VIEW_TO_OPERATION_COUNT = AREA_OPERATOR_OPERATION_COUNT + 6; + + /** + * The meta object id for the '{@link rba.view.impl.HideLowerPriorityImpl <em>Hide Lower Priority</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.HideLowerPriorityImpl + * @see rba.view.impl.RBAViewPackageImpl#getHideLowerPriority() + * @generated + */ + int HIDE_LOWER_PRIORITY = 28; + + /** + * The feature id for the '<em><b>Type</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY__TYPE = RBACorePackage.OPERATOR__TYPE; + + /** + * The feature id for the '<em><b>Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY__EXPRESSION = RBACorePackage.OPERATOR__EXPRESSION; + + /** + * The feature id for the '<em><b>Let Statements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY__LET_STATEMENTS = RBACorePackage.OPERATOR__LET_STATEMENTS; + + /** + * The feature id for the '<em><b>Operand</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY__OPERAND = RBACorePackage.OPERATOR__OPERAND; + + /** + * The number of structural features of the '<em>Hide Lower Priority</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY_FEATURE_COUNT = RBACorePackage.OPERATOR_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Expanded</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY___GET_EXPANDED = RBACorePackage.OPERATOR_OPERATION_COUNT + 1; + + /** + * The operation id for the '<em>Can Expand</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY___CAN_EXPAND = RBACorePackage.OPERATOR_OPERATION_COUNT + 2; + + /** + * The operation id for the '<em>Get Symbol</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY___GET_SYMBOL = RBACorePackage.OPERATOR_OPERATION_COUNT + 3; + + /** + * The operation id for the '<em>Get Underlying Type</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY___GET_UNDERLYING_TYPE = RBACorePackage.OPERATOR_OPERATION_COUNT + 4; + + /** + * The operation id for the '<em>Get Expression Text</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY___GET_EXPRESSION_TEXT = RBACorePackage.OPERATOR_OPERATION_COUNT + 5; + + /** + * The number of operations of the '<em>Hide Lower Priority</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int HIDE_LOWER_PRIORITY_OPERATION_COUNT = RBACorePackage.OPERATOR_OPERATION_COUNT + 6; + + /** + * The meta object id for the '{@link rba.view.BasePoint <em>Base Point</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.BasePoint + * @see rba.view.impl.RBAViewPackageImpl#getBasePoint() + * @generated + */ + int BASE_POINT = 29; + + /** + * Returns the meta object for class '{@link rba.view.ViewContent <em>View Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>View Content</em>'. + * @see rba.view.ViewContent + * @generated + */ + EClass getViewContent(); + + /** + * Returns the meta object for the containment reference list '{@link rba.view.ViewContent#getSize <em>Size</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Size</em>'. + * @see rba.view.ViewContent#getSize() + * @see #getViewContent() + * @generated + */ + EReference getViewContent_Size(); + + /** + * Returns the meta object for the '{@link rba.view.ViewContent#getExpressionType() <em>Get Expression Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Type</em>' operation. + * @see rba.view.ViewContent#getExpressionType() + * @generated + */ + EOperation getViewContent__GetExpressionType(); + + /** + * Returns the meta object for class '{@link rba.view.ViewContentSet <em>View Content Set</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>View Content Set</em>'. + * @see rba.view.ViewContentSet + * @generated + */ + EClass getViewContentSet(); + + /** + * Returns the meta object for the '{@link rba.view.ViewContentSet#getExpressionType() <em>Get Expression Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Type</em>' operation. + * @see rba.view.ViewContentSet#getExpressionType() + * @generated + */ + EOperation getViewContentSet__GetExpressionType(); + + /** + * Returns the meta object for class '{@link rba.view.ViewContentState <em>View Content State</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>View Content State</em>'. + * @see rba.view.ViewContentState + * @generated + */ + EClass getViewContentState(); + + /** + * Returns the meta object for the '{@link rba.view.ViewContentState#getExpressionType() <em>Get Expression Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Type</em>' operation. + * @see rba.view.ViewContentState#getExpressionType() + * @generated + */ + EOperation getViewContentState__GetExpressionType(); + + /** + * Returns the meta object for class '{@link rba.view.LayoutManager <em>Layout Manager</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Layout Manager</em>'. + * @see rba.view.LayoutManager + * @generated + */ + EClass getLayoutManager(); + + /** + * Returns the meta object for the '{@link rba.view.LayoutManager#collectLeafArea() <em>Collect Leaf Area</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Collect Leaf Area</em>' operation. + * @see rba.view.LayoutManager#collectLeafArea() + * @generated + */ + EOperation getLayoutManager__CollectLeafArea(); + + /** + * Returns the meta object for class '{@link rba.view.AlignedLayout <em>Aligned Layout</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Aligned Layout</em>'. + * @see rba.view.AlignedLayout + * @generated + */ + EClass getAlignedLayout(); + + /** + * Returns the meta object for the reference list '{@link rba.view.AlignedLayout#getSubarea <em>Subarea</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Subarea</em>'. + * @see rba.view.AlignedLayout#getSubarea() + * @see #getAlignedLayout() + * @generated + */ + EReference getAlignedLayout_Subarea(); + + /** + * Returns the meta object for the attribute '{@link rba.view.AlignedLayout#getBasePoint <em>Base Point</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Base Point</em>'. + * @see rba.view.AlignedLayout#getBasePoint() + * @see #getAlignedLayout() + * @generated + */ + EAttribute getAlignedLayout_BasePoint(); + + /** + * Returns the meta object for the '{@link rba.view.AlignedLayout#collectLeafArea() <em>Collect Leaf Area</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Collect Leaf Area</em>' operation. + * @see rba.view.AlignedLayout#collectLeafArea() + * @generated + */ + EOperation getAlignedLayout__CollectLeafArea(); + + /** + * Returns the meta object for class '{@link rba.view.VerticalLayout <em>Vertical Layout</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Vertical Layout</em>'. + * @see rba.view.VerticalLayout + * @generated + */ + EClass getVerticalLayout(); + + /** + * Returns the meta object for class '{@link rba.view.HorizontalLayout <em>Horizontal Layout</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Horizontal Layout</em>'. + * @see rba.view.HorizontalLayout + * @generated + */ + EClass getHorizontalLayout(); + + /** + * Returns the meta object for class '{@link rba.view.FixedPositionLayout <em>Fixed Position Layout</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Fixed Position Layout</em>'. + * @see rba.view.FixedPositionLayout + * @generated + */ + EClass getFixedPositionLayout(); + + /** + * Returns the meta object for the containment reference list '{@link rba.view.FixedPositionLayout#getSubAreaPosition <em>Sub Area Position</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Sub Area Position</em>'. + * @see rba.view.FixedPositionLayout#getSubAreaPosition() + * @see #getFixedPositionLayout() + * @generated + */ + EReference getFixedPositionLayout_SubAreaPosition(); + + /** + * Returns the meta object for the '{@link rba.view.FixedPositionLayout#collectLeafArea() <em>Collect Leaf Area</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Collect Leaf Area</em>' operation. + * @see rba.view.FixedPositionLayout#collectLeafArea() + * @generated + */ + EOperation getFixedPositionLayout__CollectLeafArea(); + + /** + * Returns the meta object for class '{@link rba.view.PositionContainer <em>Position Container</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Position Container</em>'. + * @see rba.view.PositionContainer + * @generated + */ + EClass getPositionContainer(); + + /** + * Returns the meta object for the attribute '{@link rba.view.PositionContainer#getX <em>X</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>X</em>'. + * @see rba.view.PositionContainer#getX() + * @see #getPositionContainer() + * @generated + */ + EAttribute getPositionContainer_X(); + + /** + * Returns the meta object for the attribute '{@link rba.view.PositionContainer#getY <em>Y</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Y</em>'. + * @see rba.view.PositionContainer#getY() + * @see #getPositionContainer() + * @generated + */ + EAttribute getPositionContainer_Y(); + + /** + * Returns the meta object for the attribute '{@link rba.view.PositionContainer#getBasePoint <em>Base Point</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Base Point</em>'. + * @see rba.view.PositionContainer#getBasePoint() + * @see #getPositionContainer() + * @generated + */ + EAttribute getPositionContainer_BasePoint(); + + /** + * Returns the meta object for the reference '{@link rba.view.PositionContainer#getArea <em>Area</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Area</em>'. + * @see rba.view.PositionContainer#getArea() + * @see #getPositionContainer() + * @generated + */ + EReference getPositionContainer_Area(); + + /** + * Returns the meta object for the containment reference list '{@link rba.view.PositionContainer#getOffset <em>Offset</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Offset</em>'. + * @see rba.view.PositionContainer#getOffset() + * @see #getPositionContainer() + * @generated + */ + EReference getPositionContainer_Offset(); + + /** + * Returns the meta object for class '{@link rba.view.Display <em>Display</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Display</em>'. + * @see rba.view.Display + * @generated + */ + EClass getDisplay(); + + /** + * Returns the meta object for the containment reference '{@link rba.view.Display#getRoot <em>Root</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Root</em>'. + * @see rba.view.Display#getRoot() + * @see #getDisplay() + * @generated + */ + EReference getDisplay_Root(); + + /** + * Returns the meta object for the containment reference '{@link rba.view.Display#getSize <em>Size</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Size</em>'. + * @see rba.view.Display#getSize() + * @see #getDisplay() + * @generated + */ + EReference getDisplay_Size(); + + /** + * Returns the meta object for class '{@link rba.view.CompositeArea <em>Composite Area</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Composite Area</em>'. + * @see rba.view.CompositeArea + * @generated + */ + EClass getCompositeArea(); + + /** + * Returns the meta object for the containment reference '{@link rba.view.CompositeArea#getLayout <em>Layout</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Layout</em>'. + * @see rba.view.CompositeArea#getLayout() + * @see #getCompositeArea() + * @generated + */ + EReference getCompositeArea_Layout(); + + /** + * Returns the meta object for the '{@link rba.view.CompositeArea#collectLeafArea() <em>Collect Leaf Area</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Collect Leaf Area</em>' operation. + * @see rba.view.CompositeArea#collectLeafArea() + * @generated + */ + EOperation getCompositeArea__CollectLeafArea(); + + /** + * Returns the meta object for the '{@link rba.view.CompositeArea#getExpressionType() <em>Get Expression Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Type</em>' operation. + * @see rba.view.CompositeArea#getExpressionType() + * @generated + */ + EOperation getCompositeArea__GetExpressionType(); + + /** + * Returns the meta object for class '{@link rba.view.Area <em>Area</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Area</em>'. + * @see rba.view.Area + * @generated + */ + EClass getArea(); + + /** + * Returns the meta object for the containment reference '{@link rba.view.Area#getZorder <em>Zorder</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Zorder</em>'. + * @see rba.view.Area#getZorder() + * @see #getArea() + * @generated + */ + EReference getArea_Zorder(); + + /** + * Returns the meta object for the containment reference list '{@link rba.view.Area#getSize <em>Size</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Size</em>'. + * @see rba.view.Area#getSize() + * @see #getArea() + * @generated + */ + EReference getArea_Size(); + + /** + * Returns the meta object for the '{@link rba.view.Area#getExpressionType() <em>Get Expression Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Type</em>' operation. + * @see rba.view.Area#getExpressionType() + * @generated + */ + EOperation getArea__GetExpressionType(); + + /** + * Returns the meta object for class '{@link rba.view.AreaSet <em>Area Set</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Area Set</em>'. + * @see rba.view.AreaSet + * @generated + */ + EClass getAreaSet(); + + /** + * Returns the meta object for the '{@link rba.view.AreaSet#getExpressionType() <em>Get Expression Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Type</em>' operation. + * @see rba.view.AreaSet#getExpressionType() + * @generated + */ + EOperation getAreaSet__GetExpressionType(); + + /** + * Returns the meta object for class '{@link rba.view.SizeIdentifier <em>Size Identifier</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Size Identifier</em>'. + * @see rba.view.SizeIdentifier + * @generated + */ + EClass getSizeIdentifier(); + + /** + * Returns the meta object for class '{@link rba.view.Size <em>Size</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Size</em>'. + * @see rba.view.Size + * @generated + */ + EClass getSize(); + + /** + * Returns the meta object for the attribute '{@link rba.view.Size#getWidth <em>Width</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Width</em>'. + * @see rba.view.Size#getWidth() + * @see #getSize() + * @generated + */ + EAttribute getSize_Width(); + + /** + * Returns the meta object for the attribute '{@link rba.view.Size#getHeight <em>Height</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Height</em>'. + * @see rba.view.Size#getHeight() + * @see #getSize() + * @generated + */ + EAttribute getSize_Height(); + + /** + * Returns the meta object for class '{@link rba.view.SizeReference <em>Size Reference</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Size Reference</em>'. + * @see rba.view.SizeReference + * @generated + */ + EClass getSizeReference(); + + /** + * Returns the meta object for the reference '{@link rba.view.SizeReference#getSize <em>Size</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Size</em>'. + * @see rba.view.SizeReference#getSize() + * @see #getSizeReference() + * @generated + */ + EReference getSizeReference_Size(); + + /** + * Returns the meta object for class '{@link rba.view.Offset <em>Offset</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Offset</em>'. + * @see rba.view.Offset + * @generated + */ + EClass getOffset(); + + /** + * Returns the meta object for the attribute '{@link rba.view.Offset#getX <em>X</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>X</em>'. + * @see rba.view.Offset#getX() + * @see #getOffset() + * @generated + */ + EAttribute getOffset_X(); + + /** + * Returns the meta object for the attribute '{@link rba.view.Offset#getY <em>Y</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Y</em>'. + * @see rba.view.Offset#getY() + * @see #getOffset() + * @generated + */ + EAttribute getOffset_Y(); + + /** + * Returns the meta object for the containment reference '{@link rba.view.Offset#getSize <em>Size</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Size</em>'. + * @see rba.view.Offset#getSize() + * @see #getOffset() + * @generated + */ + EReference getOffset_Size(); + + /** + * Returns the meta object for class '{@link rba.view.AreaOperator <em>Area Operator</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Area Operator</em>'. + * @see rba.view.AreaOperator + * @generated + */ + EClass getAreaOperator(); + + /** + * Returns the meta object for class '{@link rba.view.IsDisplayed <em>Is Displayed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Is Displayed</em>'. + * @see rba.view.IsDisplayed + * @generated + */ + EClass getIsDisplayed(); + + /** + * Returns the meta object for the '{@link rba.view.IsDisplayed#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.IsDisplayed#getSymbol() + * @generated + */ + EOperation getIsDisplayed__GetSymbol(); + + /** + * Returns the meta object for the '{@link rba.view.IsDisplayed#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.IsDisplayed#getUnderlyingType() + * @generated + */ + EOperation getIsDisplayed__GetUnderlyingType(); + + /** + * Returns the meta object for class '{@link rba.view.DisplayingContent <em>Displaying Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Displaying Content</em>'. + * @see rba.view.DisplayingContent + * @generated + */ + EClass getDisplayingContent(); + + /** + * Returns the meta object for the '{@link rba.view.DisplayingContent#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.DisplayingContent#getSymbol() + * @generated + */ + EOperation getDisplayingContent__GetSymbol(); + + /** + * Returns the meta object for the '{@link rba.view.DisplayingContent#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.DisplayingContent#getUnderlyingType() + * @generated + */ + EOperation getDisplayingContent__GetUnderlyingType(); + + /** + * Returns the meta object for class '{@link rba.view.IsHidden <em>Is Hidden</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Is Hidden</em>'. + * @see rba.view.IsHidden + * @generated + */ + EClass getIsHidden(); + + /** + * Returns the meta object for the '{@link rba.view.IsHidden#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.IsHidden#getSymbol() + * @generated + */ + EOperation getIsHidden__GetSymbol(); + + /** + * Returns the meta object for the '{@link rba.view.IsHidden#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.IsHidden#getUnderlyingType() + * @generated + */ + EOperation getIsHidden__GetUnderlyingType(); + + /** + * Returns the meta object for class '{@link rba.view.ViewContentOperator <em>View Content Operator</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>View Content Operator</em>'. + * @see rba.view.ViewContentOperator + * @generated + */ + EClass getViewContentOperator(); + + /** + * Returns the meta object for the '{@link rba.view.ViewContentOperator#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.ViewContentOperator#getUnderlyingType() + * @generated + */ + EOperation getViewContentOperator__GetUnderlyingType(); + + /** + * Returns the meta object for class '{@link rba.view.IsVisible <em>Is Visible</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Is Visible</em>'. + * @see rba.view.IsVisible + * @generated + */ + EClass getIsVisible(); + + /** + * Returns the meta object for the '{@link rba.view.IsVisible#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.IsVisible#getSymbol() + * @generated + */ + EOperation getIsVisible__GetSymbol(); + + /** + * Returns the meta object for class '{@link rba.view.AllInstanceOfArea <em>All Instance Of Area</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>All Instance Of Area</em>'. + * @see rba.view.AllInstanceOfArea + * @generated + */ + EClass getAllInstanceOfArea(); + + /** + * Returns the meta object for the '{@link rba.view.AllInstanceOfArea#getExpressionText() <em>Get Expression Text</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Text</em>' operation. + * @see rba.view.AllInstanceOfArea#getExpressionText() + * @generated + */ + EOperation getAllInstanceOfArea__GetExpressionText(); + + /** + * Returns the meta object for the '{@link rba.view.AllInstanceOfArea#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.AllInstanceOfArea#getUnderlyingType() + * @generated + */ + EOperation getAllInstanceOfArea__GetUnderlyingType(); + + /** + * Returns the meta object for class '{@link rba.view.AllInstanceOfViewContent <em>All Instance Of View Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>All Instance Of View Content</em>'. + * @see rba.view.AllInstanceOfViewContent + * @generated + */ + EClass getAllInstanceOfViewContent(); + + /** + * Returns the meta object for the '{@link rba.view.AllInstanceOfViewContent#getExpressionText() <em>Get Expression Text</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Text</em>' operation. + * @see rba.view.AllInstanceOfViewContent#getExpressionText() + * @generated + */ + EOperation getAllInstanceOfViewContent__GetExpressionText(); + + /** + * Returns the meta object for the '{@link rba.view.AllInstanceOfViewContent#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.AllInstanceOfViewContent#getUnderlyingType() + * @generated + */ + EOperation getAllInstanceOfViewContent__GetUnderlyingType(); + + /** + * Returns the meta object for class '{@link rba.view.IsDisplayedOn <em>Is Displayed On</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Is Displayed On</em>'. + * @see rba.view.IsDisplayedOn + * @generated + */ + EClass getIsDisplayedOn(); + + /** + * Returns the meta object for the '{@link rba.view.IsDisplayedOn#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.IsDisplayedOn#getSymbol() + * @generated + */ + EOperation getIsDisplayedOn__GetSymbol(); + + /** + * Returns the meta object for the '{@link rba.view.IsDisplayedOn#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.IsDisplayedOn#getUnderlyingType() + * @generated + */ + EOperation getIsDisplayedOn__GetUnderlyingType(); + + /** + * Returns the meta object for the '{@link rba.view.IsDisplayedOn#getExpressionText() <em>Get Expression Text</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Text</em>' operation. + * @see rba.view.IsDisplayedOn#getExpressionText() + * @generated + */ + EOperation getIsDisplayedOn__GetExpressionText(); + + /** + * Returns the meta object for class '{@link rba.view.IsChangedDisplay <em>Is Changed Display</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Is Changed Display</em>'. + * @see rba.view.IsChangedDisplay + * @generated + */ + EClass getIsChangedDisplay(); + + /** + * Returns the meta object for the '{@link rba.view.IsChangedDisplay#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.IsChangedDisplay#getSymbol() + * @generated + */ + EOperation getIsChangedDisplay__GetSymbol(); + + /** + * Returns the meta object for the '{@link rba.view.IsChangedDisplay#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.IsChangedDisplay#getUnderlyingType() + * @generated + */ + EOperation getIsChangedDisplay__GetUnderlyingType(); + + /** + * Returns the meta object for class '{@link rba.view.IsTranslatedViewTo <em>Is Translated View To</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Is Translated View To</em>'. + * @see rba.view.IsTranslatedViewTo + * @generated + */ + EClass getIsTranslatedViewTo(); + + /** + * Returns the meta object for the '{@link rba.view.IsTranslatedViewTo#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.IsTranslatedViewTo#getSymbol() + * @generated + */ + EOperation getIsTranslatedViewTo__GetSymbol(); + + /** + * Returns the meta object for the '{@link rba.view.IsTranslatedViewTo#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.IsTranslatedViewTo#getUnderlyingType() + * @generated + */ + EOperation getIsTranslatedViewTo__GetUnderlyingType(); + + /** + * Returns the meta object for the '{@link rba.view.IsTranslatedViewTo#getExpressionText() <em>Get Expression Text</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Text</em>' operation. + * @see rba.view.IsTranslatedViewTo#getExpressionText() + * @generated + */ + EOperation getIsTranslatedViewTo__GetExpressionText(); + + /** + * Returns the meta object for class '{@link rba.view.HideLowerPriority <em>Hide Lower Priority</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Hide Lower Priority</em>'. + * @see rba.view.HideLowerPriority + * @generated + */ + EClass getHideLowerPriority(); + + /** + * Returns the meta object for the '{@link rba.view.HideLowerPriority#getSymbol() <em>Get Symbol</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Symbol</em>' operation. + * @see rba.view.HideLowerPriority#getSymbol() + * @generated + */ + EOperation getHideLowerPriority__GetSymbol(); + + /** + * Returns the meta object for the '{@link rba.view.HideLowerPriority#getUnderlyingType() <em>Get Underlying Type</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Underlying Type</em>' operation. + * @see rba.view.HideLowerPriority#getUnderlyingType() + * @generated + */ + EOperation getHideLowerPriority__GetUnderlyingType(); + + /** + * Returns the meta object for the '{@link rba.view.HideLowerPriority#getExpressionText() <em>Get Expression Text</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Expression Text</em>' operation. + * @see rba.view.HideLowerPriority#getExpressionText() + * @generated + */ + EOperation getHideLowerPriority__GetExpressionText(); + + /** + * Returns the meta object for enum '{@link rba.view.BasePoint <em>Base Point</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Base Point</em>'. + * @see rba.view.BasePoint + * @generated + */ + EEnum getBasePoint(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + RBAViewFactory getRBAViewFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link rba.view.impl.ViewContentImpl <em>View Content</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContent() + * @generated + */ + EClass VIEW_CONTENT = eINSTANCE.getViewContent(); + + /** + * The meta object literal for the '<em><b>Size</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEW_CONTENT__SIZE = eINSTANCE.getViewContent_Size(); + + /** + * The meta object literal for the '<em><b>Get Expression Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation VIEW_CONTENT___GET_EXPRESSION_TYPE = eINSTANCE.getViewContent__GetExpressionType(); + + /** + * The meta object literal for the '{@link rba.view.impl.ViewContentSetImpl <em>View Content Set</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentSetImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContentSet() + * @generated + */ + EClass VIEW_CONTENT_SET = eINSTANCE.getViewContentSet(); + + /** + * The meta object literal for the '<em><b>Get Expression Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation VIEW_CONTENT_SET___GET_EXPRESSION_TYPE = eINSTANCE.getViewContentSet__GetExpressionType(); + + /** + * The meta object literal for the '{@link rba.view.impl.ViewContentStateImpl <em>View Content State</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentStateImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContentState() + * @generated + */ + EClass VIEW_CONTENT_STATE = eINSTANCE.getViewContentState(); + + /** + * The meta object literal for the '<em><b>Get Expression Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation VIEW_CONTENT_STATE___GET_EXPRESSION_TYPE = eINSTANCE.getViewContentState__GetExpressionType(); + + /** + * The meta object literal for the '{@link rba.view.impl.LayoutManagerImpl <em>Layout Manager</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.LayoutManagerImpl + * @see rba.view.impl.RBAViewPackageImpl#getLayoutManager() + * @generated + */ + EClass LAYOUT_MANAGER = eINSTANCE.getLayoutManager(); + + /** + * The meta object literal for the '<em><b>Collect Leaf Area</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation LAYOUT_MANAGER___COLLECT_LEAF_AREA = eINSTANCE.getLayoutManager__CollectLeafArea(); + + /** + * The meta object literal for the '{@link rba.view.impl.AlignedLayoutImpl <em>Aligned Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AlignedLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getAlignedLayout() + * @generated + */ + EClass ALIGNED_LAYOUT = eINSTANCE.getAlignedLayout(); + + /** + * The meta object literal for the '<em><b>Subarea</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ALIGNED_LAYOUT__SUBAREA = eINSTANCE.getAlignedLayout_Subarea(); + + /** + * The meta object literal for the '<em><b>Base Point</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ALIGNED_LAYOUT__BASE_POINT = eINSTANCE.getAlignedLayout_BasePoint(); + + /** + * The meta object literal for the '<em><b>Collect Leaf Area</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ALIGNED_LAYOUT___COLLECT_LEAF_AREA = eINSTANCE.getAlignedLayout__CollectLeafArea(); + + /** + * The meta object literal for the '{@link rba.view.impl.VerticalLayoutImpl <em>Vertical Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.VerticalLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getVerticalLayout() + * @generated + */ + EClass VERTICAL_LAYOUT = eINSTANCE.getVerticalLayout(); + + /** + * The meta object literal for the '{@link rba.view.impl.HorizontalLayoutImpl <em>Horizontal Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.HorizontalLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getHorizontalLayout() + * @generated + */ + EClass HORIZONTAL_LAYOUT = eINSTANCE.getHorizontalLayout(); + + /** + * The meta object literal for the '{@link rba.view.impl.FixedPositionLayoutImpl <em>Fixed Position Layout</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.FixedPositionLayoutImpl + * @see rba.view.impl.RBAViewPackageImpl#getFixedPositionLayout() + * @generated + */ + EClass FIXED_POSITION_LAYOUT = eINSTANCE.getFixedPositionLayout(); + + /** + * The meta object literal for the '<em><b>Sub Area Position</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference FIXED_POSITION_LAYOUT__SUB_AREA_POSITION = eINSTANCE.getFixedPositionLayout_SubAreaPosition(); + + /** + * The meta object literal for the '<em><b>Collect Leaf Area</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation FIXED_POSITION_LAYOUT___COLLECT_LEAF_AREA = eINSTANCE.getFixedPositionLayout__CollectLeafArea(); + + /** + * The meta object literal for the '{@link rba.view.impl.PositionContainerImpl <em>Position Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.PositionContainerImpl + * @see rba.view.impl.RBAViewPackageImpl#getPositionContainer() + * @generated + */ + EClass POSITION_CONTAINER = eINSTANCE.getPositionContainer(); + + /** + * The meta object literal for the '<em><b>X</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute POSITION_CONTAINER__X = eINSTANCE.getPositionContainer_X(); + + /** + * The meta object literal for the '<em><b>Y</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute POSITION_CONTAINER__Y = eINSTANCE.getPositionContainer_Y(); + + /** + * The meta object literal for the '<em><b>Base Point</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute POSITION_CONTAINER__BASE_POINT = eINSTANCE.getPositionContainer_BasePoint(); + + /** + * The meta object literal for the '<em><b>Area</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference POSITION_CONTAINER__AREA = eINSTANCE.getPositionContainer_Area(); + + /** + * The meta object literal for the '<em><b>Offset</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference POSITION_CONTAINER__OFFSET = eINSTANCE.getPositionContainer_Offset(); + + /** + * The meta object literal for the '{@link rba.view.impl.DisplayImpl <em>Display</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.DisplayImpl + * @see rba.view.impl.RBAViewPackageImpl#getDisplay() + * @generated + */ + EClass DISPLAY = eINSTANCE.getDisplay(); + + /** + * The meta object literal for the '<em><b>Root</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DISPLAY__ROOT = eINSTANCE.getDisplay_Root(); + + /** + * The meta object literal for the '<em><b>Size</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DISPLAY__SIZE = eINSTANCE.getDisplay_Size(); + + /** + * The meta object literal for the '{@link rba.view.impl.CompositeAreaImpl <em>Composite Area</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.CompositeAreaImpl + * @see rba.view.impl.RBAViewPackageImpl#getCompositeArea() + * @generated + */ + EClass COMPOSITE_AREA = eINSTANCE.getCompositeArea(); + + /** + * The meta object literal for the '<em><b>Layout</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference COMPOSITE_AREA__LAYOUT = eINSTANCE.getCompositeArea_Layout(); + + /** + * The meta object literal for the '<em><b>Collect Leaf Area</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation COMPOSITE_AREA___COLLECT_LEAF_AREA = eINSTANCE.getCompositeArea__CollectLeafArea(); + + /** + * The meta object literal for the '<em><b>Get Expression Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation COMPOSITE_AREA___GET_EXPRESSION_TYPE = eINSTANCE.getCompositeArea__GetExpressionType(); + + /** + * The meta object literal for the '{@link rba.view.impl.AreaImpl <em>Area</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AreaImpl + * @see rba.view.impl.RBAViewPackageImpl#getArea() + * @generated + */ + EClass AREA = eINSTANCE.getArea(); + + /** + * The meta object literal for the '<em><b>Zorder</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference AREA__ZORDER = eINSTANCE.getArea_Zorder(); + + /** + * The meta object literal for the '<em><b>Size</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference AREA__SIZE = eINSTANCE.getArea_Size(); + + /** + * The meta object literal for the '<em><b>Get Expression Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation AREA___GET_EXPRESSION_TYPE = eINSTANCE.getArea__GetExpressionType(); + + /** + * The meta object literal for the '{@link rba.view.impl.AreaSetImpl <em>Area Set</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AreaSetImpl + * @see rba.view.impl.RBAViewPackageImpl#getAreaSet() + * @generated + */ + EClass AREA_SET = eINSTANCE.getAreaSet(); + + /** + * The meta object literal for the '<em><b>Get Expression Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation AREA_SET___GET_EXPRESSION_TYPE = eINSTANCE.getAreaSet__GetExpressionType(); + + /** + * The meta object literal for the '{@link rba.view.impl.SizeIdentifierImpl <em>Size Identifier</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.SizeIdentifierImpl + * @see rba.view.impl.RBAViewPackageImpl#getSizeIdentifier() + * @generated + */ + EClass SIZE_IDENTIFIER = eINSTANCE.getSizeIdentifier(); + + /** + * The meta object literal for the '{@link rba.view.impl.SizeImpl <em>Size</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.SizeImpl + * @see rba.view.impl.RBAViewPackageImpl#getSize() + * @generated + */ + EClass SIZE = eINSTANCE.getSize(); + + /** + * The meta object literal for the '<em><b>Width</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SIZE__WIDTH = eINSTANCE.getSize_Width(); + + /** + * The meta object literal for the '<em><b>Height</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SIZE__HEIGHT = eINSTANCE.getSize_Height(); + + /** + * The meta object literal for the '{@link rba.view.impl.SizeReferenceImpl <em>Size Reference</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.SizeReferenceImpl + * @see rba.view.impl.RBAViewPackageImpl#getSizeReference() + * @generated + */ + EClass SIZE_REFERENCE = eINSTANCE.getSizeReference(); + + /** + * The meta object literal for the '<em><b>Size</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SIZE_REFERENCE__SIZE = eINSTANCE.getSizeReference_Size(); + + /** + * The meta object literal for the '{@link rba.view.impl.OffsetImpl <em>Offset</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.OffsetImpl + * @see rba.view.impl.RBAViewPackageImpl#getOffset() + * @generated + */ + EClass OFFSET = eINSTANCE.getOffset(); + + /** + * The meta object literal for the '<em><b>X</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute OFFSET__X = eINSTANCE.getOffset_X(); + + /** + * The meta object literal for the '<em><b>Y</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute OFFSET__Y = eINSTANCE.getOffset_Y(); + + /** + * The meta object literal for the '<em><b>Size</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OFFSET__SIZE = eINSTANCE.getOffset_Size(); + + /** + * The meta object literal for the '{@link rba.view.impl.AreaOperatorImpl <em>Area Operator</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AreaOperatorImpl + * @see rba.view.impl.RBAViewPackageImpl#getAreaOperator() + * @generated + */ + EClass AREA_OPERATOR = eINSTANCE.getAreaOperator(); + + /** + * The meta object literal for the '{@link rba.view.impl.IsDisplayedImpl <em>Is Displayed</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsDisplayedImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsDisplayed() + * @generated + */ + EClass IS_DISPLAYED = eINSTANCE.getIsDisplayed(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_DISPLAYED___GET_SYMBOL = eINSTANCE.getIsDisplayed__GetSymbol(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_DISPLAYED___GET_UNDERLYING_TYPE = eINSTANCE.getIsDisplayed__GetUnderlyingType(); + + /** + * The meta object literal for the '{@link rba.view.impl.DisplayingContentImpl <em>Displaying Content</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.DisplayingContentImpl + * @see rba.view.impl.RBAViewPackageImpl#getDisplayingContent() + * @generated + */ + EClass DISPLAYING_CONTENT = eINSTANCE.getDisplayingContent(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation DISPLAYING_CONTENT___GET_SYMBOL = eINSTANCE.getDisplayingContent__GetSymbol(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation DISPLAYING_CONTENT___GET_UNDERLYING_TYPE = eINSTANCE.getDisplayingContent__GetUnderlyingType(); + + /** + * The meta object literal for the '{@link rba.view.impl.IsHiddenImpl <em>Is Hidden</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsHiddenImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsHidden() + * @generated + */ + EClass IS_HIDDEN = eINSTANCE.getIsHidden(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_HIDDEN___GET_SYMBOL = eINSTANCE.getIsHidden__GetSymbol(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_HIDDEN___GET_UNDERLYING_TYPE = eINSTANCE.getIsHidden__GetUnderlyingType(); + + /** + * The meta object literal for the '{@link rba.view.impl.ViewContentOperatorImpl <em>View Content Operator</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.ViewContentOperatorImpl + * @see rba.view.impl.RBAViewPackageImpl#getViewContentOperator() + * @generated + */ + EClass VIEW_CONTENT_OPERATOR = eINSTANCE.getViewContentOperator(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation VIEW_CONTENT_OPERATOR___GET_UNDERLYING_TYPE = eINSTANCE.getViewContentOperator__GetUnderlyingType(); + + /** + * The meta object literal for the '{@link rba.view.impl.IsVisibleImpl <em>Is Visible</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsVisibleImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsVisible() + * @generated + */ + EClass IS_VISIBLE = eINSTANCE.getIsVisible(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_VISIBLE___GET_SYMBOL = eINSTANCE.getIsVisible__GetSymbol(); + + /** + * The meta object literal for the '{@link rba.view.impl.AllInstanceOfAreaImpl <em>All Instance Of Area</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AllInstanceOfAreaImpl + * @see rba.view.impl.RBAViewPackageImpl#getAllInstanceOfArea() + * @generated + */ + EClass ALL_INSTANCE_OF_AREA = eINSTANCE.getAllInstanceOfArea(); + + /** + * The meta object literal for the '<em><b>Get Expression Text</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ALL_INSTANCE_OF_AREA___GET_EXPRESSION_TEXT = eINSTANCE.getAllInstanceOfArea__GetExpressionText(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ALL_INSTANCE_OF_AREA___GET_UNDERLYING_TYPE = eINSTANCE.getAllInstanceOfArea__GetUnderlyingType(); + + /** + * The meta object literal for the '{@link rba.view.impl.AllInstanceOfViewContentImpl <em>All Instance Of View Content</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.AllInstanceOfViewContentImpl + * @see rba.view.impl.RBAViewPackageImpl#getAllInstanceOfViewContent() + * @generated + */ + EClass ALL_INSTANCE_OF_VIEW_CONTENT = eINSTANCE.getAllInstanceOfViewContent(); + + /** + * The meta object literal for the '<em><b>Get Expression Text</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ALL_INSTANCE_OF_VIEW_CONTENT___GET_EXPRESSION_TEXT = eINSTANCE + .getAllInstanceOfViewContent__GetExpressionText(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ALL_INSTANCE_OF_VIEW_CONTENT___GET_UNDERLYING_TYPE = eINSTANCE + .getAllInstanceOfViewContent__GetUnderlyingType(); + + /** + * The meta object literal for the '{@link rba.view.impl.IsDisplayedOnImpl <em>Is Displayed On</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsDisplayedOnImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsDisplayedOn() + * @generated + */ + EClass IS_DISPLAYED_ON = eINSTANCE.getIsDisplayedOn(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_DISPLAYED_ON___GET_SYMBOL = eINSTANCE.getIsDisplayedOn__GetSymbol(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_DISPLAYED_ON___GET_UNDERLYING_TYPE = eINSTANCE.getIsDisplayedOn__GetUnderlyingType(); + + /** + * The meta object literal for the '<em><b>Get Expression Text</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_DISPLAYED_ON___GET_EXPRESSION_TEXT = eINSTANCE.getIsDisplayedOn__GetExpressionText(); + + /** + * The meta object literal for the '{@link rba.view.impl.IsChangedDisplayImpl <em>Is Changed Display</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsChangedDisplayImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsChangedDisplay() + * @generated + */ + EClass IS_CHANGED_DISPLAY = eINSTANCE.getIsChangedDisplay(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_CHANGED_DISPLAY___GET_SYMBOL = eINSTANCE.getIsChangedDisplay__GetSymbol(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_CHANGED_DISPLAY___GET_UNDERLYING_TYPE = eINSTANCE.getIsChangedDisplay__GetUnderlyingType(); + + /** + * The meta object literal for the '{@link rba.view.impl.IsTranslatedViewToImpl <em>Is Translated View To</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.IsTranslatedViewToImpl + * @see rba.view.impl.RBAViewPackageImpl#getIsTranslatedViewTo() + * @generated + */ + EClass IS_TRANSLATED_VIEW_TO = eINSTANCE.getIsTranslatedViewTo(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_TRANSLATED_VIEW_TO___GET_SYMBOL = eINSTANCE.getIsTranslatedViewTo__GetSymbol(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_TRANSLATED_VIEW_TO___GET_UNDERLYING_TYPE = eINSTANCE.getIsTranslatedViewTo__GetUnderlyingType(); + + /** + * The meta object literal for the '<em><b>Get Expression Text</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation IS_TRANSLATED_VIEW_TO___GET_EXPRESSION_TEXT = eINSTANCE.getIsTranslatedViewTo__GetExpressionText(); + + /** + * The meta object literal for the '{@link rba.view.impl.HideLowerPriorityImpl <em>Hide Lower Priority</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.impl.HideLowerPriorityImpl + * @see rba.view.impl.RBAViewPackageImpl#getHideLowerPriority() + * @generated + */ + EClass HIDE_LOWER_PRIORITY = eINSTANCE.getHideLowerPriority(); + + /** + * The meta object literal for the '<em><b>Get Symbol</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation HIDE_LOWER_PRIORITY___GET_SYMBOL = eINSTANCE.getHideLowerPriority__GetSymbol(); + + /** + * The meta object literal for the '<em><b>Get Underlying Type</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation HIDE_LOWER_PRIORITY___GET_UNDERLYING_TYPE = eINSTANCE.getHideLowerPriority__GetUnderlyingType(); + + /** + * The meta object literal for the '<em><b>Get Expression Text</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation HIDE_LOWER_PRIORITY___GET_EXPRESSION_TEXT = eINSTANCE.getHideLowerPriority__GetExpressionText(); + + /** + * The meta object literal for the '{@link rba.view.BasePoint <em>Base Point</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see rba.view.BasePoint + * @see rba.view.impl.RBAViewPackageImpl#getBasePoint() + * @generated + */ + EEnum BASE_POINT = eINSTANCE.getBasePoint(); + + } + +} //RBAViewPackage diff --git a/rba.model.view/src/rba/view/Size.java b/rba.model.view/src/rba/view/Size.java new file mode 100644 index 0000000..e7bb341 --- /dev/null +++ b/rba.model.view/src/rba/view/Size.java @@ -0,0 +1,133 @@ +/** + */ +package rba.view; + +import rba.core.PackagableElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Size</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.Size#getWidth <em>Width</em>}</li> + * <li>{@link rba.view.Size#getHeight <em>Height</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getSize() + * @model + * @generated + */ +public interface Size extends PackagableElement, SizeIdentifier { + /** + * Returns the value of the '<em><b>Width</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Width</em>' attribute. + * @see #isSetWidth() + * @see #unsetWidth() + * @see #setWidth(int) + * @see rba.view.RBAViewPackage#getSize_Width() + * @model unsettable="true" required="true" + * @generated + */ + int getWidth(); + + /** + * Sets the value of the '{@link rba.view.Size#getWidth <em>Width</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Width</em>' attribute. + * @see #isSetWidth() + * @see #unsetWidth() + * @see #getWidth() + * @generated + */ + void setWidth(int value); + + /** + * Unsets the value of the '{@link rba.view.Size#getWidth <em>Width</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetWidth() + * @see #getWidth() + * @see #setWidth(int) + * @generated + */ + void unsetWidth(); + + /** + * Returns whether the value of the '{@link rba.view.Size#getWidth <em>Width</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Width</em>' attribute is set. + * @see #unsetWidth() + * @see #getWidth() + * @see #setWidth(int) + * @generated + */ + boolean isSetWidth(); + + /** + * Returns the value of the '<em><b>Height</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Height</em>' attribute. + * @see #isSetHeight() + * @see #unsetHeight() + * @see #setHeight(int) + * @see rba.view.RBAViewPackage#getSize_Height() + * @model unsettable="true" required="true" + * @generated + */ + int getHeight(); + + /** + * Sets the value of the '{@link rba.view.Size#getHeight <em>Height</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Height</em>' attribute. + * @see #isSetHeight() + * @see #unsetHeight() + * @see #getHeight() + * @generated + */ + void setHeight(int value); + + /** + * Unsets the value of the '{@link rba.view.Size#getHeight <em>Height</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetHeight() + * @see #getHeight() + * @see #setHeight(int) + * @generated + */ + void unsetHeight(); + + /** + * Returns whether the value of the '{@link rba.view.Size#getHeight <em>Height</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Height</em>' attribute is set. + * @see #unsetHeight() + * @see #getHeight() + * @see #setHeight(int) + * @generated + */ + boolean isSetHeight(); + +} // Size diff --git a/rba.model.view/src/rba/view/SizeIdentifier.java b/rba.model.view/src/rba/view/SizeIdentifier.java new file mode 100644 index 0000000..3c98089 --- /dev/null +++ b/rba.model.view/src/rba/view/SizeIdentifier.java @@ -0,0 +1,18 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Size Identifier</b></em>'. + * <!-- end-user-doc --> + * + * + * @see rba.view.RBAViewPackage#getSizeIdentifier() + * @model abstract="true" + * @generated + */ +public interface SizeIdentifier extends EObject { +} // SizeIdentifier diff --git a/rba.model.view/src/rba/view/SizeReference.java b/rba.model.view/src/rba/view/SizeReference.java new file mode 100644 index 0000000..9f10a16 --- /dev/null +++ b/rba.model.view/src/rba/view/SizeReference.java @@ -0,0 +1,48 @@ +/** + */ +package rba.view; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Size Reference</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.SizeReference#getSize <em>Size</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getSizeReference() + * @model + * @generated + */ +public interface SizeReference extends SizeIdentifier { + /** + * Returns the value of the '<em><b>Size</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Size</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Size</em>' reference. + * @see #setSize(Size) + * @see rba.view.RBAViewPackage#getSizeReference_Size() + * @model + * @generated + */ + Size getSize(); + + /** + * Sets the value of the '{@link rba.view.SizeReference#getSize <em>Size</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Size</em>' reference. + * @see #getSize() + * @generated + */ + void setSize(Size value); + +} // SizeReference diff --git a/rba.model.view/src/rba/view/VerticalLayout.java b/rba.model.view/src/rba/view/VerticalLayout.java new file mode 100644 index 0000000..7a6fbc1 --- /dev/null +++ b/rba.model.view/src/rba/view/VerticalLayout.java @@ -0,0 +1,20 @@ +/** + */ +package rba.view; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Vertical Layout</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getVerticalLayout() + * @model + * @generated + */ +public interface VerticalLayout extends AlignedLayout { +} // VerticalLayout diff --git a/rba.model.view/src/rba/view/ViewContent.java b/rba.model.view/src/rba/view/ViewContent.java new file mode 100644 index 0000000..ded5378 --- /dev/null +++ b/rba.model.view/src/rba/view/ViewContent.java @@ -0,0 +1,58 @@ +/** + */ +package rba.view; + +import org.eclipse.emf.common.util.EList; + +import rba.core.Content; +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>View Content</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link rba.view.ViewContent#getSize <em>Size</em>}</li> + * </ul> + * + * @see rba.view.RBAViewPackage#getViewContent() + * @model + * @generated + */ +public interface ViewContent extends Content { + /** + * Returns the value of the '<em><b>Size</b></em>' containment reference list. + * The list contents are of type {@link rba.view.SizeIdentifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Size</em>' containment reference list. + * @see rba.view.RBAViewPackage#getViewContent_Size() + * @model containment="true" + * @generated + */ + EList<SizeIdentifier> getSize(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.CONTENT;'" + * @generated + */ + ExpressionType getExpressionType(); + +} // ViewContent diff --git a/rba.model.view/src/rba/view/ViewContentOperator.java b/rba.model.view/src/rba/view/ViewContentOperator.java new file mode 100644 index 0000000..c6df3ab --- /dev/null +++ b/rba.model.view/src/rba/view/ViewContentOperator.java @@ -0,0 +1,35 @@ +/** + */ +package rba.view; + +import rba.core.ContentOperator; +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>View Content Operator</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getViewContentOperator() + * @model abstract="true" + * @generated + */ +public interface ViewContentOperator extends ContentOperator { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.BOOLEAN;'" + * @generated + */ + ExpressionType getUnderlyingType(); + +} // ViewContentOperator diff --git a/rba.model.view/src/rba/view/ViewContentSet.java b/rba.model.view/src/rba/view/ViewContentSet.java new file mode 100644 index 0000000..b0e6ddc --- /dev/null +++ b/rba.model.view/src/rba/view/ViewContentSet.java @@ -0,0 +1,35 @@ +/** + */ +package rba.view; + +import rba.core.ContentSet; +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>View Content Set</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getViewContentSet() + * @model + * @generated + */ +public interface ViewContentSet extends ContentSet { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.SET_OF_CONTENT;'" + * @generated + */ + ExpressionType getExpressionType(); + +} // ViewContentSet diff --git a/rba.model.view/src/rba/view/ViewContentState.java b/rba.model.view/src/rba/view/ViewContentState.java new file mode 100644 index 0000000..c0ffb15 --- /dev/null +++ b/rba.model.view/src/rba/view/ViewContentState.java @@ -0,0 +1,35 @@ +/** + */ +package rba.view; + +import rba.core.ContentState; +import rba.core.ExpressionType; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>View Content State</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * <!-- end-model-doc --> + * + * + * @see rba.view.RBAViewPackage#getViewContentState() + * @model + * @generated + */ +public interface ViewContentState extends ContentState { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @Override + * <!-- end-model-doc --> + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='return ExpressionType.CONTENT_STATE;'" + * @generated + */ + ExpressionType getExpressionType(); + +} // ViewContentState diff --git a/rba.model.view/src/rba/view/impl/AlignedLayoutImpl.java b/rba.model.view/src/rba/view/impl/AlignedLayoutImpl.java new file mode 100644 index 0000000..85ab299 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/AlignedLayoutImpl.java @@ -0,0 +1,221 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; +import rba.view.AlignedLayout; +import rba.view.Area; +import rba.view.BasePoint; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Aligned Layout</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.AlignedLayoutImpl#getSubarea <em>Subarea</em>}</li> + * <li>{@link rba.view.impl.AlignedLayoutImpl#getBasePoint <em>Base Point</em>}</li> + * </ul> + * + * @generated + */ +public abstract class AlignedLayoutImpl extends LayoutManagerImpl implements AlignedLayout { + /** + * The cached value of the '{@link #getSubarea() <em>Subarea</em>}' reference list. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getSubarea() + * @generated + * @ordered + */ + protected EList<Area> subarea; + + /** + * The default value of the '{@link #getBasePoint() <em>Base Point</em>}' attribute. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getBasePoint() + * @generated + * @ordered + */ + protected static final BasePoint BASE_POINT_EDEFAULT = BasePoint.LEFT_TOP; + + /** + * The cached value of the '{@link #getBasePoint() <em>Base Point</em>}' attribute. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getBasePoint() + * @generated + * @ordered + */ + protected BasePoint basePoint = BASE_POINT_EDEFAULT; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected AlignedLayoutImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.ALIGNED_LAYOUT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<Area> getSubarea() { + if (subarea == null) { + subarea = new EObjectResolvingEList<Area>(Area.class, this, RBAViewPackage.ALIGNED_LAYOUT__SUBAREA); + } + return subarea; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public BasePoint getBasePoint() { + return basePoint; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setBasePoint(BasePoint newBasePoint) { + BasePoint oldBasePoint = basePoint; + basePoint = newBasePoint == null ? BASE_POINT_EDEFAULT : newBasePoint; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.ALIGNED_LAYOUT__BASE_POINT, + oldBasePoint, basePoint)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + public EList<Area> collectLeafArea() { + java.util.Set<Area> areas = new java.util.HashSet<Area>(); + for (Area area : getSubarea()) { + areas.addAll(area.collectLeafAllocatable().stream().map(allocatable -> (Area) allocatable) + .collect(java.util.stream.Collectors.toList())); + } + return new org.eclipse.emf.common.util.BasicEList<Area>(areas); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.ALIGNED_LAYOUT__SUBAREA: + return getSubarea(); + case RBAViewPackage.ALIGNED_LAYOUT__BASE_POINT: + return getBasePoint(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.ALIGNED_LAYOUT__SUBAREA: + getSubarea().clear(); + getSubarea().addAll((Collection<? extends Area>) newValue); + return; + case RBAViewPackage.ALIGNED_LAYOUT__BASE_POINT: + setBasePoint((BasePoint) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.ALIGNED_LAYOUT__SUBAREA: + getSubarea().clear(); + return; + case RBAViewPackage.ALIGNED_LAYOUT__BASE_POINT: + setBasePoint(BASE_POINT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.ALIGNED_LAYOUT__SUBAREA: + return subarea != null && !subarea.isEmpty(); + case RBAViewPackage.ALIGNED_LAYOUT__BASE_POINT: + return basePoint != BASE_POINT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.ALIGNED_LAYOUT___COLLECT_LEAF_AREA: + return collectLeafArea(); + } + return super.eInvoke(operationID, arguments); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (basePoint: "); + result.append(basePoint); + result.append(')'); + return result.toString(); + } + +} // AlignedLayoutImpl diff --git a/rba.model.view/src/rba/view/impl/AllInstanceOfAreaImpl.java b/rba.model.view/src/rba/view/impl/AllInstanceOfAreaImpl.java new file mode 100644 index 0000000..e2f9da0 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/AllInstanceOfAreaImpl.java @@ -0,0 +1,72 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.core.impl.SetExpressionImpl; + +import rba.view.AllInstanceOfArea; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>All Instance Of Area</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class AllInstanceOfAreaImpl extends SetExpressionImpl implements AllInstanceOfArea { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected AllInstanceOfAreaImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.ALL_INSTANCE_OF_AREA; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public String getExpressionText() { + return "AREA"; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getUnderlyingType() { + return ExpressionType.SET_OF_AREA; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.ALL_INSTANCE_OF_AREA___GET_EXPRESSION_TEXT: + return getExpressionText(); + case RBAViewPackage.ALL_INSTANCE_OF_AREA___GET_UNDERLYING_TYPE: + return getUnderlyingType(); + } + return super.eInvoke(operationID, arguments); + } + +} // AllInstanceOfAreaImpl diff --git a/rba.model.view/src/rba/view/impl/AllInstanceOfViewContentImpl.java b/rba.model.view/src/rba/view/impl/AllInstanceOfViewContentImpl.java new file mode 100644 index 0000000..15b4e5b --- /dev/null +++ b/rba.model.view/src/rba/view/impl/AllInstanceOfViewContentImpl.java @@ -0,0 +1,73 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.core.impl.SetExpressionImpl; + +import rba.view.AllInstanceOfViewContent; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>All Instance Of View Content</b></em>'. <!-- + * end-user-doc --> + * + * @generated + */ +public class AllInstanceOfViewContentImpl extends SetExpressionImpl implements AllInstanceOfViewContent { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected AllInstanceOfViewContentImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.ALL_INSTANCE_OF_VIEW_CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public String getExpressionText() { + return "ALL_VIEWCONTENTS"; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getUnderlyingType() { + return ExpressionType.SET_OF_CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.ALL_INSTANCE_OF_VIEW_CONTENT___GET_EXPRESSION_TEXT: + return getExpressionText(); + case RBAViewPackage.ALL_INSTANCE_OF_VIEW_CONTENT___GET_UNDERLYING_TYPE: + return getUnderlyingType(); + } + return super.eInvoke(operationID, arguments); + } + +} // AllInstanceOfViewContentImpl diff --git a/rba.model.view/src/rba/view/impl/AreaImpl.java b/rba.model.view/src/rba/view/impl/AreaImpl.java new file mode 100644 index 0000000..d12a43a --- /dev/null +++ b/rba.model.view/src/rba/view/impl/AreaImpl.java @@ -0,0 +1,232 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import rba.core.Expression; +import rba.core.ExpressionType; +import rba.core.impl.AllocatableImpl; +import rba.view.Area; +import rba.view.RBAViewPackage; +import rba.view.SizeIdentifier; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Area</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.AreaImpl#getZorder <em>Zorder</em>}</li> + * <li>{@link rba.view.impl.AreaImpl#getSize <em>Size</em>}</li> + * </ul> + * + * @generated + */ +public class AreaImpl extends AllocatableImpl implements Area { + /** + * The cached value of the '{@link #getZorder() <em>Zorder</em>}' containment reference. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getZorder() + * @generated + * @ordered + */ + protected Expression zorder; + + /** + * The cached value of the '{@link #getSize() <em>Size</em>}' containment reference list. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getSize() + * @generated + * @ordered + */ + protected EList<SizeIdentifier> size; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected AreaImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.AREA; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Expression getZorder() { + return zorder; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetZorder(Expression newZorder, NotificationChain msgs) { + Expression oldZorder = zorder; + zorder = newZorder; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RBAViewPackage.AREA__ZORDER, + oldZorder, newZorder); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setZorder(Expression newZorder) { + if (newZorder != zorder) { + NotificationChain msgs = null; + if (zorder != null) + msgs = ((InternalEObject) zorder).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.AREA__ZORDER, null, msgs); + if (newZorder != null) + msgs = ((InternalEObject) newZorder).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.AREA__ZORDER, null, msgs); + msgs = basicSetZorder(newZorder, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.AREA__ZORDER, newZorder, newZorder)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<SizeIdentifier> getSize() { + if (size == null) { + size = new EObjectContainmentEList<SizeIdentifier>(SizeIdentifier.class, this, RBAViewPackage.AREA__SIZE); + } + return size; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getExpressionType() { + return ExpressionType.AREA; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case RBAViewPackage.AREA__ZORDER: + return basicSetZorder(null, msgs); + case RBAViewPackage.AREA__SIZE: + return ((InternalEList<?>) getSize()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.AREA__ZORDER: + return getZorder(); + case RBAViewPackage.AREA__SIZE: + return getSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.AREA__ZORDER: + setZorder((Expression) newValue); + return; + case RBAViewPackage.AREA__SIZE: + getSize().clear(); + getSize().addAll((Collection<? extends SizeIdentifier>) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.AREA__ZORDER: + setZorder((Expression) null); + return; + case RBAViewPackage.AREA__SIZE: + getSize().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.AREA__ZORDER: + return zorder != null; + case RBAViewPackage.AREA__SIZE: + return size != null && !size.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.AREA___GET_EXPRESSION_TYPE: + return getExpressionType(); + } + return super.eInvoke(operationID, arguments); + } + +} // AreaImpl diff --git a/rba.model.view/src/rba/view/impl/AreaOperatorImpl.java b/rba.model.view/src/rba/view/impl/AreaOperatorImpl.java new file mode 100644 index 0000000..054aca6 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/AreaOperatorImpl.java @@ -0,0 +1,34 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.impl.AllocatableOperatorImpl; +import rba.view.AreaOperator; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Area Operator</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public abstract class AreaOperatorImpl extends AllocatableOperatorImpl implements AreaOperator { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected AreaOperatorImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.AREA_OPERATOR; + } + +} // AreaOperatorImpl diff --git a/rba.model.view/src/rba/view/impl/AreaSetImpl.java b/rba.model.view/src/rba/view/impl/AreaSetImpl.java new file mode 100644 index 0000000..5c9f99e --- /dev/null +++ b/rba.model.view/src/rba/view/impl/AreaSetImpl.java @@ -0,0 +1,57 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import rba.core.ExpressionType; +import rba.core.impl.AllocatableSetImpl; +import rba.view.AreaSet; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Area Set</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class AreaSetImpl extends AllocatableSetImpl implements AreaSet { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected AreaSetImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.AREA_SET; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getExpressionType() { + return ExpressionType.SET_OF_AREA; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.AREA_SET___GET_EXPRESSION_TYPE: + return getExpressionType(); + } + return super.eInvoke(operationID, arguments); + } + +} // AreaSetImpl diff --git a/rba.model.view/src/rba/view/impl/CompositeAreaImpl.java b/rba.model.view/src/rba/view/impl/CompositeAreaImpl.java new file mode 100644 index 0000000..a407823 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/CompositeAreaImpl.java @@ -0,0 +1,214 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import rba.core.ExpressionType; + +import rba.core.impl.PackagableElementImpl; +import rba.view.Area; +import rba.view.CompositeArea; +import rba.view.LayoutManager; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Composite Area</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.CompositeAreaImpl#getLayout <em>Layout</em>}</li> + * </ul> + * + * @generated + */ +public class CompositeAreaImpl extends PackagableElementImpl implements CompositeArea { + /** + * The cached value of the '{@link #getLayout() <em>Layout</em>}' containment reference. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getLayout() + * @generated + * @ordered + */ + protected LayoutManager layout; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected CompositeAreaImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.COMPOSITE_AREA; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public LayoutManager getLayout() { + return layout; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetLayout(LayoutManager newLayout, NotificationChain msgs) { + LayoutManager oldLayout = layout; + layout = newLayout; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + RBAViewPackage.COMPOSITE_AREA__LAYOUT, oldLayout, newLayout); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setLayout(LayoutManager newLayout) { + if (newLayout != layout) { + NotificationChain msgs = null; + if (layout != null) + msgs = ((InternalEObject) layout).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.COMPOSITE_AREA__LAYOUT, null, msgs); + if (newLayout != null) + msgs = ((InternalEObject) newLayout).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.COMPOSITE_AREA__LAYOUT, null, msgs); + msgs = basicSetLayout(newLayout, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.COMPOSITE_AREA__LAYOUT, newLayout, + newLayout)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<Area> collectLeafArea() { + java.util.Set<Area> areas = new java.util.HashSet<Area>(); + if (layout != null) { + areas.addAll(layout.collectLeafArea()); + } + + return new org.eclipse.emf.common.util.BasicEList<Area>(areas); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getExpressionType() { + return ExpressionType.AREA; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case RBAViewPackage.COMPOSITE_AREA__LAYOUT: + return basicSetLayout(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.COMPOSITE_AREA__LAYOUT: + return getLayout(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.COMPOSITE_AREA__LAYOUT: + setLayout((LayoutManager) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.COMPOSITE_AREA__LAYOUT: + setLayout((LayoutManager) null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.COMPOSITE_AREA__LAYOUT: + return layout != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.COMPOSITE_AREA___COLLECT_LEAF_AREA: + return collectLeafArea(); + case RBAViewPackage.COMPOSITE_AREA___GET_EXPRESSION_TYPE: + return getExpressionType(); + } + return super.eInvoke(operationID, arguments); + } + +} // CompositeAreaImpl diff --git a/rba.model.view/src/rba/view/impl/DisplayImpl.java b/rba.model.view/src/rba/view/impl/DisplayImpl.java new file mode 100644 index 0000000..353c46f --- /dev/null +++ b/rba.model.view/src/rba/view/impl/DisplayImpl.java @@ -0,0 +1,240 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import rba.core.impl.PackagableElementImpl; +import rba.view.CompositeArea; +import rba.view.Display; +import rba.view.RBAViewPackage; +import rba.view.SizeIdentifier; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Display</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.DisplayImpl#getRoot <em>Root</em>}</li> + * <li>{@link rba.view.impl.DisplayImpl#getSize <em>Size</em>}</li> + * </ul> + * + * @generated + */ +public class DisplayImpl extends PackagableElementImpl implements Display { + /** + * The cached value of the '{@link #getRoot() <em>Root</em>}' containment reference. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getRoot() + * @generated + * @ordered + */ + protected CompositeArea root; + + /** + * The cached value of the '{@link #getSize() <em>Size</em>}' containment reference. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getSize() + * @generated + * @ordered + */ + protected SizeIdentifier size; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected DisplayImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.DISPLAY; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public CompositeArea getRoot() { + return root; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRoot(CompositeArea newRoot, NotificationChain msgs) { + CompositeArea oldRoot = root; + root = newRoot; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RBAViewPackage.DISPLAY__ROOT, + oldRoot, newRoot); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setRoot(CompositeArea newRoot) { + if (newRoot != root) { + NotificationChain msgs = null; + if (root != null) + msgs = ((InternalEObject) root).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.DISPLAY__ROOT, null, msgs); + if (newRoot != null) + msgs = ((InternalEObject) newRoot).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.DISPLAY__ROOT, null, msgs); + msgs = basicSetRoot(newRoot, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.DISPLAY__ROOT, newRoot, newRoot)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public SizeIdentifier getSize() { + return size; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSize(SizeIdentifier newSize, NotificationChain msgs) { + SizeIdentifier oldSize = size; + size = newSize; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RBAViewPackage.DISPLAY__SIZE, + oldSize, newSize); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setSize(SizeIdentifier newSize) { + if (newSize != size) { + NotificationChain msgs = null; + if (size != null) + msgs = ((InternalEObject) size).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.DISPLAY__SIZE, null, msgs); + if (newSize != null) + msgs = ((InternalEObject) newSize).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.DISPLAY__SIZE, null, msgs); + msgs = basicSetSize(newSize, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.DISPLAY__SIZE, newSize, newSize)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case RBAViewPackage.DISPLAY__ROOT: + return basicSetRoot(null, msgs); + case RBAViewPackage.DISPLAY__SIZE: + return basicSetSize(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.DISPLAY__ROOT: + return getRoot(); + case RBAViewPackage.DISPLAY__SIZE: + return getSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.DISPLAY__ROOT: + setRoot((CompositeArea) newValue); + return; + case RBAViewPackage.DISPLAY__SIZE: + setSize((SizeIdentifier) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.DISPLAY__ROOT: + setRoot((CompositeArea) null); + return; + case RBAViewPackage.DISPLAY__SIZE: + setSize((SizeIdentifier) null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.DISPLAY__ROOT: + return root != null; + case RBAViewPackage.DISPLAY__SIZE: + return size != null; + } + return super.eIsSet(featureID); + } + +} // DisplayImpl diff --git a/rba.model.view/src/rba/view/impl/DisplayingContentImpl.java b/rba.model.view/src/rba/view/impl/DisplayingContentImpl.java new file mode 100644 index 0000000..d8178dd --- /dev/null +++ b/rba.model.view/src/rba/view/impl/DisplayingContentImpl.java @@ -0,0 +1,70 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.view.DisplayingContent; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Displaying Content</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class DisplayingContentImpl extends AreaOperatorImpl implements DisplayingContent { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected DisplayingContentImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.DISPLAYING_CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public String getSymbol() { + return ".displayingContent()"; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getUnderlyingType() { + return ExpressionType.CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.DISPLAYING_CONTENT___GET_SYMBOL: + return getSymbol(); + case RBAViewPackage.DISPLAYING_CONTENT___GET_UNDERLYING_TYPE: + return getUnderlyingType(); + } + return super.eInvoke(operationID, arguments); + } + +} // DisplayingContentImpl diff --git a/rba.model.view/src/rba/view/impl/FixedPositionLayoutImpl.java b/rba.model.view/src/rba/view/impl/FixedPositionLayoutImpl.java new file mode 100644 index 0000000..62eb041 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/FixedPositionLayoutImpl.java @@ -0,0 +1,169 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import rba.view.Area; +import rba.view.FixedPositionLayout; +import rba.view.PositionContainer; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Fixed Position Layout</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.FixedPositionLayoutImpl#getSubAreaPosition <em>Sub Area Position</em>}</li> + * </ul> + * + * @generated + */ +public class FixedPositionLayoutImpl extends LayoutManagerImpl implements FixedPositionLayout { + /** + * The cached value of the '{@link #getSubAreaPosition() <em>Sub Area Position</em>}' containment reference list. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * @see #getSubAreaPosition() + * @generated + * @ordered + */ + protected EList<PositionContainer> subAreaPosition; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected FixedPositionLayoutImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.FIXED_POSITION_LAYOUT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<PositionContainer> getSubAreaPosition() { + if (subAreaPosition == null) { + subAreaPosition = new EObjectContainmentEList<PositionContainer>(PositionContainer.class, this, + RBAViewPackage.FIXED_POSITION_LAYOUT__SUB_AREA_POSITION); + } + return subAreaPosition; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<Area> collectLeafArea() { + java.util.Set<Area> areas = new java.util.HashSet<Area>(); + for (PositionContainer pc : getSubAreaPosition()) { + areas.addAll(pc.getArea().collectLeafAllocatable().stream().map(allocatable -> (Area) allocatable) + .collect(java.util.stream.Collectors.toList())); + } + return new org.eclipse.emf.common.util.BasicEList<Area>(areas); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case RBAViewPackage.FIXED_POSITION_LAYOUT__SUB_AREA_POSITION: + return ((InternalEList<?>) getSubAreaPosition()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.FIXED_POSITION_LAYOUT__SUB_AREA_POSITION: + return getSubAreaPosition(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.FIXED_POSITION_LAYOUT__SUB_AREA_POSITION: + getSubAreaPosition().clear(); + getSubAreaPosition().addAll((Collection<? extends PositionContainer>) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.FIXED_POSITION_LAYOUT__SUB_AREA_POSITION: + getSubAreaPosition().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.FIXED_POSITION_LAYOUT__SUB_AREA_POSITION: + return subAreaPosition != null && !subAreaPosition.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.FIXED_POSITION_LAYOUT___COLLECT_LEAF_AREA: + return collectLeafArea(); + } + return super.eInvoke(operationID, arguments); + } + +} // FixedPositionLayoutImpl diff --git a/rba.model.view/src/rba/view/impl/HideLowerPriorityImpl.java b/rba.model.view/src/rba/view/impl/HideLowerPriorityImpl.java new file mode 100644 index 0000000..94aa46c --- /dev/null +++ b/rba.model.view/src/rba/view/impl/HideLowerPriorityImpl.java @@ -0,0 +1,192 @@ +/**
+ */
+package rba.view.impl;
+
+import java.lang.reflect.InvocationTargetException;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+
+import rba.core.AndOperator;
+import rba.core.ContentValue;
+import rba.core.Expression;
+import rba.core.ExpressionType;
+import rba.core.ImpliesOperator;
+import rba.core.IsGreaterThanOperator;
+import rba.core.IsLowerThanOperator;
+import rba.core.Operator;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+import rba.core.SugarExpression;
+import rba.core.SugarExpressionBase;
+import rba.core.impl.OperatorImpl;
+import rba.view.HideLowerPriority;
+import rba.view.IsHidden;
+import rba.view.RBAViewFactory;
+import rba.view.RBAViewPackage;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Hide Lower Priority</b></em>'. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class HideLowerPriorityImpl extends OperatorImpl implements HideLowerPriority {
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected HideLowerPriorityImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return RBAViewPackage.Literals.HIDE_LOWER_PRIORITY;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSymbol() {
+ return "HideLowerPriority";
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpressionType getUnderlyingType() {
+ return ExpressionType.BOOLEAN;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExpressionText() {
+ StringBuilder expressionText = new StringBuilder();
+ EList<rba.core.Expression> expressions = getOperand();
+ expressionText.append(getSymbol());
+ expressionText.append("(");
+ expressionText.append(expressions.size() > 0 ? expressions.get(0).getExpressionText() : "[Invalid_Expression]");
+ expressionText.append(",");
+ expressionText.append(expressions.size() > 1 ? expressions.get(1).getExpressionText() : "[Invalid_Expression]");
+ expressionText.append(")");
+ return expressionText.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean canExpand() {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Expression getExpanded() {
+ AndOperator AND = RBACoreFactory.eINSTANCE.createAndOperator();
+ ImpliesOperator implies = RBACoreFactory.eINSTANCE.createImpliesOperator();
+ IsLowerThanOperator lowerThan = RBACoreFactory.eINSTANCE.createIsLowerThanOperator();
+ ContentValue contentValue1 = RBACoreFactory.eINSTANCE.createContentValue();
+ ContentValue contentValue2 = RBACoreFactory.eINSTANCE.createContentValue();
+ IsHidden hidden = RBAViewFactory.eINSTANCE.createIsHidden();
+ IsGreaterThanOperator greaterThan = RBACoreFactory.eINSTANCE.createIsGreaterThanOperator();
+
+ contentValue1.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ contentValue2.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(1)));
+ lowerThan.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(contentValue1));
+ lowerThan.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(contentValue2));
+ implies.getOperand().add(lowerThan);
+ hidden.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ implies.getOperand().add(hidden);
+ AND.getOperand().add(implies);
+
+ implies = RBACoreFactory.eINSTANCE.createImpliesOperator();
+ greaterThan.getOperand().add(contentValue1);
+ greaterThan.getOperand().add(contentValue2);
+ implies.getOperand().add(greaterThan);
+
+ hidden = RBAViewFactory.eINSTANCE.createIsHidden();
+ hidden.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(1)));
+ implies.getOperand().add(hidden);
+ AND.getOperand().add(implies);
+
+ return AND;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedOperationID(int baseOperationID, Class<?> baseClass) {
+ if (baseClass == Expression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.EXPRESSION___GET_UNDERLYING_TYPE:
+ return RBAViewPackage.HIDE_LOWER_PRIORITY___GET_UNDERLYING_TYPE;
+ case RBACorePackage.EXPRESSION___GET_EXPRESSION_TEXT:
+ return RBAViewPackage.HIDE_LOWER_PRIORITY___GET_EXPRESSION_TEXT;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == Operator.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.OPERATOR___GET_SYMBOL:
+ return RBAViewPackage.HIDE_LOWER_PRIORITY___GET_SYMBOL;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == SugarExpression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION___CAN_EXPAND:
+ return RBAViewPackage.HIDE_LOWER_PRIORITY___CAN_EXPAND;
+ case RBACorePackage.SUGAR_EXPRESSION___GET_EXPANDED:
+ return RBAViewPackage.HIDE_LOWER_PRIORITY___GET_EXPANDED;
+ default:
+ return -1;
+ }
+ }
+ if (baseClass == SugarExpressionBase.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION_BASE___CAN_EXPAND:
+ return RBAViewPackage.HIDE_LOWER_PRIORITY___CAN_EXPAND;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
+ switch (operationID) {
+ case RBAViewPackage.HIDE_LOWER_PRIORITY___GET_SYMBOL:
+ return getSymbol();
+ case RBAViewPackage.HIDE_LOWER_PRIORITY___GET_UNDERLYING_TYPE:
+ return getUnderlyingType();
+ case RBAViewPackage.HIDE_LOWER_PRIORITY___GET_EXPRESSION_TEXT:
+ return getExpressionText();
+ case RBAViewPackage.HIDE_LOWER_PRIORITY___CAN_EXPAND:
+ return canExpand();
+ case RBAViewPackage.HIDE_LOWER_PRIORITY___GET_EXPANDED:
+ return getExpanded();
+ }
+ return super.eInvoke(operationID, arguments);
+ }
+
+} // HideLowerPriorityImpl
diff --git a/rba.model.view/src/rba/view/impl/HorizontalLayoutImpl.java b/rba.model.view/src/rba/view/impl/HorizontalLayoutImpl.java new file mode 100644 index 0000000..4c01c55 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/HorizontalLayoutImpl.java @@ -0,0 +1,33 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.ecore.EClass; + +import rba.view.HorizontalLayout; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Horizontal Layout</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class HorizontalLayoutImpl extends AlignedLayoutImpl implements HorizontalLayout { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected HorizontalLayoutImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.HORIZONTAL_LAYOUT; + } + +} // HorizontalLayoutImpl diff --git a/rba.model.view/src/rba/view/impl/IsChangedDisplayImpl.java b/rba.model.view/src/rba/view/impl/IsChangedDisplayImpl.java new file mode 100644 index 0000000..783999a --- /dev/null +++ b/rba.model.view/src/rba/view/impl/IsChangedDisplayImpl.java @@ -0,0 +1,186 @@ +/**
+ */
+package rba.view.impl;
+
+import java.lang.reflect.InvocationTargetException;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+
+import rba.core.AndOperator;
+import rba.core.Expression;
+import rba.core.ExpressionType;
+import rba.core.NotOperator;
+import rba.core.ObjectCompare;
+import rba.core.ObjectReference;
+import rba.core.Operator;
+import rba.core.OrOperator;
+import rba.core.PreviousModifier;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+import rba.core.SugarExpression;
+import rba.core.SugarExpressionBase;
+import rba.view.DisplayingContent;
+import rba.view.IsChangedDisplay;
+import rba.view.IsDisplayed;
+import rba.view.RBAViewFactory;
+import rba.view.RBAViewPackage;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Is Changed Display</b></em>'. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class IsChangedDisplayImpl extends AreaOperatorImpl implements IsChangedDisplay {
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsChangedDisplayImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return RBAViewPackage.Literals.IS_CHANGED_DISPLAY;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSymbol() {
+ return ".isChangedDisplay()";
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpressionType getUnderlyingType() {
+ return ExpressionType.BOOLEAN;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean canExpand() {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Expression getExpanded() {
+ OrOperator or = RBACoreFactory.eINSTANCE.createOrOperator();
+ NotOperator not = RBACoreFactory.eINSTANCE.createNotOperator();
+ ObjectCompare equal = RBACoreFactory.eINSTANCE.createObjectCompare();
+ DisplayingContent dispContent = RBAViewFactory.eINSTANCE.createDisplayingContent();
+ PreviousModifier pre = RBACoreFactory.eINSTANCE.createPreviousModifier();
+ OrOperator leftOr = RBACoreFactory.eINSTANCE.createOrOperator();
+ NotOperator leftnot = RBACoreFactory.eINSTANCE.createNotOperator();
+ AndOperator and = RBACoreFactory.eINSTANCE.createAndOperator();
+ IsDisplayed isDisplayed = RBAViewFactory.eINSTANCE.createIsDisplayed();
+
+ pre.setObjReference((ObjectReference) org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ dispContent.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(pre));
+ equal.getOperand().add(dispContent);
+ dispContent = RBAViewFactory.eINSTANCE.createDisplayingContent();
+ dispContent.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ equal.getOperand().add(dispContent);
+ not.getOperand().add(equal);
+
+ isDisplayed.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(pre));
+ and.getOperand().add(isDisplayed);
+ isDisplayed = RBAViewFactory.eINSTANCE.createIsDisplayed();
+ isDisplayed.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ leftnot.getOperand().add(isDisplayed);
+ and.getOperand().add(leftnot);
+ leftOr.getOperand().add(and);
+
+ leftnot = RBACoreFactory.eINSTANCE.createNotOperator();
+ isDisplayed = RBAViewFactory.eINSTANCE.createIsDisplayed();
+ isDisplayed.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(pre));
+ leftnot.getOperand().add(isDisplayed);
+ isDisplayed = RBAViewFactory.eINSTANCE.createIsDisplayed();
+ isDisplayed.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ and = RBACoreFactory.eINSTANCE.createAndOperator();
+ and.getOperand().add(leftnot);
+ and.getOperand().add(isDisplayed);
+ leftOr.getOperand().add(and);
+
+ or.getOperand().add(not);
+ or.getOperand().add(leftOr);
+
+ return or;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedOperationID(int baseOperationID, Class<?> baseClass) {
+ if (baseClass == Expression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.EXPRESSION___GET_UNDERLYING_TYPE:
+ return RBAViewPackage.IS_CHANGED_DISPLAY___GET_UNDERLYING_TYPE;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == Operator.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.OPERATOR___GET_SYMBOL:
+ return RBAViewPackage.IS_CHANGED_DISPLAY___GET_SYMBOL;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == SugarExpression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION___CAN_EXPAND:
+ return RBAViewPackage.IS_CHANGED_DISPLAY___CAN_EXPAND;
+ case RBACorePackage.SUGAR_EXPRESSION___GET_EXPANDED:
+ return RBAViewPackage.IS_CHANGED_DISPLAY___GET_EXPANDED;
+ default:
+ return -1;
+ }
+ }
+ if (baseClass == SugarExpressionBase.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION_BASE___CAN_EXPAND:
+ return RBAViewPackage.IS_CHANGED_DISPLAY___CAN_EXPAND;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
+ switch (operationID) {
+ case RBAViewPackage.IS_CHANGED_DISPLAY___GET_SYMBOL:
+ return getSymbol();
+ case RBAViewPackage.IS_CHANGED_DISPLAY___GET_UNDERLYING_TYPE:
+ return getUnderlyingType();
+ case RBAViewPackage.IS_CHANGED_DISPLAY___CAN_EXPAND:
+ return canExpand();
+ case RBAViewPackage.IS_CHANGED_DISPLAY___GET_EXPANDED:
+ return getExpanded();
+ }
+ return super.eInvoke(operationID, arguments);
+ }
+
+} // IsChangedDisplayImpl
diff --git a/rba.model.view/src/rba/view/impl/IsDisplayedImpl.java b/rba.model.view/src/rba/view/impl/IsDisplayedImpl.java new file mode 100644 index 0000000..075cf1c --- /dev/null +++ b/rba.model.view/src/rba/view/impl/IsDisplayedImpl.java @@ -0,0 +1,70 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.view.IsDisplayed; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Is Displayed</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class IsDisplayedImpl extends AreaOperatorImpl implements IsDisplayed { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected IsDisplayedImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.IS_DISPLAYED; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public String getSymbol() { + return ".isDisplayed()"; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getUnderlyingType() { + return ExpressionType.BOOLEAN; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.IS_DISPLAYED___GET_SYMBOL: + return getSymbol(); + case RBAViewPackage.IS_DISPLAYED___GET_UNDERLYING_TYPE: + return getUnderlyingType(); + } + return super.eInvoke(operationID, arguments); + } + +} // IsDisplayedImpl diff --git a/rba.model.view/src/rba/view/impl/IsDisplayedOnImpl.java b/rba.model.view/src/rba/view/impl/IsDisplayedOnImpl.java new file mode 100644 index 0000000..e8e8ec0 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/IsDisplayedOnImpl.java @@ -0,0 +1,191 @@ +/**
+ */
+package rba.view.impl;
+
+import java.lang.reflect.InvocationTargetException;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+
+import rba.core.AndOperator;
+import rba.core.ContentOperator;
+import rba.core.Expression;
+import rba.core.ExpressionType;
+import rba.core.ObjectCompare;
+import rba.core.Operator;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+import rba.core.SugarExpression;
+import rba.core.SugarExpressionBase;
+import rba.view.DisplayingContent;
+import rba.view.IsDisplayed;
+import rba.view.IsDisplayedOn;
+import rba.view.RBAViewFactory;
+import rba.view.RBAViewPackage;
+import rba.view.ViewContentOperator;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Is Displayed On</b></em>'. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class IsDisplayedOnImpl extends ViewContentOperatorImpl implements IsDisplayedOn {
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsDisplayedOnImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return RBAViewPackage.Literals.IS_DISPLAYED_ON;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSymbol() {
+ return ".isDisplayedOn";
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpressionType getUnderlyingType() {
+ return ExpressionType.BOOLEAN;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExpressionText() {
+ StringBuilder expressionText = new StringBuilder();
+ EList<rba.core.Expression> expressions = getOperand();
+ expressionText.append(expressions.size() > 0 ? expressions.get(0).getExpressionText() : "[Invalid_Expression]");
+ expressionText.append(getSymbol());
+ expressionText.append("(");
+ expressionText.append(expressions.size() > 1 ? expressions.get(1).getExpressionText() : "[Invalid_Expression]");
+ expressionText.append(")");
+ return expressionText.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean canExpand() {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Expression getExpanded() {
+ AndOperator AND = RBACoreFactory.eINSTANCE.createAndOperator();
+ IsDisplayed isDisplayed = RBAViewFactory.eINSTANCE.createIsDisplayed();
+ ObjectCompare equal = RBACoreFactory.eINSTANCE.createObjectCompare();
+ DisplayingContent dispContent = RBAViewFactory.eINSTANCE.createDisplayingContent();
+
+ isDisplayed.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(1)));
+ dispContent.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(1)));
+ equal.getOperand().add(dispContent);
+ equal.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+
+ AND.getOperand().add(isDisplayed);
+ AND.getOperand().add(equal);
+ return AND;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedOperationID(int baseOperationID, Class<?> baseClass) {
+ if (baseClass == Expression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.EXPRESSION___GET_UNDERLYING_TYPE:
+ return RBAViewPackage.IS_DISPLAYED_ON___GET_UNDERLYING_TYPE;
+ case RBACorePackage.EXPRESSION___GET_EXPRESSION_TEXT:
+ return RBAViewPackage.IS_DISPLAYED_ON___GET_EXPRESSION_TEXT;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == Operator.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.OPERATOR___GET_SYMBOL:
+ return RBAViewPackage.IS_DISPLAYED_ON___GET_SYMBOL;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == ContentOperator.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.CONTENT_OPERATOR___GET_EXPRESSION_TEXT:
+ return RBAViewPackage.IS_DISPLAYED_ON___GET_EXPRESSION_TEXT;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == ViewContentOperator.class) {
+ switch (baseOperationID) {
+ case RBAViewPackage.VIEW_CONTENT_OPERATOR___GET_UNDERLYING_TYPE:
+ return RBAViewPackage.IS_DISPLAYED_ON___GET_UNDERLYING_TYPE;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == SugarExpression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION___CAN_EXPAND:
+ return RBAViewPackage.IS_DISPLAYED_ON___CAN_EXPAND;
+ case RBACorePackage.SUGAR_EXPRESSION___GET_EXPANDED:
+ return RBAViewPackage.IS_DISPLAYED_ON___GET_EXPANDED;
+ default:
+ return -1;
+ }
+ }
+ if (baseClass == SugarExpressionBase.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION_BASE___CAN_EXPAND:
+ return RBAViewPackage.IS_DISPLAYED_ON___CAN_EXPAND;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
+ switch (operationID) {
+ case RBAViewPackage.IS_DISPLAYED_ON___GET_SYMBOL:
+ return getSymbol();
+ case RBAViewPackage.IS_DISPLAYED_ON___GET_UNDERLYING_TYPE:
+ return getUnderlyingType();
+ case RBAViewPackage.IS_DISPLAYED_ON___GET_EXPRESSION_TEXT:
+ return getExpressionText();
+ case RBAViewPackage.IS_DISPLAYED_ON___CAN_EXPAND:
+ return canExpand();
+ case RBAViewPackage.IS_DISPLAYED_ON___GET_EXPANDED:
+ return getExpanded();
+ }
+ return super.eInvoke(operationID, arguments);
+ }
+
+} // IsDisplayedOnImpl
diff --git a/rba.model.view/src/rba/view/impl/IsHiddenImpl.java b/rba.model.view/src/rba/view/impl/IsHiddenImpl.java new file mode 100644 index 0000000..293c6bf --- /dev/null +++ b/rba.model.view/src/rba/view/impl/IsHiddenImpl.java @@ -0,0 +1,70 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.view.IsHidden; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Is Hidden</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class IsHiddenImpl extends AreaOperatorImpl implements IsHidden { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected IsHiddenImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.IS_HIDDEN; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public String getSymbol() { + return ".isHidden()"; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getUnderlyingType() { + return ExpressionType.BOOLEAN; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.IS_HIDDEN___GET_SYMBOL: + return getSymbol(); + case RBAViewPackage.IS_HIDDEN___GET_UNDERLYING_TYPE: + return getUnderlyingType(); + } + return super.eInvoke(operationID, arguments); + } + +} // IsHiddenImpl diff --git a/rba.model.view/src/rba/view/impl/IsTranslatedViewToImpl.java b/rba.model.view/src/rba/view/impl/IsTranslatedViewToImpl.java new file mode 100644 index 0000000..66b5db0 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/IsTranslatedViewToImpl.java @@ -0,0 +1,205 @@ +/**
+ */
+package rba.view.impl;
+
+import java.lang.reflect.InvocationTargetException;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+
+import rba.core.AllocatableOperator;
+import rba.core.AndOperator;
+import rba.core.Expression;
+import rba.core.ExpressionType;
+import rba.core.NotOperator;
+import rba.core.ObjectCompare;
+import rba.core.ObjectReference;
+import rba.core.Operator;
+import rba.core.OrOperator;
+import rba.core.PreviousModifier;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+import rba.core.SugarExpression;
+import rba.core.SugarExpressionBase;
+import rba.view.DisplayingContent;
+import rba.view.IsDisplayed;
+import rba.view.IsTranslatedViewTo;
+import rba.view.RBAViewFactory;
+import rba.view.RBAViewPackage;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Is Translated View To</b></em>'. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class IsTranslatedViewToImpl extends AreaOperatorImpl implements IsTranslatedViewTo {
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsTranslatedViewToImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return RBAViewPackage.Literals.IS_TRANSLATED_VIEW_TO;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSymbol() {
+ return ".isTranslatedViewTo";
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpressionType getUnderlyingType() {
+ return ExpressionType.BOOLEAN;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExpressionText() {
+ StringBuilder expressionText = new StringBuilder();
+ EList<rba.core.Expression> expressions = getOperand();
+ expressionText.append(expressions.size() > 0 ? expressions.get(0).getExpressionText() : "[Invalid_Expression]");
+ expressionText.append(getSymbol());
+ expressionText.append("(");
+ expressionText.append(expressions.size() > 1 ? expressions.get(1).getExpressionText() : "[Invalid_Expression]");
+ expressionText.append(")");
+ return expressionText.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean canExpand() {
+ return true;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Expression getExpanded() {
+ AndOperator AND = RBACoreFactory.eINSTANCE.createAndOperator();
+ IsDisplayed isDisplayed = RBAViewFactory.eINSTANCE.createIsDisplayed();
+ ObjectCompare equal = RBACoreFactory.eINSTANCE.createObjectCompare();
+ DisplayingContent dispContent = RBAViewFactory.eINSTANCE.createDisplayingContent();
+ PreviousModifier pre = RBACoreFactory.eINSTANCE.createPreviousModifier();
+ OrOperator or = RBACoreFactory.eINSTANCE.createOrOperator();
+ NotOperator not = RBACoreFactory.eINSTANCE.createNotOperator();
+
+ isDisplayed.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ AND.getOperand().add(isDisplayed);
+
+ dispContent.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ equal.getOperand().add(dispContent);
+ equal.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(1)));
+ AND.getOperand().add(equal);
+
+ pre.setObjReference((ObjectReference) org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(0)));
+ dispContent = RBAViewFactory.eINSTANCE.createDisplayingContent();
+ dispContent.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(pre));
+ equal = RBACoreFactory.eINSTANCE.createObjectCompare();
+ equal.getOperand().add(dispContent);
+ equal.getOperand().add(org.eclipse.emf.ecore.util.EcoreUtil.copy(getOperand().get(1)));
+ not.getOperand().add(equal);
+ or.getOperand().add(not);
+
+ isDisplayed = RBAViewFactory.eINSTANCE.createIsDisplayed();
+ isDisplayed.getOperand().add(pre);
+ not = RBACoreFactory.eINSTANCE.createNotOperator();
+ not.getOperand().add(isDisplayed);
+ or.getOperand().add(not);
+ AND.getOperand().add(or);
+ return AND;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedOperationID(int baseOperationID, Class<?> baseClass) {
+ if (baseClass == Expression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.EXPRESSION___GET_UNDERLYING_TYPE:
+ return RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_UNDERLYING_TYPE;
+ case RBACorePackage.EXPRESSION___GET_EXPRESSION_TEXT:
+ return RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_EXPRESSION_TEXT;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == Operator.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.OPERATOR___GET_SYMBOL:
+ return RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_SYMBOL;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == AllocatableOperator.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.ALLOCATABLE_OPERATOR___GET_EXPRESSION_TEXT:
+ return RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_EXPRESSION_TEXT;
+ default:
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+ }
+ if (baseClass == SugarExpression.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION___CAN_EXPAND:
+ return RBAViewPackage.IS_TRANSLATED_VIEW_TO___CAN_EXPAND;
+ case RBACorePackage.SUGAR_EXPRESSION___GET_EXPANDED:
+ return RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_EXPANDED;
+ default:
+ return -1;
+ }
+ }
+ if (baseClass == SugarExpressionBase.class) {
+ switch (baseOperationID) {
+ case RBACorePackage.SUGAR_EXPRESSION_BASE___CAN_EXPAND:
+ return RBAViewPackage.IS_TRANSLATED_VIEW_TO___CAN_EXPAND;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedOperationID(baseOperationID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
+ switch (operationID) {
+ case RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_SYMBOL:
+ return getSymbol();
+ case RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_UNDERLYING_TYPE:
+ return getUnderlyingType();
+ case RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_EXPRESSION_TEXT:
+ return getExpressionText();
+ case RBAViewPackage.IS_TRANSLATED_VIEW_TO___CAN_EXPAND:
+ return canExpand();
+ case RBAViewPackage.IS_TRANSLATED_VIEW_TO___GET_EXPANDED:
+ return getExpanded();
+ }
+ return super.eInvoke(operationID, arguments);
+ }
+
+} // IsTranslatedViewToImpl
diff --git a/rba.model.view/src/rba/view/impl/IsVisibleImpl.java b/rba.model.view/src/rba/view/impl/IsVisibleImpl.java new file mode 100644 index 0000000..9eee90e --- /dev/null +++ b/rba.model.view/src/rba/view/impl/IsVisibleImpl.java @@ -0,0 +1,58 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.view.IsVisible; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Is Visible</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class IsVisibleImpl extends ViewContentOperatorImpl implements IsVisible { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected IsVisibleImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.IS_VISIBLE; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public String getSymbol() { + return ".isVisible()"; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.IS_VISIBLE___GET_SYMBOL: + return getSymbol(); + } + return super.eInvoke(operationID, arguments); + } + +} // IsVisibleImpl diff --git a/rba.model.view/src/rba/view/impl/LayoutManagerImpl.java b/rba.model.view/src/rba/view/impl/LayoutManagerImpl.java new file mode 100644 index 0000000..6859406 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/LayoutManagerImpl.java @@ -0,0 +1,63 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import rba.view.Area; +import rba.view.LayoutManager; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Layout Manager</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public abstract class LayoutManagerImpl extends MinimalEObjectImpl.Container implements LayoutManager { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected LayoutManagerImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.LAYOUT_MANAGER; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<Area> collectLeafArea() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.LAYOUT_MANAGER___COLLECT_LEAF_AREA: + return collectLeafArea(); + } + return super.eInvoke(operationID, arguments); + } + +} // LayoutManagerImpl diff --git a/rba.model.view/src/rba/view/impl/OffsetImpl.java b/rba.model.view/src/rba/view/impl/OffsetImpl.java new file mode 100644 index 0000000..5a5575d --- /dev/null +++ b/rba.model.view/src/rba/view/impl/OffsetImpl.java @@ -0,0 +1,355 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import rba.core.impl.PackagableElementImpl; + +import rba.view.Offset; +import rba.view.RBAViewPackage; +import rba.view.SizeReference; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Offset</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.OffsetImpl#getX <em>X</em>}</li> + * <li>{@link rba.view.impl.OffsetImpl#getY <em>Y</em>}</li> + * <li>{@link rba.view.impl.OffsetImpl#getSize <em>Size</em>}</li> + * </ul> + * + * @generated + */ +public class OffsetImpl extends PackagableElementImpl implements Offset { + /** + * The default value of the '{@link #getX() <em>X</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getX() + * @generated + * @ordered + */ + protected static final int X_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getX() <em>X</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getX() + * @generated + * @ordered + */ + protected int x = X_EDEFAULT; + + /** + * This is true if the X attribute has been set. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean xESet; + + /** + * The default value of the '{@link #getY() <em>Y</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getY() + * @generated + * @ordered + */ + protected static final int Y_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getY() <em>Y</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getY() + * @generated + * @ordered + */ + protected int y = Y_EDEFAULT; + + /** + * This is true if the Y attribute has been set. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean yESet; + + /** + * The cached value of the '{@link #getSize() <em>Size</em>}' containment reference. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getSize() + * @generated + * @ordered + */ + protected SizeReference size; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected OffsetImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.OFFSET; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public int getX() { + return x; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setX(int newX) { + int oldX = x; + x = newX; + boolean oldXESet = xESet; + xESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.OFFSET__X, oldX, x, !oldXESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void unsetX() { + int oldX = x; + boolean oldXESet = xESet; + x = X_EDEFAULT; + xESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, RBAViewPackage.OFFSET__X, oldX, X_EDEFAULT, + oldXESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public boolean isSetX() { + return xESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public int getY() { + return y; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setY(int newY) { + int oldY = y; + y = newY; + boolean oldYESet = yESet; + yESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.OFFSET__Y, oldY, y, !oldYESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void unsetY() { + int oldY = y; + boolean oldYESet = yESet; + y = Y_EDEFAULT; + yESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, RBAViewPackage.OFFSET__Y, oldY, Y_EDEFAULT, + oldYESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public boolean isSetY() { + return yESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public SizeReference getSize() { + return size; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSize(SizeReference newSize, NotificationChain msgs) { + SizeReference oldSize = size; + size = newSize; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, RBAViewPackage.OFFSET__SIZE, + oldSize, newSize); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setSize(SizeReference newSize) { + if (newSize != size) { + NotificationChain msgs = null; + if (size != null) + msgs = ((InternalEObject) size).eInverseRemove(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.OFFSET__SIZE, null, msgs); + if (newSize != null) + msgs = ((InternalEObject) newSize).eInverseAdd(this, + EOPPOSITE_FEATURE_BASE - RBAViewPackage.OFFSET__SIZE, null, msgs); + msgs = basicSetSize(newSize, msgs); + if (msgs != null) + msgs.dispatch(); + } else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.OFFSET__SIZE, newSize, newSize)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case RBAViewPackage.OFFSET__SIZE: + return basicSetSize(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.OFFSET__X: + return getX(); + case RBAViewPackage.OFFSET__Y: + return getY(); + case RBAViewPackage.OFFSET__SIZE: + return getSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.OFFSET__X: + setX((Integer) newValue); + return; + case RBAViewPackage.OFFSET__Y: + setY((Integer) newValue); + return; + case RBAViewPackage.OFFSET__SIZE: + setSize((SizeReference) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.OFFSET__X: + unsetX(); + return; + case RBAViewPackage.OFFSET__Y: + unsetY(); + return; + case RBAViewPackage.OFFSET__SIZE: + setSize((SizeReference) null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.OFFSET__X: + return isSetX(); + case RBAViewPackage.OFFSET__Y: + return isSetY(); + case RBAViewPackage.OFFSET__SIZE: + return size != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (x: "); + if (xESet) + result.append(x); + else + result.append("<unset>"); + result.append(", y: "); + if (yESet) + result.append(y); + else + result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} // OffsetImpl diff --git a/rba.model.view/src/rba/view/impl/PositionContainerImpl.java b/rba.model.view/src/rba/view/impl/PositionContainerImpl.java new file mode 100644 index 0000000..0b313c9 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/PositionContainerImpl.java @@ -0,0 +1,443 @@ +/** + */ +package rba.view.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import rba.view.Area; +import rba.view.BasePoint; +import rba.view.Offset; +import rba.view.PositionContainer; +import rba.view.RBAViewPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Position Container</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.PositionContainerImpl#getX <em>X</em>}</li> + * <li>{@link rba.view.impl.PositionContainerImpl#getY <em>Y</em>}</li> + * <li>{@link rba.view.impl.PositionContainerImpl#getBasePoint <em>Base Point</em>}</li> + * <li>{@link rba.view.impl.PositionContainerImpl#getArea <em>Area</em>}</li> + * <li>{@link rba.view.impl.PositionContainerImpl#getOffset <em>Offset</em>}</li> + * </ul> + * + * @generated + */ +public class PositionContainerImpl extends MinimalEObjectImpl.Container implements PositionContainer { + /** + * The default value of the '{@link #getX() <em>X</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getX() + * @generated + * @ordered + */ + protected static final int X_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getX() <em>X</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getX() + * @generated + * @ordered + */ + protected int x = X_EDEFAULT; + + /** + * This is true if the X attribute has been set. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean xESet; + + /** + * The default value of the '{@link #getY() <em>Y</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getY() + * @generated + * @ordered + */ + protected static final int Y_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getY() <em>Y</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getY() + * @generated + * @ordered + */ + protected int y = Y_EDEFAULT; + + /** + * This is true if the Y attribute has been set. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean yESet; + + /** + * The default value of the '{@link #getBasePoint() <em>Base Point</em>}' attribute. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getBasePoint() + * @generated + * @ordered + */ + protected static final BasePoint BASE_POINT_EDEFAULT = BasePoint.LEFT_TOP; + + /** + * The cached value of the '{@link #getBasePoint() <em>Base Point</em>}' attribute. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getBasePoint() + * @generated + * @ordered + */ + protected BasePoint basePoint = BASE_POINT_EDEFAULT; + + /** + * The cached value of the '{@link #getArea() <em>Area</em>}' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getArea() + * @generated + * @ordered + */ + protected Area area; + + /** + * The cached value of the '{@link #getOffset() <em>Offset</em>}' containment reference list. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getOffset() + * @generated + * @ordered + */ + protected EList<Offset> offset; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected PositionContainerImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.POSITION_CONTAINER; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public int getX() { + return x; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setX(int newX) { + int oldX = x; + x = newX; + boolean oldXESet = xESet; + xESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.POSITION_CONTAINER__X, oldX, x, + !oldXESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void unsetX() { + int oldX = x; + boolean oldXESet = xESet; + x = X_EDEFAULT; + xESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, RBAViewPackage.POSITION_CONTAINER__X, oldX, + X_EDEFAULT, oldXESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public boolean isSetX() { + return xESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public int getY() { + return y; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setY(int newY) { + int oldY = y; + y = newY; + boolean oldYESet = yESet; + yESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.POSITION_CONTAINER__Y, oldY, y, + !oldYESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void unsetY() { + int oldY = y; + boolean oldYESet = yESet; + y = Y_EDEFAULT; + yESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, RBAViewPackage.POSITION_CONTAINER__Y, oldY, + Y_EDEFAULT, oldYESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public boolean isSetY() { + return yESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public BasePoint getBasePoint() { + return basePoint; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setBasePoint(BasePoint newBasePoint) { + BasePoint oldBasePoint = basePoint; + basePoint = newBasePoint == null ? BASE_POINT_EDEFAULT : newBasePoint; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.POSITION_CONTAINER__BASE_POINT, + oldBasePoint, basePoint)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Area getArea() { + if (area != null && area.eIsProxy()) { + InternalEObject oldArea = (InternalEObject) area; + area = (Area) eResolveProxy(oldArea); + if (area != oldArea) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RBAViewPackage.POSITION_CONTAINER__AREA, + oldArea, area)); + } + } + return area; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Area basicGetArea() { + return area; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setArea(Area newArea) { + Area oldArea = area; + area = newArea; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.POSITION_CONTAINER__AREA, oldArea, + area)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<Offset> getOffset() { + if (offset == null) { + offset = new EObjectContainmentEList<Offset>(Offset.class, this, RBAViewPackage.POSITION_CONTAINER__OFFSET); + } + return offset; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case RBAViewPackage.POSITION_CONTAINER__OFFSET: + return ((InternalEList<?>) getOffset()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.POSITION_CONTAINER__X: + return getX(); + case RBAViewPackage.POSITION_CONTAINER__Y: + return getY(); + case RBAViewPackage.POSITION_CONTAINER__BASE_POINT: + return getBasePoint(); + case RBAViewPackage.POSITION_CONTAINER__AREA: + if (resolve) + return getArea(); + return basicGetArea(); + case RBAViewPackage.POSITION_CONTAINER__OFFSET: + return getOffset(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.POSITION_CONTAINER__X: + setX((Integer) newValue); + return; + case RBAViewPackage.POSITION_CONTAINER__Y: + setY((Integer) newValue); + return; + case RBAViewPackage.POSITION_CONTAINER__BASE_POINT: + setBasePoint((BasePoint) newValue); + return; + case RBAViewPackage.POSITION_CONTAINER__AREA: + setArea((Area) newValue); + return; + case RBAViewPackage.POSITION_CONTAINER__OFFSET: + getOffset().clear(); + getOffset().addAll((Collection<? extends Offset>) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.POSITION_CONTAINER__X: + unsetX(); + return; + case RBAViewPackage.POSITION_CONTAINER__Y: + unsetY(); + return; + case RBAViewPackage.POSITION_CONTAINER__BASE_POINT: + setBasePoint(BASE_POINT_EDEFAULT); + return; + case RBAViewPackage.POSITION_CONTAINER__AREA: + setArea((Area) null); + return; + case RBAViewPackage.POSITION_CONTAINER__OFFSET: + getOffset().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.POSITION_CONTAINER__X: + return isSetX(); + case RBAViewPackage.POSITION_CONTAINER__Y: + return isSetY(); + case RBAViewPackage.POSITION_CONTAINER__BASE_POINT: + return basePoint != BASE_POINT_EDEFAULT; + case RBAViewPackage.POSITION_CONTAINER__AREA: + return area != null; + case RBAViewPackage.POSITION_CONTAINER__OFFSET: + return offset != null && !offset.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (x: "); + if (xESet) + result.append(x); + else + result.append("<unset>"); + result.append(", y: "); + if (yESet) + result.append(y); + else + result.append("<unset>"); + result.append(", basePoint: "); + result.append(basePoint); + result.append(')'); + return result.toString(); + } + +} // PositionContainerImpl diff --git a/rba.model.view/src/rba/view/impl/RBAViewFactoryImpl.java b/rba.model.view/src/rba/view/impl/RBAViewFactoryImpl.java new file mode 100644 index 0000000..ee41c60 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/RBAViewFactoryImpl.java @@ -0,0 +1,390 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import rba.view.*; + +/** + * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc --> + * @generated + */ +public class RBAViewFactoryImpl extends EFactoryImpl implements RBAViewFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public static RBAViewFactory init() { + try { + RBAViewFactory theRBAViewFactory = (RBAViewFactory) EPackage.Registry.INSTANCE + .getEFactory(RBAViewPackage.eNS_URI); + if (theRBAViewFactory != null) { + return theRBAViewFactory; + } + } catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new RBAViewFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public RBAViewFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case RBAViewPackage.VIEW_CONTENT: + return createViewContent(); + case RBAViewPackage.VIEW_CONTENT_SET: + return createViewContentSet(); + case RBAViewPackage.VIEW_CONTENT_STATE: + return createViewContentState(); + case RBAViewPackage.VERTICAL_LAYOUT: + return createVerticalLayout(); + case RBAViewPackage.HORIZONTAL_LAYOUT: + return createHorizontalLayout(); + case RBAViewPackage.FIXED_POSITION_LAYOUT: + return createFixedPositionLayout(); + case RBAViewPackage.POSITION_CONTAINER: + return createPositionContainer(); + case RBAViewPackage.DISPLAY: + return createDisplay(); + case RBAViewPackage.COMPOSITE_AREA: + return createCompositeArea(); + case RBAViewPackage.AREA: + return createArea(); + case RBAViewPackage.AREA_SET: + return createAreaSet(); + case RBAViewPackage.SIZE: + return createSize(); + case RBAViewPackage.SIZE_REFERENCE: + return createSizeReference(); + case RBAViewPackage.OFFSET: + return createOffset(); + case RBAViewPackage.IS_DISPLAYED: + return createIsDisplayed(); + case RBAViewPackage.DISPLAYING_CONTENT: + return createDisplayingContent(); + case RBAViewPackage.IS_HIDDEN: + return createIsHidden(); + case RBAViewPackage.IS_VISIBLE: + return createIsVisible(); + case RBAViewPackage.ALL_INSTANCE_OF_AREA: + return createAllInstanceOfArea(); + case RBAViewPackage.ALL_INSTANCE_OF_VIEW_CONTENT: + return createAllInstanceOfViewContent(); + case RBAViewPackage.IS_DISPLAYED_ON: + return createIsDisplayedOn(); + case RBAViewPackage.IS_CHANGED_DISPLAY: + return createIsChangedDisplay(); + case RBAViewPackage.IS_TRANSLATED_VIEW_TO: + return createIsTranslatedViewTo(); + case RBAViewPackage.HIDE_LOWER_PRIORITY: + return createHideLowerPriority(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case RBAViewPackage.BASE_POINT: + return createBasePointFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case RBAViewPackage.BASE_POINT: + return convertBasePointToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ViewContent createViewContent() { + ViewContentImpl viewContent = new ViewContentImpl(); + return viewContent; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ViewContentSet createViewContentSet() { + ViewContentSetImpl viewContentSet = new ViewContentSetImpl(); + return viewContentSet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ViewContentState createViewContentState() { + ViewContentStateImpl viewContentState = new ViewContentStateImpl(); + return viewContentState; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public VerticalLayout createVerticalLayout() { + VerticalLayoutImpl verticalLayout = new VerticalLayoutImpl(); + return verticalLayout; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public HorizontalLayout createHorizontalLayout() { + HorizontalLayoutImpl horizontalLayout = new HorizontalLayoutImpl(); + return horizontalLayout; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public FixedPositionLayout createFixedPositionLayout() { + FixedPositionLayoutImpl fixedPositionLayout = new FixedPositionLayoutImpl(); + return fixedPositionLayout; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public PositionContainer createPositionContainer() { + PositionContainerImpl positionContainer = new PositionContainerImpl(); + return positionContainer; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Display createDisplay() { + DisplayImpl display = new DisplayImpl(); + return display; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public CompositeArea createCompositeArea() { + CompositeAreaImpl compositeArea = new CompositeAreaImpl(); + return compositeArea; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Area createArea() { + AreaImpl area = new AreaImpl(); + return area; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public AreaSet createAreaSet() { + AreaSetImpl areaSet = new AreaSetImpl(); + return areaSet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Size createSize() { + SizeImpl size = new SizeImpl(); + return size; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public SizeReference createSizeReference() { + SizeReferenceImpl sizeReference = new SizeReferenceImpl(); + return sizeReference; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Offset createOffset() { + OffsetImpl offset = new OffsetImpl(); + return offset; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public IsDisplayed createIsDisplayed() { + IsDisplayedImpl isDisplayed = new IsDisplayedImpl(); + return isDisplayed; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public DisplayingContent createDisplayingContent() { + DisplayingContentImpl displayingContent = new DisplayingContentImpl(); + return displayingContent; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public IsHidden createIsHidden() { + IsHiddenImpl isHidden = new IsHiddenImpl(); + return isHidden; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public IsVisible createIsVisible() { + IsVisibleImpl isVisible = new IsVisibleImpl(); + return isVisible; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public AllInstanceOfArea createAllInstanceOfArea() { + AllInstanceOfAreaImpl allInstanceOfArea = new AllInstanceOfAreaImpl(); + return allInstanceOfArea; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public AllInstanceOfViewContent createAllInstanceOfViewContent() { + AllInstanceOfViewContentImpl allInstanceOfViewContent = new AllInstanceOfViewContentImpl(); + return allInstanceOfViewContent; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public IsDisplayedOn createIsDisplayedOn() { + IsDisplayedOnImpl isDisplayedOn = new IsDisplayedOnImpl(); + return isDisplayedOn; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public IsChangedDisplay createIsChangedDisplay() { + IsChangedDisplayImpl isChangedDisplay = new IsChangedDisplayImpl(); + return isChangedDisplay; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public IsTranslatedViewTo createIsTranslatedViewTo() { + IsTranslatedViewToImpl isTranslatedViewTo = new IsTranslatedViewToImpl(); + return isTranslatedViewTo; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public HideLowerPriority createHideLowerPriority() { + HideLowerPriorityImpl hideLowerPriority = new HideLowerPriorityImpl(); + return hideLowerPriority; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public BasePoint createBasePointFromString(EDataType eDataType, String initialValue) { + BasePoint result = BasePoint.get(initialValue); + if (result == null) + throw new IllegalArgumentException( + "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public String convertBasePointToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public RBAViewPackage getRBAViewPackage() { + return (RBAViewPackage) getEPackage(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static RBAViewPackage getPackage() { + return RBAViewPackage.eINSTANCE; + } + +} // RBAViewFactoryImpl diff --git a/rba.model.view/src/rba/view/impl/RBAViewPackageImpl.java b/rba.model.view/src/rba/view/impl/RBAViewPackageImpl.java new file mode 100644 index 0000000..3552e11 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/RBAViewPackageImpl.java @@ -0,0 +1,1430 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import rba.core.RBACorePackage; +import rba.view.AlignedLayout; +import rba.view.AllInstanceOfArea; +import rba.view.AllInstanceOfViewContent; +import rba.view.Area; +import rba.view.AreaOperator; +import rba.view.AreaSet; +import rba.view.BasePoint; +import rba.view.CompositeArea; +import rba.view.Display; +import rba.view.DisplayingContent; +import rba.view.FixedPositionLayout; +import rba.view.HideLowerPriority; +import rba.view.HorizontalLayout; +import rba.view.IsChangedDisplay; +import rba.view.IsDisplayed; +import rba.view.IsDisplayedOn; +import rba.view.IsHidden; +import rba.view.IsTranslatedViewTo; +import rba.view.IsVisible; +import rba.view.LayoutManager; +import rba.view.Offset; +import rba.view.PositionContainer; +import rba.view.RBAViewFactory; +import rba.view.RBAViewPackage; +import rba.view.Size; +import rba.view.SizeIdentifier; +import rba.view.SizeReference; +import rba.view.VerticalLayout; +import rba.view.ViewContent; +import rba.view.ViewContentOperator; +import rba.view.ViewContentSet; +import rba.view.ViewContentState; + +/** + * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc --> + * @generated + */ +public class RBAViewPackageImpl extends EPackageImpl implements RBAViewPackage { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass viewContentEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass viewContentSetEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass viewContentStateEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass layoutManagerEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass alignedLayoutEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass verticalLayoutEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass horizontalLayoutEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass fixedPositionLayoutEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass positionContainerEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass displayEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass compositeAreaEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass areaEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass areaSetEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass sizeIdentifierEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass sizeEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass sizeReferenceEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass offsetEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass areaOperatorEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass isDisplayedEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass displayingContentEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass isHiddenEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass viewContentOperatorEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass isVisibleEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass allInstanceOfAreaEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass allInstanceOfViewContentEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass isDisplayedOnEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass isChangedDisplayEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass isTranslatedViewToEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EClass hideLowerPriorityEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private EEnum basePointEEnum = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see rba.view.RBAViewPackage#eNS_URI + * @see #init() + * @generated + */ + private RBAViewPackageImpl() { + super(eNS_URI, RBAViewFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link RBAViewPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static RBAViewPackage init() { + if (isInited) + return (RBAViewPackage) EPackage.Registry.INSTANCE.getEPackage(RBAViewPackage.eNS_URI); + + // Obtain or create and register package + RBAViewPackageImpl theRBAViewPackage = (RBAViewPackageImpl) (EPackage.Registry.INSTANCE + .get(eNS_URI) instanceof RBAViewPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) + : new RBAViewPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + RBACorePackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theRBAViewPackage.createPackageContents(); + + // Initialize created meta-data + theRBAViewPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theRBAViewPackage.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(RBAViewPackage.eNS_URI, theRBAViewPackage); + return theRBAViewPackage; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getViewContent() { + return viewContentEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getViewContent_Size() { + return (EReference) viewContentEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getViewContent__GetExpressionType() { + return viewContentEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getViewContentSet() { + return viewContentSetEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getViewContentSet__GetExpressionType() { + return viewContentSetEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getViewContentState() { + return viewContentStateEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getViewContentState__GetExpressionType() { + return viewContentStateEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getLayoutManager() { + return layoutManagerEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getLayoutManager__CollectLeafArea() { + return layoutManagerEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getAlignedLayout() { + return alignedLayoutEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getAlignedLayout_Subarea() { + return (EReference) alignedLayoutEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getAlignedLayout_BasePoint() { + return (EAttribute) alignedLayoutEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getAlignedLayout__CollectLeafArea() { + return alignedLayoutEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getVerticalLayout() { + return verticalLayoutEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getHorizontalLayout() { + return horizontalLayoutEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getFixedPositionLayout() { + return fixedPositionLayoutEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getFixedPositionLayout_SubAreaPosition() { + return (EReference) fixedPositionLayoutEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getFixedPositionLayout__CollectLeafArea() { + return fixedPositionLayoutEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getPositionContainer() { + return positionContainerEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getPositionContainer_X() { + return (EAttribute) positionContainerEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getPositionContainer_Y() { + return (EAttribute) positionContainerEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getPositionContainer_BasePoint() { + return (EAttribute) positionContainerEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getPositionContainer_Area() { + return (EReference) positionContainerEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getPositionContainer_Offset() { + return (EReference) positionContainerEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getDisplay() { + return displayEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getDisplay_Root() { + return (EReference) displayEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getDisplay_Size() { + return (EReference) displayEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getCompositeArea() { + return compositeAreaEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getCompositeArea_Layout() { + return (EReference) compositeAreaEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getCompositeArea__CollectLeafArea() { + return compositeAreaEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getCompositeArea__GetExpressionType() { + return compositeAreaEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getArea() { + return areaEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getArea_Zorder() { + return (EReference) areaEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getArea_Size() { + return (EReference) areaEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getArea__GetExpressionType() { + return areaEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getAreaSet() { + return areaSetEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getAreaSet__GetExpressionType() { + return areaSetEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getSizeIdentifier() { + return sizeIdentifierEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getSize() { + return sizeEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getSize_Width() { + return (EAttribute) sizeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getSize_Height() { + return (EAttribute) sizeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getSizeReference() { + return sizeReferenceEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getSizeReference_Size() { + return (EReference) sizeReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getOffset() { + return offsetEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getOffset_X() { + return (EAttribute) offsetEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EAttribute getOffset_Y() { + return (EAttribute) offsetEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EReference getOffset_Size() { + return (EReference) offsetEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getAreaOperator() { + return areaOperatorEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getIsDisplayed() { + return isDisplayedEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsDisplayed__GetSymbol() { + return isDisplayedEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsDisplayed__GetUnderlyingType() { + return isDisplayedEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getDisplayingContent() { + return displayingContentEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getDisplayingContent__GetSymbol() { + return displayingContentEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getDisplayingContent__GetUnderlyingType() { + return displayingContentEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getIsHidden() { + return isHiddenEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsHidden__GetSymbol() { + return isHiddenEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsHidden__GetUnderlyingType() { + return isHiddenEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getViewContentOperator() { + return viewContentOperatorEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getViewContentOperator__GetUnderlyingType() { + return viewContentOperatorEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getIsVisible() { + return isVisibleEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsVisible__GetSymbol() { + return isVisibleEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getAllInstanceOfArea() { + return allInstanceOfAreaEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getAllInstanceOfArea__GetExpressionText() { + return allInstanceOfAreaEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getAllInstanceOfArea__GetUnderlyingType() { + return allInstanceOfAreaEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getAllInstanceOfViewContent() { + return allInstanceOfViewContentEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getAllInstanceOfViewContent__GetExpressionText() { + return allInstanceOfViewContentEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getAllInstanceOfViewContent__GetUnderlyingType() { + return allInstanceOfViewContentEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getIsDisplayedOn() { + return isDisplayedOnEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsDisplayedOn__GetSymbol() { + return isDisplayedOnEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsDisplayedOn__GetUnderlyingType() { + return isDisplayedOnEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsDisplayedOn__GetExpressionText() { + return isDisplayedOnEClass.getEOperations().get(2); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getIsChangedDisplay() { + return isChangedDisplayEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsChangedDisplay__GetSymbol() { + return isChangedDisplayEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsChangedDisplay__GetUnderlyingType() { + return isChangedDisplayEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getIsTranslatedViewTo() { + return isTranslatedViewToEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsTranslatedViewTo__GetSymbol() { + return isTranslatedViewToEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsTranslatedViewTo__GetUnderlyingType() { + return isTranslatedViewToEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getIsTranslatedViewTo__GetExpressionText() { + return isTranslatedViewToEClass.getEOperations().get(2); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EClass getHideLowerPriority() { + return hideLowerPriorityEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getHideLowerPriority__GetSymbol() { + return hideLowerPriorityEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getHideLowerPriority__GetUnderlyingType() { + return hideLowerPriorityEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EOperation getHideLowerPriority__GetExpressionText() { + return hideLowerPriorityEClass.getEOperations().get(2); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EEnum getBasePoint() { + return basePointEEnum; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public RBAViewFactory getRBAViewFactory() { + return (RBAViewFactory) getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) + return; + isCreated = true; + + // Create classes and their features + viewContentEClass = createEClass(VIEW_CONTENT); + createEReference(viewContentEClass, VIEW_CONTENT__SIZE); + createEOperation(viewContentEClass, VIEW_CONTENT___GET_EXPRESSION_TYPE); + + viewContentSetEClass = createEClass(VIEW_CONTENT_SET); + createEOperation(viewContentSetEClass, VIEW_CONTENT_SET___GET_EXPRESSION_TYPE); + + viewContentStateEClass = createEClass(VIEW_CONTENT_STATE); + createEOperation(viewContentStateEClass, VIEW_CONTENT_STATE___GET_EXPRESSION_TYPE); + + layoutManagerEClass = createEClass(LAYOUT_MANAGER); + createEOperation(layoutManagerEClass, LAYOUT_MANAGER___COLLECT_LEAF_AREA); + + alignedLayoutEClass = createEClass(ALIGNED_LAYOUT); + createEReference(alignedLayoutEClass, ALIGNED_LAYOUT__SUBAREA); + createEAttribute(alignedLayoutEClass, ALIGNED_LAYOUT__BASE_POINT); + createEOperation(alignedLayoutEClass, ALIGNED_LAYOUT___COLLECT_LEAF_AREA); + + verticalLayoutEClass = createEClass(VERTICAL_LAYOUT); + + horizontalLayoutEClass = createEClass(HORIZONTAL_LAYOUT); + + fixedPositionLayoutEClass = createEClass(FIXED_POSITION_LAYOUT); + createEReference(fixedPositionLayoutEClass, FIXED_POSITION_LAYOUT__SUB_AREA_POSITION); + createEOperation(fixedPositionLayoutEClass, FIXED_POSITION_LAYOUT___COLLECT_LEAF_AREA); + + positionContainerEClass = createEClass(POSITION_CONTAINER); + createEAttribute(positionContainerEClass, POSITION_CONTAINER__X); + createEAttribute(positionContainerEClass, POSITION_CONTAINER__Y); + createEAttribute(positionContainerEClass, POSITION_CONTAINER__BASE_POINT); + createEReference(positionContainerEClass, POSITION_CONTAINER__AREA); + createEReference(positionContainerEClass, POSITION_CONTAINER__OFFSET); + + displayEClass = createEClass(DISPLAY); + createEReference(displayEClass, DISPLAY__ROOT); + createEReference(displayEClass, DISPLAY__SIZE); + + compositeAreaEClass = createEClass(COMPOSITE_AREA); + createEReference(compositeAreaEClass, COMPOSITE_AREA__LAYOUT); + createEOperation(compositeAreaEClass, COMPOSITE_AREA___COLLECT_LEAF_AREA); + createEOperation(compositeAreaEClass, COMPOSITE_AREA___GET_EXPRESSION_TYPE); + + areaEClass = createEClass(AREA); + createEReference(areaEClass, AREA__ZORDER); + createEReference(areaEClass, AREA__SIZE); + createEOperation(areaEClass, AREA___GET_EXPRESSION_TYPE); + + areaSetEClass = createEClass(AREA_SET); + createEOperation(areaSetEClass, AREA_SET___GET_EXPRESSION_TYPE); + + sizeIdentifierEClass = createEClass(SIZE_IDENTIFIER); + + sizeEClass = createEClass(SIZE); + createEAttribute(sizeEClass, SIZE__WIDTH); + createEAttribute(sizeEClass, SIZE__HEIGHT); + + sizeReferenceEClass = createEClass(SIZE_REFERENCE); + createEReference(sizeReferenceEClass, SIZE_REFERENCE__SIZE); + + offsetEClass = createEClass(OFFSET); + createEAttribute(offsetEClass, OFFSET__X); + createEAttribute(offsetEClass, OFFSET__Y); + createEReference(offsetEClass, OFFSET__SIZE); + + areaOperatorEClass = createEClass(AREA_OPERATOR); + + isDisplayedEClass = createEClass(IS_DISPLAYED); + createEOperation(isDisplayedEClass, IS_DISPLAYED___GET_SYMBOL); + createEOperation(isDisplayedEClass, IS_DISPLAYED___GET_UNDERLYING_TYPE); + + displayingContentEClass = createEClass(DISPLAYING_CONTENT); + createEOperation(displayingContentEClass, DISPLAYING_CONTENT___GET_SYMBOL); + createEOperation(displayingContentEClass, DISPLAYING_CONTENT___GET_UNDERLYING_TYPE); + + isHiddenEClass = createEClass(IS_HIDDEN); + createEOperation(isHiddenEClass, IS_HIDDEN___GET_SYMBOL); + createEOperation(isHiddenEClass, IS_HIDDEN___GET_UNDERLYING_TYPE); + + viewContentOperatorEClass = createEClass(VIEW_CONTENT_OPERATOR); + createEOperation(viewContentOperatorEClass, VIEW_CONTENT_OPERATOR___GET_UNDERLYING_TYPE); + + isVisibleEClass = createEClass(IS_VISIBLE); + createEOperation(isVisibleEClass, IS_VISIBLE___GET_SYMBOL); + + allInstanceOfAreaEClass = createEClass(ALL_INSTANCE_OF_AREA); + createEOperation(allInstanceOfAreaEClass, ALL_INSTANCE_OF_AREA___GET_EXPRESSION_TEXT); + createEOperation(allInstanceOfAreaEClass, ALL_INSTANCE_OF_AREA___GET_UNDERLYING_TYPE); + + allInstanceOfViewContentEClass = createEClass(ALL_INSTANCE_OF_VIEW_CONTENT); + createEOperation(allInstanceOfViewContentEClass, ALL_INSTANCE_OF_VIEW_CONTENT___GET_EXPRESSION_TEXT); + createEOperation(allInstanceOfViewContentEClass, ALL_INSTANCE_OF_VIEW_CONTENT___GET_UNDERLYING_TYPE); + + isDisplayedOnEClass = createEClass(IS_DISPLAYED_ON); + createEOperation(isDisplayedOnEClass, IS_DISPLAYED_ON___GET_SYMBOL); + createEOperation(isDisplayedOnEClass, IS_DISPLAYED_ON___GET_UNDERLYING_TYPE); + createEOperation(isDisplayedOnEClass, IS_DISPLAYED_ON___GET_EXPRESSION_TEXT); + + isChangedDisplayEClass = createEClass(IS_CHANGED_DISPLAY); + createEOperation(isChangedDisplayEClass, IS_CHANGED_DISPLAY___GET_SYMBOL); + createEOperation(isChangedDisplayEClass, IS_CHANGED_DISPLAY___GET_UNDERLYING_TYPE); + + isTranslatedViewToEClass = createEClass(IS_TRANSLATED_VIEW_TO); + createEOperation(isTranslatedViewToEClass, IS_TRANSLATED_VIEW_TO___GET_SYMBOL); + createEOperation(isTranslatedViewToEClass, IS_TRANSLATED_VIEW_TO___GET_UNDERLYING_TYPE); + createEOperation(isTranslatedViewToEClass, IS_TRANSLATED_VIEW_TO___GET_EXPRESSION_TEXT); + + hideLowerPriorityEClass = createEClass(HIDE_LOWER_PRIORITY); + createEOperation(hideLowerPriorityEClass, HIDE_LOWER_PRIORITY___GET_SYMBOL); + createEOperation(hideLowerPriorityEClass, HIDE_LOWER_PRIORITY___GET_UNDERLYING_TYPE); + createEOperation(hideLowerPriorityEClass, HIDE_LOWER_PRIORITY___GET_EXPRESSION_TEXT); + + // Create enums + basePointEEnum = createEEnum(BASE_POINT); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) + return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + RBACorePackage theRBACorePackage = (RBACorePackage) EPackage.Registry.INSTANCE + .getEPackage(RBACorePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + viewContentEClass.getESuperTypes().add(theRBACorePackage.getContent()); + viewContentSetEClass.getESuperTypes().add(theRBACorePackage.getContentSet()); + viewContentStateEClass.getESuperTypes().add(theRBACorePackage.getContentState()); + alignedLayoutEClass.getESuperTypes().add(this.getLayoutManager()); + verticalLayoutEClass.getESuperTypes().add(this.getAlignedLayout()); + horizontalLayoutEClass.getESuperTypes().add(this.getAlignedLayout()); + fixedPositionLayoutEClass.getESuperTypes().add(this.getLayoutManager()); + displayEClass.getESuperTypes().add(theRBACorePackage.getPackagableElement()); + compositeAreaEClass.getESuperTypes().add(theRBACorePackage.getPackagableElement()); + areaEClass.getESuperTypes().add(theRBACorePackage.getAllocatable()); + areaSetEClass.getESuperTypes().add(theRBACorePackage.getAllocatableSet()); + sizeEClass.getESuperTypes().add(theRBACorePackage.getPackagableElement()); + sizeEClass.getESuperTypes().add(this.getSizeIdentifier()); + sizeReferenceEClass.getESuperTypes().add(this.getSizeIdentifier()); + offsetEClass.getESuperTypes().add(theRBACorePackage.getPackagableElement()); + areaOperatorEClass.getESuperTypes().add(theRBACorePackage.getAllocatableOperator()); + isDisplayedEClass.getESuperTypes().add(this.getAreaOperator()); + displayingContentEClass.getESuperTypes().add(this.getAreaOperator()); + isHiddenEClass.getESuperTypes().add(this.getAreaOperator()); + viewContentOperatorEClass.getESuperTypes().add(theRBACorePackage.getContentOperator()); + isVisibleEClass.getESuperTypes().add(this.getViewContentOperator()); + allInstanceOfAreaEClass.getESuperTypes().add(theRBACorePackage.getSetExpression()); + allInstanceOfViewContentEClass.getESuperTypes().add(theRBACorePackage.getSetExpression()); + isDisplayedOnEClass.getESuperTypes().add(this.getViewContentOperator()); + isDisplayedOnEClass.getESuperTypes().add(theRBACorePackage.getSugarExpressionBase()); + isChangedDisplayEClass.getESuperTypes().add(this.getAreaOperator()); + isChangedDisplayEClass.getESuperTypes().add(theRBACorePackage.getSugarExpressionBase()); + isTranslatedViewToEClass.getESuperTypes().add(this.getAreaOperator()); + isTranslatedViewToEClass.getESuperTypes().add(theRBACorePackage.getSugarExpressionBase()); + hideLowerPriorityEClass.getESuperTypes().add(theRBACorePackage.getOperator()); + hideLowerPriorityEClass.getESuperTypes().add(theRBACorePackage.getSugarExpressionBase()); + + // Initialize classes, features, and operations; add parameters + initEClass(viewContentEClass, ViewContent.class, "ViewContent", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getViewContent_Size(), this.getSizeIdentifier(), null, "size", null, 0, -1, ViewContent.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEOperation(getViewContent__GetExpressionType(), theRBACorePackage.getExpressionType(), "getExpressionType", + 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(viewContentSetEClass, ViewContentSet.class, "ViewContentSet", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getViewContentSet__GetExpressionType(), theRBACorePackage.getExpressionType(), + "getExpressionType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(viewContentStateEClass, ViewContentState.class, "ViewContentState", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getViewContentState__GetExpressionType(), theRBACorePackage.getExpressionType(), + "getExpressionType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(layoutManagerEClass, LayoutManager.class, "LayoutManager", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getLayoutManager__CollectLeafArea(), this.getArea(), "collectLeafArea", 0, -1, IS_UNIQUE, + !IS_ORDERED); + + initEClass(alignedLayoutEClass, AlignedLayout.class, "AlignedLayout", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getAlignedLayout_Subarea(), this.getArea(), null, "subarea", null, 0, -1, AlignedLayout.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlignedLayout_BasePoint(), this.getBasePoint(), "basePoint", null, 0, 1, AlignedLayout.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEOperation(getAlignedLayout__CollectLeafArea(), this.getArea(), "collectLeafArea", 0, -1, IS_UNIQUE, + !IS_ORDERED); + + initEClass(verticalLayoutEClass, VerticalLayout.class, "VerticalLayout", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(horizontalLayoutEClass, HorizontalLayout.class, "HorizontalLayout", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(fixedPositionLayoutEClass, FixedPositionLayout.class, "FixedPositionLayout", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFixedPositionLayout_SubAreaPosition(), this.getPositionContainer(), null, "subAreaPosition", + null, 0, -1, FixedPositionLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEOperation(getFixedPositionLayout__CollectLeafArea(), this.getArea(), "collectLeafArea", 0, -1, IS_UNIQUE, + !IS_ORDERED); + + initEClass(positionContainerEClass, PositionContainer.class, "PositionContainer", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPositionContainer_X(), ecorePackage.getEInt(), "x", null, 1, 1, PositionContainer.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPositionContainer_Y(), ecorePackage.getEInt(), "y", null, 1, 1, PositionContainer.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPositionContainer_BasePoint(), this.getBasePoint(), "basePoint", null, 0, 1, + PositionContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getPositionContainer_Area(), this.getArea(), null, "area", null, 1, 1, PositionContainer.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPositionContainer_Offset(), this.getOffset(), null, "offset", null, 0, -1, + PositionContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(displayEClass, Display.class, "Display", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDisplay_Root(), this.getCompositeArea(), null, "root", null, 0, 1, Display.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDisplay_Size(), this.getSizeIdentifier(), null, "size", null, 1, 1, Display.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(compositeAreaEClass, CompositeArea.class, "CompositeArea", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getCompositeArea_Layout(), this.getLayoutManager(), null, "layout", null, 0, 1, + CompositeArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEOperation(getCompositeArea__CollectLeafArea(), this.getArea(), "collectLeafArea", 0, -1, IS_UNIQUE, + !IS_ORDERED); + + initEOperation(getCompositeArea__GetExpressionType(), theRBACorePackage.getExpressionType(), + "getExpressionType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(areaEClass, Area.class, "Area", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getArea_Zorder(), theRBACorePackage.getExpression(), null, "zorder", null, 0, 1, Area.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getArea_Size(), this.getSizeIdentifier(), null, "size", null, 0, -1, Area.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEOperation(getArea__GetExpressionType(), theRBACorePackage.getExpressionType(), "getExpressionType", 0, 1, + IS_UNIQUE, IS_ORDERED); + + initEClass(areaSetEClass, AreaSet.class, "AreaSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getAreaSet__GetExpressionType(), theRBACorePackage.getExpressionType(), "getExpressionType", 0, + 1, IS_UNIQUE, IS_ORDERED); + + initEClass(sizeIdentifierEClass, SizeIdentifier.class, "SizeIdentifier", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(sizeEClass, Size.class, "Size", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSize_Width(), ecorePackage.getEInt(), "width", null, 1, 1, Size.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSize_Height(), ecorePackage.getEInt(), "height", null, 1, 1, Size.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(sizeReferenceEClass, SizeReference.class, "SizeReference", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getSizeReference_Size(), this.getSize(), null, "size", null, 0, 1, SizeReference.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(offsetEClass, Offset.class, "Offset", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getOffset_X(), ecorePackage.getEInt(), "x", null, 1, 1, Offset.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOffset_Y(), ecorePackage.getEInt(), "y", null, 1, 1, Offset.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getOffset_Size(), this.getSizeReference(), null, "size", null, 1, 1, Offset.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(areaOperatorEClass, AreaOperator.class, "AreaOperator", IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEClass(isDisplayedEClass, IsDisplayed.class, "IsDisplayed", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getIsDisplayed__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, + IS_ORDERED); + + initEOperation(getIsDisplayed__GetUnderlyingType(), theRBACorePackage.getExpressionType(), "getUnderlyingType", + 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(displayingContentEClass, DisplayingContent.class, "DisplayingContent", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getDisplayingContent__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, + IS_ORDERED); + + initEOperation(getDisplayingContent__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(isHiddenEClass, IsHidden.class, "IsHidden", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getIsHidden__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEOperation(getIsHidden__GetUnderlyingType(), theRBACorePackage.getExpressionType(), "getUnderlyingType", 0, + 1, IS_UNIQUE, IS_ORDERED); + + initEClass(viewContentOperatorEClass, ViewContentOperator.class, "ViewContentOperator", IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getViewContentOperator__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(isVisibleEClass, IsVisible.class, "IsVisible", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getIsVisible__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(allInstanceOfAreaEClass, AllInstanceOfArea.class, "AllInstanceOfArea", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getAllInstanceOfArea__GetExpressionText(), ecorePackage.getEString(), "getExpressionText", 0, 1, + IS_UNIQUE, IS_ORDERED); + + initEOperation(getAllInstanceOfArea__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(allInstanceOfViewContentEClass, AllInstanceOfViewContent.class, "AllInstanceOfViewContent", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getAllInstanceOfViewContent__GetExpressionText(), ecorePackage.getEString(), "getExpressionText", + 0, 1, IS_UNIQUE, IS_ORDERED); + + initEOperation(getAllInstanceOfViewContent__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(isDisplayedOnEClass, IsDisplayedOn.class, "IsDisplayedOn", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getIsDisplayedOn__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, + IS_ORDERED); + + initEOperation(getIsDisplayedOn__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEOperation(getIsDisplayedOn__GetExpressionText(), ecorePackage.getEString(), "getExpressionText", 0, 1, + IS_UNIQUE, IS_ORDERED); + + initEClass(isChangedDisplayEClass, IsChangedDisplay.class, "IsChangedDisplay", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getIsChangedDisplay__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, + IS_ORDERED); + + initEOperation(getIsChangedDisplay__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEClass(isTranslatedViewToEClass, IsTranslatedViewTo.class, "IsTranslatedViewTo", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getIsTranslatedViewTo__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, + IS_ORDERED); + + initEOperation(getIsTranslatedViewTo__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEOperation(getIsTranslatedViewTo__GetExpressionText(), ecorePackage.getEString(), "getExpressionText", 0, 1, + IS_UNIQUE, IS_ORDERED); + + initEClass(hideLowerPriorityEClass, HideLowerPriority.class, "HideLowerPriority", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + + initEOperation(getHideLowerPriority__GetSymbol(), ecorePackage.getEString(), "getSymbol", 0, 1, IS_UNIQUE, + IS_ORDERED); + + initEOperation(getHideLowerPriority__GetUnderlyingType(), theRBACorePackage.getExpressionType(), + "getUnderlyingType", 0, 1, IS_UNIQUE, IS_ORDERED); + + initEOperation(getHideLowerPriority__GetExpressionText(), ecorePackage.getEString(), "getExpressionText", 0, 1, + IS_UNIQUE, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(basePointEEnum, BasePoint.class, "BasePoint"); + addEEnumLiteral(basePointEEnum, BasePoint.LEFT_TOP); + addEEnumLiteral(basePointEEnum, BasePoint.LEFT_MIDDLE); + addEEnumLiteral(basePointEEnum, BasePoint.LEFT_BOTTOM); + addEEnumLiteral(basePointEEnum, BasePoint.RIGHT_TOP); + addEEnumLiteral(basePointEEnum, BasePoint.RIGHT_MIDDLE); + addEEnumLiteral(basePointEEnum, BasePoint.RIGHT_BOTTOM); + addEEnumLiteral(basePointEEnum, BasePoint.CENTER_TOP); + addEEnumLiteral(basePointEEnum, BasePoint.CENTER_MIDDLE); + addEEnumLiteral(basePointEEnum, BasePoint.CENTER_BOTTOM); + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http://www.eclipse.org/OCL/Import + createImportAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/OCL/Import</b>. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected void createImportAnnotations() { + String source = "http://www.eclipse.org/OCL/Import"; + addAnnotation(this, source, new String[] { "RbaCore", "../../rba.model.core/model/rbacore.ecore#/", "ecore", + "http://www.eclipse.org/emf/2002/Ecore" }); + } + +} // RBAViewPackageImpl diff --git a/rba.model.view/src/rba/view/impl/SizeIdentifierImpl.java b/rba.model.view/src/rba/view/impl/SizeIdentifierImpl.java new file mode 100644 index 0000000..8ca07ca --- /dev/null +++ b/rba.model.view/src/rba/view/impl/SizeIdentifierImpl.java @@ -0,0 +1,35 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import rba.view.RBAViewPackage; +import rba.view.SizeIdentifier; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Size Identifier</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public abstract class SizeIdentifierImpl extends MinimalEObjectImpl.Container implements SizeIdentifier { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected SizeIdentifierImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.SIZE_IDENTIFIER; + } + +} // SizeIdentifierImpl diff --git a/rba.model.view/src/rba/view/impl/SizeImpl.java b/rba.model.view/src/rba/view/impl/SizeImpl.java new file mode 100644 index 0000000..f320ca4 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/SizeImpl.java @@ -0,0 +1,274 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import rba.core.impl.PackagableElementImpl; + +import rba.view.RBAViewPackage; +import rba.view.Size; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Size</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.SizeImpl#getWidth <em>Width</em>}</li> + * <li>{@link rba.view.impl.SizeImpl#getHeight <em>Height</em>}</li> + * </ul> + * + * @generated + */ +public class SizeImpl extends PackagableElementImpl implements Size { + /** + * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getWidth() + * @generated + * @ordered + */ + protected static final int WIDTH_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getWidth() + * @generated + * @ordered + */ + protected int width = WIDTH_EDEFAULT; + + /** + * This is true if the Width attribute has been set. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean widthESet; + + /** + * The default value of the '{@link #getHeight() <em>Height</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getHeight() + * @generated + * @ordered + */ + protected static final int HEIGHT_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getHeight() <em>Height</em>}' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getHeight() + * @generated + * @ordered + */ + protected int height = HEIGHT_EDEFAULT; + + /** + * This is true if the Height attribute has been set. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean heightESet; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected SizeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.SIZE; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public int getWidth() { + return width; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setWidth(int newWidth) { + int oldWidth = width; + width = newWidth; + boolean oldWidthESet = widthESet; + widthESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.SIZE__WIDTH, oldWidth, width, + !oldWidthESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void unsetWidth() { + int oldWidth = width; + boolean oldWidthESet = widthESet; + width = WIDTH_EDEFAULT; + widthESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, RBAViewPackage.SIZE__WIDTH, oldWidth, + WIDTH_EDEFAULT, oldWidthESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public boolean isSetWidth() { + return widthESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public int getHeight() { + return height; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setHeight(int newHeight) { + int oldHeight = height; + height = newHeight; + boolean oldHeightESet = heightESet; + heightESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.SIZE__HEIGHT, oldHeight, height, + !oldHeightESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void unsetHeight() { + int oldHeight = height; + boolean oldHeightESet = heightESet; + height = HEIGHT_EDEFAULT; + heightESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, RBAViewPackage.SIZE__HEIGHT, oldHeight, + HEIGHT_EDEFAULT, oldHeightESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public boolean isSetHeight() { + return heightESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.SIZE__WIDTH: + return getWidth(); + case RBAViewPackage.SIZE__HEIGHT: + return getHeight(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.SIZE__WIDTH: + setWidth((Integer) newValue); + return; + case RBAViewPackage.SIZE__HEIGHT: + setHeight((Integer) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.SIZE__WIDTH: + unsetWidth(); + return; + case RBAViewPackage.SIZE__HEIGHT: + unsetHeight(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.SIZE__WIDTH: + return isSetWidth(); + case RBAViewPackage.SIZE__HEIGHT: + return isSetHeight(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (width: "); + if (widthESet) + result.append(width); + else + result.append("<unset>"); + result.append(", height: "); + if (heightESet) + result.append(height); + else + result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} // SizeImpl diff --git a/rba.model.view/src/rba/view/impl/SizeReferenceImpl.java b/rba.model.view/src/rba/view/impl/SizeReferenceImpl.java new file mode 100644 index 0000000..3903a1d --- /dev/null +++ b/rba.model.view/src/rba/view/impl/SizeReferenceImpl.java @@ -0,0 +1,146 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import rba.view.RBAViewPackage; +import rba.view.Size; +import rba.view.SizeReference; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Size Reference</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.SizeReferenceImpl#getSize <em>Size</em>}</li> + * </ul> + * + * @generated + */ +public class SizeReferenceImpl extends SizeIdentifierImpl implements SizeReference { + /** + * The cached value of the '{@link #getSize() <em>Size</em>}' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see #getSize() + * @generated + * @ordered + */ + protected Size size; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected SizeReferenceImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.SIZE_REFERENCE; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Size getSize() { + if (size != null && size.eIsProxy()) { + InternalEObject oldSize = (InternalEObject) size; + size = (Size) eResolveProxy(oldSize); + if (size != oldSize) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RBAViewPackage.SIZE_REFERENCE__SIZE, + oldSize, size)); + } + } + return size; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public Size basicGetSize() { + return size; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public void setSize(Size newSize) { + Size oldSize = size; + size = newSize; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RBAViewPackage.SIZE_REFERENCE__SIZE, oldSize, size)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.SIZE_REFERENCE__SIZE: + if (resolve) + return getSize(); + return basicGetSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.SIZE_REFERENCE__SIZE: + setSize((Size) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.SIZE_REFERENCE__SIZE: + setSize((Size) null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.SIZE_REFERENCE__SIZE: + return size != null; + } + return super.eIsSet(featureID); + } + +} // SizeReferenceImpl diff --git a/rba.model.view/src/rba/view/impl/VerticalLayoutImpl.java b/rba.model.view/src/rba/view/impl/VerticalLayoutImpl.java new file mode 100644 index 0000000..bac8918 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/VerticalLayoutImpl.java @@ -0,0 +1,33 @@ +/** + */ +package rba.view.impl; + +import org.eclipse.emf.ecore.EClass; + +import rba.view.RBAViewPackage; +import rba.view.VerticalLayout; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Vertical Layout</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class VerticalLayoutImpl extends AlignedLayoutImpl implements VerticalLayout { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected VerticalLayoutImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.VERTICAL_LAYOUT; + } + +} // VerticalLayoutImpl diff --git a/rba.model.view/src/rba/view/impl/ViewContentImpl.java b/rba.model.view/src/rba/view/impl/ViewContentImpl.java new file mode 100644 index 0000000..e2a1688 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/ViewContentImpl.java @@ -0,0 +1,160 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; +import java.util.Collection; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import rba.core.ExpressionType; +import rba.core.impl.ContentImpl; +import rba.view.RBAViewPackage; +import rba.view.SizeIdentifier; +import rba.view.ViewContent; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>View Content</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link rba.view.impl.ViewContentImpl#getSize <em>Size</em>}</li> + * </ul> + * + * @generated + */ +public class ViewContentImpl extends ContentImpl implements ViewContent { + /** + * The cached value of the '{@link #getSize() <em>Size</em>}' containment reference list. + * <!-- begin-user-doc --> <!-- + * end-user-doc --> + * @see #getSize() + * @generated + * @ordered + */ + protected EList<SizeIdentifier> size; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected ViewContentImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.VIEW_CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public EList<SizeIdentifier> getSize() { + if (size == null) { + size = new EObjectContainmentEList<SizeIdentifier>(SizeIdentifier.class, this, + RBAViewPackage.VIEW_CONTENT__SIZE); + } + return size; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getExpressionType() { + return ExpressionType.CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case RBAViewPackage.VIEW_CONTENT__SIZE: + return ((InternalEList<?>) getSize()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RBAViewPackage.VIEW_CONTENT__SIZE: + return getSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RBAViewPackage.VIEW_CONTENT__SIZE: + getSize().clear(); + getSize().addAll((Collection<? extends SizeIdentifier>) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RBAViewPackage.VIEW_CONTENT__SIZE: + getSize().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RBAViewPackage.VIEW_CONTENT__SIZE: + return size != null && !size.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.VIEW_CONTENT___GET_EXPRESSION_TYPE: + return getExpressionType(); + } + return super.eInvoke(operationID, arguments); + } + +} // ViewContentImpl diff --git a/rba.model.view/src/rba/view/impl/ViewContentOperatorImpl.java b/rba.model.view/src/rba/view/impl/ViewContentOperatorImpl.java new file mode 100644 index 0000000..d3a6b8c --- /dev/null +++ b/rba.model.view/src/rba/view/impl/ViewContentOperatorImpl.java @@ -0,0 +1,62 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.core.impl.ContentOperatorImpl; + +import rba.view.RBAViewPackage; +import rba.view.ViewContentOperator; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>View Content Operator</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public abstract class ViewContentOperatorImpl extends ContentOperatorImpl implements ViewContentOperator { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected ViewContentOperatorImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.VIEW_CONTENT_OPERATOR; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getUnderlyingType() { + return ExpressionType.BOOLEAN; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.VIEW_CONTENT_OPERATOR___GET_UNDERLYING_TYPE: + return getUnderlyingType(); + } + return super.eInvoke(operationID, arguments); + } + +} // ViewContentOperatorImpl diff --git a/rba.model.view/src/rba/view/impl/ViewContentSetImpl.java b/rba.model.view/src/rba/view/impl/ViewContentSetImpl.java new file mode 100644 index 0000000..2454031 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/ViewContentSetImpl.java @@ -0,0 +1,62 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.core.impl.ContentSetImpl; + +import rba.view.RBAViewPackage; +import rba.view.ViewContentSet; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>View Content Set</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class ViewContentSetImpl extends ContentSetImpl implements ViewContentSet { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected ViewContentSetImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.VIEW_CONTENT_SET; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getExpressionType() { + return ExpressionType.SET_OF_CONTENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.VIEW_CONTENT_SET___GET_EXPRESSION_TYPE: + return getExpressionType(); + } + return super.eInvoke(operationID, arguments); + } + +} // ViewContentSetImpl diff --git a/rba.model.view/src/rba/view/impl/ViewContentStateImpl.java b/rba.model.view/src/rba/view/impl/ViewContentStateImpl.java new file mode 100644 index 0000000..7dbdbd4 --- /dev/null +++ b/rba.model.view/src/rba/view/impl/ViewContentStateImpl.java @@ -0,0 +1,62 @@ +/** + */ +package rba.view.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import rba.core.ExpressionType; + +import rba.core.impl.ContentStateImpl; + +import rba.view.RBAViewPackage; +import rba.view.ViewContentState; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>View Content State</b></em>'. <!-- end-user-doc --> + * + * @generated + */ +public class ViewContentStateImpl extends ContentStateImpl implements ViewContentState { + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected ViewContentStateImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RBAViewPackage.Literals.VIEW_CONTENT_STATE; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public ExpressionType getExpressionType() { + return ExpressionType.CONTENT_STATE; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RBAViewPackage.VIEW_CONTENT_STATE___GET_EXPRESSION_TYPE: + return getExpressionType(); + } + return super.eInvoke(operationID, arguments); + } + +} // ViewContentStateImpl diff --git a/rba.model.view/src/rba/view/util/RBAViewAdapterFactory.java b/rba.model.view/src/rba/view/util/RBAViewAdapterFactory.java new file mode 100644 index 0000000..4833064 --- /dev/null +++ b/rba.model.view/src/rba/view/util/RBAViewAdapterFactory.java @@ -0,0 +1,930 @@ +/** + */ +package rba.view.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import rba.core.AbstractAllocatable; +import rba.core.AbstractContent; +import rba.core.Allocatable; +import rba.core.AllocatableOperator; +import rba.core.AllocatableSet; +import rba.core.Content; +import rba.core.ContentOperator; +import rba.core.ContentSet; +import rba.core.ContentState; +import rba.core.Expression; +import rba.core.ModelElement; +import rba.core.NamedElement; +import rba.core.Operator; +import rba.core.PackagableElement; +import rba.core.RuleObject; +import rba.core.SetExpression; + +import rba.core.SugarExpression; +import rba.core.SugarExpressionBase; +import rba.view.*; + +/** + * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code> method for + * each class of the model. <!-- end-user-doc --> + * @see rba.view.RBAViewPackage + * @generated + */ +public class RBAViewAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected static RBAViewPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public RBAViewAdapterFactory() { + if (modelPackage == null) { + modelPackage = RBAViewPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> This implementation + * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!-- + * end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject) object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected RBAViewSwitch<Adapter> modelSwitch = new RBAViewSwitch<Adapter>() { + @Override + public Adapter caseViewContent(ViewContent object) { + return createViewContentAdapter(); + } + + @Override + public Adapter caseViewContentSet(ViewContentSet object) { + return createViewContentSetAdapter(); + } + + @Override + public Adapter caseViewContentState(ViewContentState object) { + return createViewContentStateAdapter(); + } + + @Override + public Adapter caseLayoutManager(LayoutManager object) { + return createLayoutManagerAdapter(); + } + + @Override + public Adapter caseAlignedLayout(AlignedLayout object) { + return createAlignedLayoutAdapter(); + } + + @Override + public Adapter caseVerticalLayout(VerticalLayout object) { + return createVerticalLayoutAdapter(); + } + + @Override + public Adapter caseHorizontalLayout(HorizontalLayout object) { + return createHorizontalLayoutAdapter(); + } + + @Override + public Adapter caseFixedPositionLayout(FixedPositionLayout object) { + return createFixedPositionLayoutAdapter(); + } + + @Override + public Adapter casePositionContainer(PositionContainer object) { + return createPositionContainerAdapter(); + } + + @Override + public Adapter caseDisplay(Display object) { + return createDisplayAdapter(); + } + + @Override + public Adapter caseCompositeArea(CompositeArea object) { + return createCompositeAreaAdapter(); + } + + @Override + public Adapter caseArea(Area object) { + return createAreaAdapter(); + } + + @Override + public Adapter caseAreaSet(AreaSet object) { + return createAreaSetAdapter(); + } + + @Override + public Adapter caseSizeIdentifier(SizeIdentifier object) { + return createSizeIdentifierAdapter(); + } + + @Override + public Adapter caseSize(Size object) { + return createSizeAdapter(); + } + + @Override + public Adapter caseSizeReference(SizeReference object) { + return createSizeReferenceAdapter(); + } + + @Override + public Adapter caseOffset(Offset object) { + return createOffsetAdapter(); + } + + @Override + public Adapter caseAreaOperator(AreaOperator object) { + return createAreaOperatorAdapter(); + } + + @Override + public Adapter caseIsDisplayed(IsDisplayed object) { + return createIsDisplayedAdapter(); + } + + @Override + public Adapter caseDisplayingContent(DisplayingContent object) { + return createDisplayingContentAdapter(); + } + + @Override + public Adapter caseIsHidden(IsHidden object) { + return createIsHiddenAdapter(); + } + + @Override + public Adapter caseViewContentOperator(ViewContentOperator object) { + return createViewContentOperatorAdapter(); + } + + @Override + public Adapter caseIsVisible(IsVisible object) { + return createIsVisibleAdapter(); + } + + @Override + public Adapter caseAllInstanceOfArea(AllInstanceOfArea object) { + return createAllInstanceOfAreaAdapter(); + } + + @Override + public Adapter caseAllInstanceOfViewContent(AllInstanceOfViewContent object) { + return createAllInstanceOfViewContentAdapter(); + } + + @Override + public Adapter caseIsDisplayedOn(IsDisplayedOn object) { + return createIsDisplayedOnAdapter(); + } + + @Override + public Adapter caseIsChangedDisplay(IsChangedDisplay object) { + return createIsChangedDisplayAdapter(); + } + + @Override + public Adapter caseIsTranslatedViewTo(IsTranslatedViewTo object) { + return createIsTranslatedViewToAdapter(); + } + + @Override + public Adapter caseHideLowerPriority(HideLowerPriority object) { + return createHideLowerPriorityAdapter(); + } + + @Override + public Adapter caseModelElement(ModelElement object) { + return createModelElementAdapter(); + } + + @Override + public Adapter caseNamedElement(NamedElement object) { + return createNamedElementAdapter(); + } + + @Override + public Adapter casePackagableElement(PackagableElement object) { + return createPackagableElementAdapter(); + } + + @Override + public Adapter caseRuleObject(RuleObject object) { + return createRuleObjectAdapter(); + } + + @Override + public Adapter caseAbstractContent(AbstractContent object) { + return createAbstractContentAdapter(); + } + + @Override + public Adapter caseContent(Content object) { + return createContentAdapter(); + } + + @Override + public Adapter caseContentSet(ContentSet object) { + return createContentSetAdapter(); + } + + @Override + public Adapter caseContentState(ContentState object) { + return createContentStateAdapter(); + } + + @Override + public Adapter caseAbstractAllocatable(AbstractAllocatable object) { + return createAbstractAllocatableAdapter(); + } + + @Override + public Adapter caseAllocatable(Allocatable object) { + return createAllocatableAdapter(); + } + + @Override + public Adapter caseAllocatableSet(AllocatableSet object) { + return createAllocatableSetAdapter(); + } + + @Override + public Adapter caseExpression(Expression object) { + return createExpressionAdapter(); + } + + @Override + public Adapter caseOperator(Operator object) { + return createOperatorAdapter(); + } + + @Override + public Adapter caseAllocatableOperator(AllocatableOperator object) { + return createAllocatableOperatorAdapter(); + } + + @Override + public Adapter caseContentOperator(ContentOperator object) { + return createContentOperatorAdapter(); + } + + @Override + public Adapter caseSetExpression(SetExpression object) { + return createSetExpressionAdapter(); + } + + @Override + public Adapter caseSugarExpression(SugarExpression object) { + return createSugarExpressionAdapter(); + } + + @Override + public Adapter caseSugarExpressionBase(SugarExpressionBase object) { + return createSugarExpressionBaseAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject) target); + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.ViewContent <em>View Content</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.ViewContent + * @generated + */ + public Adapter createViewContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.ViewContentSet <em>View Content Set</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.ViewContentSet + * @generated + */ + public Adapter createViewContentSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.ViewContentState <em>View Content State</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.ViewContentState + * @generated + */ + public Adapter createViewContentStateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.LayoutManager <em>Layout Manager</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.LayoutManager + * @generated + */ + public Adapter createLayoutManagerAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.AlignedLayout <em>Aligned Layout</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.AlignedLayout + * @generated + */ + public Adapter createAlignedLayoutAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.VerticalLayout <em>Vertical Layout</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.VerticalLayout + * @generated + */ + public Adapter createVerticalLayoutAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.HorizontalLayout <em>Horizontal Layout</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.HorizontalLayout + * @generated + */ + public Adapter createHorizontalLayoutAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.FixedPositionLayout <em>Fixed Position Layout</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.FixedPositionLayout + * @generated + */ + public Adapter createFixedPositionLayoutAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.PositionContainer <em>Position Container</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.PositionContainer + * @generated + */ + public Adapter createPositionContainerAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.Display <em>Display</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.Display + * @generated + */ + public Adapter createDisplayAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.CompositeArea <em>Composite Area</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.CompositeArea + * @generated + */ + public Adapter createCompositeAreaAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.Area <em>Area</em>}'. + * <!-- begin-user-doc --> This default + * implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch + * all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.Area + * @generated + */ + public Adapter createAreaAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.AreaSet <em>Area Set</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.AreaSet + * @generated + */ + public Adapter createAreaSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.SizeIdentifier <em>Size Identifier</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.SizeIdentifier + * @generated + */ + public Adapter createSizeIdentifierAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.Size <em>Size</em>}'. + * <!-- begin-user-doc --> This default + * implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch + * all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.Size + * @generated + */ + public Adapter createSizeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.SizeReference <em>Size Reference</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.SizeReference + * @generated + */ + public Adapter createSizeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.Offset <em>Offset</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.Offset + * @generated + */ + public Adapter createOffsetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.AreaOperator <em>Area Operator</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.AreaOperator + * @generated + */ + public Adapter createAreaOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.IsDisplayed <em>Is Displayed</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.IsDisplayed + * @generated + */ + public Adapter createIsDisplayedAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.DisplayingContent <em>Displaying Content</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.DisplayingContent + * @generated + */ + public Adapter createDisplayingContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.IsHidden <em>Is Hidden</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.IsHidden + * @generated + */ + public Adapter createIsHiddenAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.ViewContentOperator <em>View Content Operator</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.ViewContentOperator + * @generated + */ + public Adapter createViewContentOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.IsVisible <em>Is Visible</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.IsVisible + * @generated + */ + public Adapter createIsVisibleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.AllInstanceOfArea <em>All Instance Of Area</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.AllInstanceOfArea + * @generated + */ + public Adapter createAllInstanceOfAreaAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.AllInstanceOfViewContent <em>All Instance Of View Content</em>}'. + * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's + * useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.AllInstanceOfViewContent + * @generated + */ + public Adapter createAllInstanceOfViewContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.IsDisplayedOn <em>Is Displayed On</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.IsDisplayedOn + * @generated + */ + public Adapter createIsDisplayedOnAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.IsChangedDisplay <em>Is Changed Display</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.IsChangedDisplay + * @generated + */ + public Adapter createIsChangedDisplayAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.IsTranslatedViewTo <em>Is Translated View To</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.IsTranslatedViewTo + * @generated + */ + public Adapter createIsTranslatedViewToAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.view.HideLowerPriority <em>Hide Lower Priority</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.view.HideLowerPriority + * @generated + */ + public Adapter createHideLowerPriorityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ModelElement <em>Model Element</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ModelElement + * @generated + */ + public Adapter createModelElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.NamedElement <em>Named Element</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.NamedElement + * @generated + */ + public Adapter createNamedElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.PackagableElement <em>Packagable Element</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.PackagableElement + * @generated + */ + public Adapter createPackagableElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.RuleObject <em>Rule Object</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.RuleObject + * @generated + */ + public Adapter createRuleObjectAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.AbstractContent <em>Abstract Content</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.AbstractContent + * @generated + */ + public Adapter createAbstractContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Content <em>Content</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Content + * @generated + */ + public Adapter createContentAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ContentSet <em>Content Set</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ContentSet + * @generated + */ + public Adapter createContentSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ContentState <em>Content State</em>}'. + * <!-- begin-user-doc + * --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ContentState + * @generated + */ + public Adapter createContentStateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.AbstractAllocatable <em>Abstract Allocatable</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.AbstractAllocatable + * @generated + */ + public Adapter createAbstractAllocatableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Allocatable <em>Allocatable</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Allocatable + * @generated + */ + public Adapter createAllocatableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.AllocatableSet <em>Allocatable Set</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.AllocatableSet + * @generated + */ + public Adapter createAllocatableSetAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Expression <em>Expression</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when + * inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Expression + * @generated + */ + public Adapter createExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.Operator <em>Operator</em>}'. + * <!-- begin-user-doc --> This + * default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance + * will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.Operator + * @generated + */ + public Adapter createOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.AllocatableOperator <em>Allocatable Operator</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.AllocatableOperator + * @generated + */ + public Adapter createAllocatableOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.ContentOperator <em>Content Operator</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.ContentOperator + * @generated + */ + public Adapter createContentOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.SetExpression <em>Set Expression</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.SetExpression + * @generated + */ + public Adapter createSetExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.SugarExpression <em>Sugar Expression</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.SugarExpression + * @generated + */ + public Adapter createSugarExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link rba.core.SugarExpressionBase <em>Sugar Expression Base</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to ignore a + * case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * @return the new adapter. + * @see rba.core.SugarExpressionBase + * @generated + */ + public Adapter createSugarExpressionBaseAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> This default implementation returns null. <!-- + * end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} // RBAViewAdapterFactory diff --git a/rba.model.view/src/rba/view/util/RBAViewSwitch.java b/rba.model.view/src/rba/view/util/RBAViewSwitch.java new file mode 100644 index 0000000..ec7052d --- /dev/null +++ b/rba.model.view/src/rba/view/util/RBAViewSwitch.java @@ -0,0 +1,1107 @@ +/** + */ +package rba.view.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import rba.core.AbstractAllocatable; +import rba.core.AbstractContent; +import rba.core.Allocatable; +import rba.core.AllocatableOperator; +import rba.core.AllocatableSet; +import rba.core.Content; +import rba.core.ContentOperator; +import rba.core.ContentSet; +import rba.core.ContentState; +import rba.core.Expression; +import rba.core.ModelElement; +import rba.core.NamedElement; +import rba.core.Operator; +import rba.core.PackagableElement; +import rba.core.RuleObject; +import rba.core.SetExpression; + +import rba.core.SugarExpression; +import rba.core.SugarExpressionBase; +import rba.view.*; + +/** + * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call + * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, starting + * with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is + * the result of the switch. <!-- end-user-doc --> + * @see rba.view.RBAViewPackage + * @generated + */ +public class RBAViewSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + protected static RBAViewPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @generated + */ + public RBAViewSwitch() { + if (modelPackage == null) { + modelPackage = RBAViewPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case RBAViewPackage.VIEW_CONTENT: { + ViewContent viewContent = (ViewContent) theEObject; + T result = caseViewContent(viewContent); + if (result == null) + result = caseContent(viewContent); + if (result == null) + result = caseAbstractContent(viewContent); + if (result == null) + result = caseRuleObject(viewContent); + if (result == null) + result = casePackagableElement(viewContent); + if (result == null) + result = caseNamedElement(viewContent); + if (result == null) + result = caseModelElement(viewContent); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.VIEW_CONTENT_SET: { + ViewContentSet viewContentSet = (ViewContentSet) theEObject; + T result = caseViewContentSet(viewContentSet); + if (result == null) + result = caseContentSet(viewContentSet); + if (result == null) + result = caseAbstractContent(viewContentSet); + if (result == null) + result = caseRuleObject(viewContentSet); + if (result == null) + result = casePackagableElement(viewContentSet); + if (result == null) + result = caseNamedElement(viewContentSet); + if (result == null) + result = caseModelElement(viewContentSet); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.VIEW_CONTENT_STATE: { + ViewContentState viewContentState = (ViewContentState) theEObject; + T result = caseViewContentState(viewContentState); + if (result == null) + result = caseContentState(viewContentState); + if (result == null) + result = caseRuleObject(viewContentState); + if (result == null) + result = casePackagableElement(viewContentState); + if (result == null) + result = caseNamedElement(viewContentState); + if (result == null) + result = caseModelElement(viewContentState); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.LAYOUT_MANAGER: { + LayoutManager layoutManager = (LayoutManager) theEObject; + T result = caseLayoutManager(layoutManager); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.ALIGNED_LAYOUT: { + AlignedLayout alignedLayout = (AlignedLayout) theEObject; + T result = caseAlignedLayout(alignedLayout); + if (result == null) + result = caseLayoutManager(alignedLayout); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.VERTICAL_LAYOUT: { + VerticalLayout verticalLayout = (VerticalLayout) theEObject; + T result = caseVerticalLayout(verticalLayout); + if (result == null) + result = caseAlignedLayout(verticalLayout); + if (result == null) + result = caseLayoutManager(verticalLayout); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.HORIZONTAL_LAYOUT: { + HorizontalLayout horizontalLayout = (HorizontalLayout) theEObject; + T result = caseHorizontalLayout(horizontalLayout); + if (result == null) + result = caseAlignedLayout(horizontalLayout); + if (result == null) + result = caseLayoutManager(horizontalLayout); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.FIXED_POSITION_LAYOUT: { + FixedPositionLayout fixedPositionLayout = (FixedPositionLayout) theEObject; + T result = caseFixedPositionLayout(fixedPositionLayout); + if (result == null) + result = caseLayoutManager(fixedPositionLayout); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.POSITION_CONTAINER: { + PositionContainer positionContainer = (PositionContainer) theEObject; + T result = casePositionContainer(positionContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.DISPLAY: { + Display display = (Display) theEObject; + T result = caseDisplay(display); + if (result == null) + result = casePackagableElement(display); + if (result == null) + result = caseNamedElement(display); + if (result == null) + result = caseModelElement(display); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.COMPOSITE_AREA: { + CompositeArea compositeArea = (CompositeArea) theEObject; + T result = caseCompositeArea(compositeArea); + if (result == null) + result = casePackagableElement(compositeArea); + if (result == null) + result = caseNamedElement(compositeArea); + if (result == null) + result = caseModelElement(compositeArea); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.AREA: { + Area area = (Area) theEObject; + T result = caseArea(area); + if (result == null) + result = caseAllocatable(area); + if (result == null) + result = caseAbstractAllocatable(area); + if (result == null) + result = caseRuleObject(area); + if (result == null) + result = casePackagableElement(area); + if (result == null) + result = caseNamedElement(area); + if (result == null) + result = caseModelElement(area); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.AREA_SET: { + AreaSet areaSet = (AreaSet) theEObject; + T result = caseAreaSet(areaSet); + if (result == null) + result = caseAllocatableSet(areaSet); + if (result == null) + result = caseAbstractAllocatable(areaSet); + if (result == null) + result = caseRuleObject(areaSet); + if (result == null) + result = casePackagableElement(areaSet); + if (result == null) + result = caseNamedElement(areaSet); + if (result == null) + result = caseModelElement(areaSet); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.SIZE_IDENTIFIER: { + SizeIdentifier sizeIdentifier = (SizeIdentifier) theEObject; + T result = caseSizeIdentifier(sizeIdentifier); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.SIZE: { + Size size = (Size) theEObject; + T result = caseSize(size); + if (result == null) + result = casePackagableElement(size); + if (result == null) + result = caseSizeIdentifier(size); + if (result == null) + result = caseNamedElement(size); + if (result == null) + result = caseModelElement(size); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.SIZE_REFERENCE: { + SizeReference sizeReference = (SizeReference) theEObject; + T result = caseSizeReference(sizeReference); + if (result == null) + result = caseSizeIdentifier(sizeReference); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.OFFSET: { + Offset offset = (Offset) theEObject; + T result = caseOffset(offset); + if (result == null) + result = casePackagableElement(offset); + if (result == null) + result = caseNamedElement(offset); + if (result == null) + result = caseModelElement(offset); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.AREA_OPERATOR: { + AreaOperator areaOperator = (AreaOperator) theEObject; + T result = caseAreaOperator(areaOperator); + if (result == null) + result = caseAllocatableOperator(areaOperator); + if (result == null) + result = caseOperator(areaOperator); + if (result == null) + result = caseExpression(areaOperator); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.IS_DISPLAYED: { + IsDisplayed isDisplayed = (IsDisplayed) theEObject; + T result = caseIsDisplayed(isDisplayed); + if (result == null) + result = caseAreaOperator(isDisplayed); + if (result == null) + result = caseAllocatableOperator(isDisplayed); + if (result == null) + result = caseOperator(isDisplayed); + if (result == null) + result = caseExpression(isDisplayed); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.DISPLAYING_CONTENT: { + DisplayingContent displayingContent = (DisplayingContent) theEObject; + T result = caseDisplayingContent(displayingContent); + if (result == null) + result = caseAreaOperator(displayingContent); + if (result == null) + result = caseAllocatableOperator(displayingContent); + if (result == null) + result = caseOperator(displayingContent); + if (result == null) + result = caseExpression(displayingContent); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.IS_HIDDEN: { + IsHidden isHidden = (IsHidden) theEObject; + T result = caseIsHidden(isHidden); + if (result == null) + result = caseAreaOperator(isHidden); + if (result == null) + result = caseAllocatableOperator(isHidden); + if (result == null) + result = caseOperator(isHidden); + if (result == null) + result = caseExpression(isHidden); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.VIEW_CONTENT_OPERATOR: { + ViewContentOperator viewContentOperator = (ViewContentOperator) theEObject; + T result = caseViewContentOperator(viewContentOperator); + if (result == null) + result = caseContentOperator(viewContentOperator); + if (result == null) + result = caseOperator(viewContentOperator); + if (result == null) + result = caseExpression(viewContentOperator); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.IS_VISIBLE: { + IsVisible isVisible = (IsVisible) theEObject; + T result = caseIsVisible(isVisible); + if (result == null) + result = caseViewContentOperator(isVisible); + if (result == null) + result = caseContentOperator(isVisible); + if (result == null) + result = caseOperator(isVisible); + if (result == null) + result = caseExpression(isVisible); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.ALL_INSTANCE_OF_AREA: { + AllInstanceOfArea allInstanceOfArea = (AllInstanceOfArea) theEObject; + T result = caseAllInstanceOfArea(allInstanceOfArea); + if (result == null) + result = caseSetExpression(allInstanceOfArea); + if (result == null) + result = caseExpression(allInstanceOfArea); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.ALL_INSTANCE_OF_VIEW_CONTENT: { + AllInstanceOfViewContent allInstanceOfViewContent = (AllInstanceOfViewContent) theEObject; + T result = caseAllInstanceOfViewContent(allInstanceOfViewContent); + if (result == null) + result = caseSetExpression(allInstanceOfViewContent); + if (result == null) + result = caseExpression(allInstanceOfViewContent); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.IS_DISPLAYED_ON: { + IsDisplayedOn isDisplayedOn = (IsDisplayedOn) theEObject; + T result = caseIsDisplayedOn(isDisplayedOn); + if (result == null) + result = caseViewContentOperator(isDisplayedOn); + if (result == null) + result = caseSugarExpressionBase(isDisplayedOn); + if (result == null) + result = caseContentOperator(isDisplayedOn); + if (result == null) + result = caseSugarExpression(isDisplayedOn); + if (result == null) + result = caseOperator(isDisplayedOn); + if (result == null) + result = caseExpression(isDisplayedOn); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.IS_CHANGED_DISPLAY: { + IsChangedDisplay isChangedDisplay = (IsChangedDisplay) theEObject; + T result = caseIsChangedDisplay(isChangedDisplay); + if (result == null) + result = caseAreaOperator(isChangedDisplay); + if (result == null) + result = caseSugarExpressionBase(isChangedDisplay); + if (result == null) + result = caseAllocatableOperator(isChangedDisplay); + if (result == null) + result = caseSugarExpression(isChangedDisplay); + if (result == null) + result = caseOperator(isChangedDisplay); + if (result == null) + result = caseExpression(isChangedDisplay); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.IS_TRANSLATED_VIEW_TO: { + IsTranslatedViewTo isTranslatedViewTo = (IsTranslatedViewTo) theEObject; + T result = caseIsTranslatedViewTo(isTranslatedViewTo); + if (result == null) + result = caseAreaOperator(isTranslatedViewTo); + if (result == null) + result = caseSugarExpressionBase(isTranslatedViewTo); + if (result == null) + result = caseAllocatableOperator(isTranslatedViewTo); + if (result == null) + result = caseSugarExpression(isTranslatedViewTo); + if (result == null) + result = caseOperator(isTranslatedViewTo); + if (result == null) + result = caseExpression(isTranslatedViewTo); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case RBAViewPackage.HIDE_LOWER_PRIORITY: { + HideLowerPriority hideLowerPriority = (HideLowerPriority) theEObject; + T result = caseHideLowerPriority(hideLowerPriority); + if (result == null) + result = caseOperator(hideLowerPriority); + if (result == null) + result = caseSugarExpressionBase(hideLowerPriority); + if (result == null) + result = caseExpression(hideLowerPriority); + if (result == null) + result = caseSugarExpression(hideLowerPriority); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>View Content</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>View Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViewContent(ViewContent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>View Content Set</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>View Content Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViewContentSet(ViewContentSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>View Content State</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>View Content State</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViewContentState(ViewContentState object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Layout Manager</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Layout Manager</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLayoutManager(LayoutManager object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Aligned Layout</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Aligned Layout</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAlignedLayout(AlignedLayout object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Vertical Layout</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Vertical Layout</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVerticalLayout(VerticalLayout object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Horizontal Layout</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Horizontal Layout</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseHorizontalLayout(HorizontalLayout object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Fixed Position Layout</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Fixed Position Layout</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFixedPositionLayout(FixedPositionLayout object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Position Container</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Position Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePositionContainer(PositionContainer object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Display</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Display</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDisplay(Display object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Composite Area</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Composite Area</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCompositeArea(CompositeArea object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Area</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Area</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseArea(Area object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Area Set</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Area Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAreaSet(AreaSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Size Identifier</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Size Identifier</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSizeIdentifier(SizeIdentifier object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Size</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Size</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSize(Size object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Size Reference</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Size Reference</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSizeReference(SizeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Offset</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Offset</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOffset(Offset object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Area Operator</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Area Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAreaOperator(AreaOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Displayed</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Displayed</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsDisplayed(IsDisplayed object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Displaying Content</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Displaying Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDisplayingContent(DisplayingContent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Hidden</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Hidden</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsHidden(IsHidden object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>View Content Operator</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>View Content Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViewContentOperator(ViewContentOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Visible</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Visible</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsVisible(IsVisible object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>All Instance Of Area</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>All Instance Of Area</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllInstanceOfArea(AllInstanceOfArea object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>All Instance Of View Content</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>All Instance Of View Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllInstanceOfViewContent(AllInstanceOfViewContent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Displayed On</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Displayed On</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsDisplayedOn(IsDisplayedOn object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Changed Display</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Changed Display</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsChangedDisplay(IsChangedDisplay object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Is Translated View To</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Is Translated View To</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIsTranslatedViewTo(IsTranslatedViewTo object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Hide Lower Priority</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Hide Lower Priority</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseHideLowerPriority(HideLowerPriority object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Model Element</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Model Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModelElement(ModelElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Named Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNamedElement(NamedElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Packagable Element</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Packagable Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePackagableElement(PackagableElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Rule Object</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Rule Object</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRuleObject(RuleObject object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Content</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Abstract Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractContent(AbstractContent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContent(Content object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content Set</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContentSet(ContentSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content State</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content State</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContentState(ContentState object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Allocatable</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Abstract Allocatable</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractAllocatable(AbstractAllocatable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Allocatable</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Allocatable</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllocatable(Allocatable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Allocatable Set</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Allocatable Set</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllocatableSet(AllocatableSet object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Expression</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Expression</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpression(Expression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Operator</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOperator(Operator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Allocatable Operator</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Allocatable Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllocatableOperator(AllocatableOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Content Operator</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Content Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContentOperator(ContentOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Set Expression</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Set Expression</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSetExpression(SetExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sugar Expression</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sugar Expression</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSugarExpression(SugarExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Sugar Expression Base</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Sugar Expression Base</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSugarExpressionBase(SugarExpressionBase object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} // RBAViewSwitch |