-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for URI-to-path mappings
- Loading branch information
1 parent
6eb326b
commit fcdcb0b
Showing
6 changed files
with
142 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?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="Trees" nsURI="http://eclipse.org/epsilon/examples/trees" nsPrefix="t"> | ||
<eClassifiers xsi:type="ecore:EClass" name="Tree"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" | ||
eType="#//Tree" containment="true" eOpposite="#//Tree/parent"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//Tree" | ||
eOpposite="#//Tree/children"/> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
</eClassifiers> | ||
</ecore:EPackage> |
12 changes: 12 additions & 0 deletions
12
src/test/resources/platformImport/example2/ColoredTree.ecore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?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="ColoredTree" nsURI="ColoredTree" nsPrefix="ct"> | ||
<eClassifiers xsi:type="ecore:EClass" name="ColoredTree" eSuperTypes="platform:/resource/example/Trees.ecore#//Tree"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="color" eType="#//Color"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EEnum" name="Color"> | ||
<eLiterals name="RED" value="1"/> | ||
<eLiterals name="GREEN" value="2"/> | ||
<eLiterals name="BLUE" value="3"/> | ||
</eClassifiers> | ||
</ecore:EPackage> |