Skip to content

Commit

Permalink
ftsrg#123 Extracted Composite metamodel from Statechart metamodel
Browse files Browse the repository at this point in the history
  • Loading branch information
arminzavada committed Aug 5, 2022
1 parent 1f024fe commit 4a449bc
Show file tree
Hide file tree
Showing 38 changed files with 2,616 additions and 2,408 deletions.
12 changes: 12 additions & 0 deletions plugins/core/hu.bme.mit.gamma.composite.model/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 2 additions & 0 deletions plugins/core/hu.bme.mit.gamma.composite.model/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/bin/

34 changes: 34 additions & 0 deletions plugins/core/hu.bme.mit.gamma.composite.model/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>hu.bme.mit.gamma.composite.model</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11
21 changes: 21 additions & 0 deletions plugins/core/hu.bme.mit.gamma.composite.model/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Gamma Composite Metamodel
Bundle-SymbolicName: hu.bme.mit.gamma.composite.model;singleton:=true
Bundle-Version: 2.7.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: BME-FTSRG
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
hu.bme.mit.gamma.action.model;visibility:=reexport,
hu.bme.mit.gamma.expression.model;visibility:=reexport
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: hu.bme.mit.gamma.composite.composite,
hu.bme.mit.gamma.composite.composite.impl,
hu.bme.mit.gamma.composite.composite.util,
hu.bme.mit.gamma.composite.interface_,
hu.bme.mit.gamma.composite.interface_.impl,
hu.bme.mit.gamma.composite.interface_.util
Automatic-Module-Name: hu.bme.mit.gamma.composite.model
11 changes: 11 additions & 0 deletions plugins/core/hu.bme.mit.gamma.composite.model/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#

bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties
jars.compile.order = .
source.. = src-gen/,\
src/
output.. = bin/
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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="composite" nsURI="http://www.mit.bme.hu/gamma/statechart/Model/Composite"
nsPrefix="hu.bme.mit.gamma.statechart.composite">
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="composite" nsURI="http://www.mit.bme.hu/gamma/composite/Model/Composite"
nsPrefix="hu.bme.mit.gamma.composite.composite">
<eClassifiers xsi:type="ecore:EClass" name="PrioritizedElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="priority" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigInteger"
defaultValueLiteral="0"/>
Expand Down Expand Up @@ -113,12 +113,6 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="instance" lowerBound="1"
eType="#//ComponentInstanceReferenceExpression" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentInstanceStateReferenceExpression"
eSuperTypes="#//ComponentInstanceElementReferenceExpression">
<eStructuralFeatures xsi:type="ecore:EReference" name="region" lowerBound="1"
eType="ecore:EClass statechart.ecore#//Region"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="state" lowerBound="1" eType="ecore:EClass statechart.ecore#//State"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentInstanceVariableReferenceExpression"
eSuperTypes="#//ComponentInstanceElementReferenceExpression">
<eStructuralFeatures xsi:type="ecore:EReference" name="variableDeclaration" lowerBound="1"
Expand All @@ -140,9 +134,4 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="parameterDeclaration" lowerBound="1"
eType="ecore:EClass ../../hu.bme.mit.gamma.expression.model/model/expression.ecore#//ParameterDeclaration"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentInstanceTransitionReferenceExpression"
eSuperTypes="#//ComponentInstanceElementReferenceExpression">
<eStructuralFeatures xsi:type="ecore:EReference" name="transitionId" lowerBound="1"
eType="ecore:EClass statechart.ecore#//TransitionIdAnnotation"/>
</eClassifiers>
</ecore:EPackage>
Loading

0 comments on commit 4a449bc

Please sign in to comment.