Skip to content
Snippets Groups Projects
base.ecore 35.7 KiB
Newer Older
Florian Hölzl's avatar
Florian Hölzl committed
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="model" nsURI="http://www.fortiss.org/tooling/base/model" nsPrefix="org-fortiss-tooling-base-model">
Florian Hölzl's avatar
Florian Hölzl committed
  <eSubpackages name="element" nsURI="http://www.fortiss.org/tooling/base/model/element"
      nsPrefix="org-fortiss-tooling-base-model-element">
    <eClassifiers xsi:type="ecore:EClass" name="IModelElement">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of first class model elements."/>
      </eAnnotations>
      <eOperations name="addSpecification">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="body" value="org.fortiss.tooling.base.model.element.impl.IModelElementStaticImpl.addSpecification(this, spec);"/>
        </eAnnotations>
        <eParameters name="spec" eType="#//element/IModelElementSpecification"/>
      </eOperations>
Florian Hölzl's avatar
Florian Hölzl committed
      <eStructuralFeatures xsi:type="ecore:EReference" name="specifications" upperBound="-1"
          eType="#//element/IModelElementSpecification" containment="true" eOpposite="#//element/IModelElementSpecification/specificationOf">
Florian Hölzl's avatar
Florian Hölzl committed
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="List of model element specifications providing additional model element properties."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="referencedBy" upperBound="-1"
          eType="#//element/IModelElementReference" eOpposite="#//element/IModelElementReference/reference">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="List of model element references."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IModelElementSpecification" abstract="true"
        interface="true" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//IIdLabeled">
Florian Hölzl's avatar
Florian Hölzl committed
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of model element specifications. Such specifications provide additional plugable properties."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="specificationOf" eType="#//element/IModelElement"
          eOpposite="#//element/IModelElement/specifications">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The ModelElement which owns this specification"/>
        </eAnnotations>
      </eStructuralFeatures>
Florian Hölzl's avatar
Florian Hölzl committed
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IModelElementReference" abstract="true"
        interface="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of EObjects referencing model elements."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="reference" eType="#//element/IModelElement"
          eOpposite="#//element/IModelElement/referencedBy">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The referenced model element."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IHierarchicElement" abstract="true"
        interface="true" eSuperTypes="#//element/IHierarchicElementContainer #//element/IModelElement">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of hierarchic model elements."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="connections" upperBound="-1"
          eType="#//element/IConnection" containment="true" eOpposite="#//element/IConnection/owner">
Florian Hölzl's avatar
Florian Hölzl committed
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="List of aggregated connection model elements. Usually a hierarchic element aggregates all connections of its direct sub-structure."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="connectors" upperBound="-1"
          eType="#//element/IConnector" containment="true" eOpposite="#//element/IConnector/owner">
Florian Hölzl's avatar
Florian Hölzl committed
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="List of aggregated connectors."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="container" eType="#//element/IHierarchicElementContainer"
          eOpposite="#//element/IHierarchicElementContainer/containedElements">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The container which this element belongs to"/>
        </eAnnotations>
      </eStructuralFeatures>
Florian Hölzl's avatar
Florian Hölzl committed
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IHierarchicElementContainer" abstract="true"
        interface="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of containers of hierarchic model elements."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="containedElements" upperBound="-1"
          eType="#//element/IHierarchicElement" containment="true" eOpposite="#//element/IHierarchicElement/container">
Florian Hölzl's avatar
Florian Hölzl committed
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The contained hierarchic model elements."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IConnector" abstract="true" interface="true"
        eSuperTypes="#//element/IModelElement">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of connectors. Connectors reference incoming and outgoing connection model elements."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="incoming" upperBound="-1"
          eType="#//element/IConnection" eOpposite="#//element/IConnection/target">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The incoming connections."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="outgoing" upperBound="-1"
          eType="#//element/IConnection" eOpposite="#//element/IConnection/source">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The outgoing connections."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//element/IHierarchicElement"
          eOpposite="#//element/IHierarchicElement/connectors">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The ModelElement which owns this connector"/>
        </eAnnotations>
      </eStructuralFeatures>
Florian Hölzl's avatar
Florian Hölzl committed
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IConnection" abstract="true" interface="true"
        eSuperTypes="#//element/IModelElement">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of connections. Connections are aggregated in a hierarchic model element and reference two connectors from that element or any direct sub-element."/>
Florian Hölzl's avatar
Florian Hölzl committed
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="#//element/IConnector"
          eOpposite="#//element/IConnector/outgoing">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The connection's source connector."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="target" eType="#//element/IConnector"
          eOpposite="#//element/IConnector/incoming">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The connection's target connector."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//element/IHierarchicElement"
          eOpposite="#//element/IHierarchicElement/connections">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The ModelElement which owns this connection"/>
        </eAnnotations>
      </eStructuralFeatures>
Florian Hölzl's avatar
Florian Hölzl committed
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IHiddenSpecification" abstract="true"
        interface="true" eSuperTypes="#//element/IModelElementSpecification">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of model element specifications, which should be excluded from the navigator view."/>
      </eAnnotations>
    </eClassifiers>
Johannes Eder's avatar
Johannes Eder committed
    <eClassifiers xsi:type="ecore:EClass" name="IAnnotatedSpecification" abstract="true"
        interface="true" eSuperTypes="#//element/IModelElementSpecification platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedElement">
Florian Hölzl's avatar
Florian Hölzl committed
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of model element specifications that represent annotations (i.e., specifications that are guaranteed to exist exactly once for the model elements for which the annotation has been registered)"/>
Florian Hölzl's avatar
Florian Hölzl committed
      </eAnnotations>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EDataType" name="IModelElementSpecificationArray"
        instanceClassName="org.fortiss.tooling.base.model.element.IModelElementSpecification[]">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="An array of model element specifications."/>
      </eAnnotations>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IDerivedAnnotation" abstract="true"
        interface="true" eSuperTypes="#//element/IAnnotatedSpecification #//element/IHiddenSpecification">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Interface for {@link IAnnotationSpecification}s that are derived from the state of other annotations and/or model elements.&#xD;&#xA;&#xD;&#xA;&lt;ul>&#xD;&#xA;&lt;li>Concrete specifications must provide a specialized getValue() {@link EOperation}s that perform the required calculation. Example: Calculation of {@link Component} WCET for current deployment (if available) based on {@link Component} instruction count and performance (e.g., MIPS) of {@link ExecutionUnit}, some warning indicator otherwise. &lt;/li>&#xD;&#xA;&lt;li>Concrete specifications may provide additional {@link EOperation} that provide an advanced query interface to the annotation. Example: WCET for an explicitly specified {@link ExecutionUnit}. This can be used e.g. in a DSE to explore different deployments.&lt;/li>&#xD;&#xA;&lt;li>The corresponding {@link IAnnotationValueProvider} should be based on {@link DerivedAnnotationValueProviderBase}.&#xD;&#xA;&lt;/ul>"/>
      </eAnnotations>
      <eTypeParameters name="T"/>
      <eOperations name="getValue">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Wrapper method for returning derived (calculated) values. It may return values annotated by the user if the calculation fails, or the user input is preferred, based on the configuration of the concrete annotation. "/>
        </eAnnotations>
        <eGenericType eTypeParameter="#//element/IDerivedAnnotation/T"/>
      </eOperations>
      <eOperations name="getDerivedValue">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Returns the actual derived (calculated) values. It may return values annotated by the user if the calculation fails, or the user input is preferred, based on the configuration of the concrete annotation. "/>
        </eAnnotations>
        <eGenericType eTypeParameter="#//element/IDerivedAnnotation/T"/>
      </eOperations>
      <eOperations name="getDerivedFeature" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Returns the {@link EStructuralFeature} that stores the annotation of the model element associated with this {@link IDerivedAnnotation}. Returns null if no element specific behavior is desired."/>
        </eAnnotations>
      </eOperations>
      <eOperations name="isUserAnnotatedValuePreferred" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Default implementation of a method indicating whether the user annotated value, if available, shall be preferred over the derived one. The default is 'true', i.e. user annotated values are preferred. Shall be overridden, if another behavior is desired."/>
        </eAnnotations>
      </eOperations>
      <eOperations name="getUserAnnotatedValue">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Returns the {@link EAttribute} which is used to store the user annotated values, if the concrete annotation is designed therefore. By default, this function returns null, indicating no user annotated values are supported. This method must be re-implemented by concrete annotations if any other behavior is desired."/>
        <eGenericType eTypeParameter="#//element/IDerivedAnnotation/T"/>
      </eOperations>
    </eClassifiers>
Florian Hölzl's avatar
Florian Hölzl committed
  </eSubpackages>
  <eSubpackages name="layout" nsURI="http://www.fortiss.org/tooling/base/model/layout"
      nsPrefix="org-fortiss-tooling-base-model-layout">
    <eClassifiers xsi:type="ecore:EClass" name="ILayoutedModelElement" abstract="true"
        interface="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of model elements with layout data."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="layoutData" upperBound="-1"
          eType="#//layout/ILayoutData" containment="true">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Stores the aggregated layout data."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="ILayoutData" abstract="true" interface="true">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Super class of all layout data objects."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The layout key indicating how the layout data is to be interpreted."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Point" eSuperTypes="#//layout/ILayoutData">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Layout data for 2D locations."/>
      </eAnnotations>
      <eOperations name="getDifference" eType="#//layout/Dimension">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="In accordance to the JFace-Point's difference method, the distence between {@code this} {@link Point} and the given {@link Point} is calculated and returned as a {@link Dimension}.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return PointStaticImpl.getDifference(this, compPoint);"/>
        </eAnnotations>
        <eParameters name="compPoint" lowerBound="1" eType="#//layout/Point"/>
      </eOperations>
      <eOperations name="getTranslated" eType="#//layout/Point">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="In accordance to the JFace-Point's getTranslate method, a new {@link Point} is created from {@code this} one and the given offsets are added to the newly created {@link Point}.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return PointStaticImpl.getTranslated(this, offsetX, offsetY);"/>
        </eAnnotations>
        <eParameters name="offsetX" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
        <eParameters name="offsetY" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
      </eOperations>
      <eOperations name="scale" eType="#//layout/Point">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Similar to the JFace-Point's scale method, the coordinates of the {@link Point} to which this operation is applied are scaled by the given factor.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return PointStaticImpl.scale(this, factor);"/>
        </eAnnotations>
        <eParameters name="factor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
      </eOperations>
      <eOperations name="translate" eType="#//layout/Point">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="In accordance to the JFace-Point's translate method, the width of the given {@link Dimension} is added to the x-value and the heightof the given {@link Dimension} is added to the y-value of {@code this} {@link Point}.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return PointStaticImpl.translate(this, dim.getWidth(), dim.getHeight());"/>
        </eAnnotations>
        <eParameters name="dim" lowerBound="1" eType="#//layout/Dimension"/>
      </eOperations>
      <eOperations name="translate" eType="#//layout/Point">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="In accordance to the JFace-Point's translate method, the given offset values are added to the existing coordinates of this {@link Point}.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return PointStaticImpl.translate(this, offsetX, offsetY);"/>
        </eAnnotations>
        <eParameters name="offsetX" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
        <eParameters name="offsetY" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
      </eOperations>
      <eOperations name="translate" eType="#//layout/Point">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="In accordance to the AWT-Point's translate method, the values of the given {@link Point} are added to the existing coordinates of {@code this} {@link Point}.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return PointStaticImpl.translate(this, point.getX(), point.getY());"/>
        </eAnnotations>
        <eParameters name="point" lowerBound="1" eType="#//layout/Point"/>
      </eOperations>
Florian Hölzl's avatar
Florian Hölzl committed
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="x" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The horizontal X coordinate."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="y" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The vertical Y coordinate."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Dimension" eSuperTypes="#//layout/ILayoutData">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Layout data for 2D dimensions."/>
      </eAnnotations>
      <eOperations name="getScaled" eType="#//layout/Dimension">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Similar to the JFace-Dimension's getScale method, a new {@link Dimension} is returned which is {@code this} {@link Dimension} scaled by the given factor.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return DimensionStaticImpl.scale(this, factor);"/>
        </eAnnotations>
        <eParameters name="factor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
      </eOperations>
      <eOperations name="scale" eType="#//layout/Dimension">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="Similar to the AWT-Dimension's scale method, the coordinates of the {@link Dimension} to which this operation is applied are scaled by the given factor.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return DimensionStaticImpl.scale(this, factor);"/>
        </eAnnotations>
        <eParameters name="factor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
      </eOperations>
Florian Hölzl's avatar
Florian Hölzl committed
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
          defaultValueLiteral="10">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The width."/>
        </eAnnotations>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="height" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
          defaultValueLiteral="10">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The height."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Rectangle" eSuperTypes="#//layout/ILayoutData">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Layout data for 2D locations."/>
      </eAnnotations>
      <eOperations name="setLocation" eType="#//layout/Rectangle">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="In accordance to the JFace-Point's setLocation method, the given values set the position (x and y coordinates) of {@code this} {@link Rectangle}.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return RectangleStaticImpl.setLocation(this, x, y);"/>
        </eAnnotations>
        <eParameters name="x" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
        <eParameters name="y" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
      </eOperations>
      <eOperations name="setSize" eType="#//layout/Rectangle">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="In accordance to the JFace-Point's setSize method, the given widht and height values defining the size are set for {@code this} {@link Rectangle}.&#xD;&#xA;&lt;p>&#xD;&#xA;We &quot;replicate&quot; this behaviour here to decouple the model part from the UI."/>
          <details key="body" value="return RectangleStaticImpl.setSize(this, width, height);"/>
        </eAnnotations>
        <eParameters name="width" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
        <eParameters name="height" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
      </eOperations>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="x" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="y" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="height" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eClassifiers>
Florian Hölzl's avatar
Florian Hölzl committed
    <eClassifiers xsi:type="ecore:EEnum" name="EOrientation">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Enumeration of 2D directions and orientations."/>
      </eAnnotations>
      <eLiterals name="NORTH"/>
      <eLiterals name="EAST" value="1"/>
      <eLiterals name="SOUTH" value="2"/>
      <eLiterals name="WEST" value="3"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Orientation" eSuperTypes="#//layout/ILayoutData">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Layout data for 2D orientations."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation" lowerBound="1"
          eType="#//layout/EOrientation" defaultValueLiteral="NORTH">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The orientation."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Points" eSuperTypes="#//layout/ILayoutData">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Layout data for a sequence of 2D locations."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="points" upperBound="-1"
          eType="#//layout/Point" containment="true">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The aggregated locations."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Angle" eSuperTypes="#//layout/ILayoutData">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Layout data for an angle (the interpretation of the double value is application dependent)."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="angle" lowerBound="1"
          eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
          defaultValueLiteral="0">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The double value of the angle."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Offset" eSuperTypes="#//layout/ILayoutData">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Layout data of a single dimensional offset."/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="offset" lowerBound="1"
          eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="documentation" value="The offset value."/>
        </eAnnotations>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="OffsetOrientation" eSuperTypes="#//layout/Offset #//layout/Orientation">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="Combines an offset with an orientation."/>
      </eAnnotations>
    </eClassifiers>
  </eSubpackages>
  <eSubpackages name="base" nsURI="http://www.fortiss.org/tooling/base/model/base"
      nsPrefix="org-fortiss-tooling-base-model-base">
    <eClassifiers xsi:type="ecore:EClass" name="HierarchicElementBase" abstract="true"
        eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement #//element/IHierarchicElement #//layout/ILayoutedModelElement"/>
    <eClassifiers xsi:type="ecore:EClass" name="ConnectorBase" abstract="true" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement #//element/IConnector #//layout/ILayoutedModelElement"/>
Florian Hölzl's avatar
Florian Hölzl committed
    <eClassifiers xsi:type="ecore:EClass" name="EntryConnectorBase" abstract="true"
        eSuperTypes="#//base/ConnectorBase"/>
    <eClassifiers xsi:type="ecore:EClass" name="ExitConnectorBase" abstract="true"
        eSuperTypes="#//base/ConnectorBase"/>
    <eClassifiers xsi:type="ecore:EClass" name="ConnectionSegmentBase" abstract="true"
        eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement #//element/IConnection #//layout/ILayoutedModelElement"/>
    <eClassifiers xsi:type="ecore:EClass" name="LibraryElementBase" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryElement">
      <eOperations name="getURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="body" value="return LibraryElementBaseStaticImpl.getURI(this);"/>
        </eAnnotations>
      </eOperations>
      <eOperations name="getName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="body" value="return LibraryElementBaseStaticImpl.getName(this);"/>
        </eAnnotations>
      </eOperations>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="DerivedAnnotationBase" abstract="true">
      <eTypeParameters name="T"/>
      <eOperations name="getValue">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="body" value="return DerivedAnnotationBaseStaticImpl.getValue(this);"/>
        </eAnnotations>
        <eGenericType eTypeParameter="#//base/DerivedAnnotationBase/T"/>
      </eOperations>
      <eOperations name="getDerivedFeature" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStructuralFeature">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="body" value="return null;"/>
        </eAnnotations>
      </eOperations>
      <eOperations name="isUserAnnotatedValuePreferred" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="body" value="return true;"/>
        </eAnnotations>
      </eOperations>
      <eOperations name="getUserAnnotatedValue">
        <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
          <details key="body" value="return null;"/>
        </eAnnotations>
        <eGenericType eTypeParameter="#//base/DerivedAnnotationBase/T"/>
      </eOperations>
      <eGenericSuperTypes eClassifier="#//element/IDerivedAnnotation">
        <eTypeArguments eTypeParameter="#//base/DerivedAnnotationBase/T"/>
      </eGenericSuperTypes>
    </eClassifiers>
Florian Hölzl's avatar
Florian Hölzl committed
  </eSubpackages>
  <eSubpackages name="visualization" nsURI="http://www.fortiss.org/tooling/base/model/visualization"
      nsPrefix="org-fortiss-tooling-base-model-visualization">
    <eClassifiers xsi:type="ecore:EClass" name="DataSetCollection" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement">
      <eStructuralFeatures xsi:type="ecore:EReference" name="dimensions" lowerBound="1"
          upperBound="-1" containment="true">
        <eGenericType eClassifier="#//visualization/Dimension">
          <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
        </eGenericType>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="axes" lowerBound="1"
          upperBound="-1" containment="true">
        <eGenericType eClassifier="#//visualization/Axis">
          <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
        </eGenericType>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="sets" lowerBound="1"
          upperBound="-1" eType="#//visualization/DataSet" containment="true"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="DataSet" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement">
      <eStructuralFeatures xsi:type="ecore:EReference" name="points" lowerBound="1"
          upperBound="-1" containment="true">
        <eGenericType eClassifier="#//visualization/DataPoint">
        </eGenericType>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="DataPoint" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement">
      <eTypeParameters name="T"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="start">
        <eGenericType eTypeParameter="#//visualization/DataPoint/T"/>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="end">
        <eGenericType eTypeParameter="#//visualization/DataPoint/T"/>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="axis">
        <eGenericType eClassifier="#//visualization/Axis">
          <eTypeArguments eTypeParameter="#//visualization/DataPoint/T"/>
        </eGenericType>
      </eStructuralFeatures>
      <eStructuralFeatures xsi:type="ecore:EReference" name="dimension">
        <eGenericType eClassifier="#//visualization/Dimension">
          <eTypeArguments eTypeParameter="#//visualization/DataPoint/T"/>
        </eGenericType>
      </eStructuralFeatures>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Axis" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement">
      <eTypeParameters name="T"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Dimension" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//INamedCommentedElement">
      <eTypeParameters name="T"/>
    </eClassifiers>
  </eSubpackages>
Florian Hölzl's avatar
Florian Hölzl committed
</ecore:EPackage>