aboutsummaryrefslogtreecommitdiffstats
blob: 284f066cf5b8e096fe616f4e275fceaa0be8b83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

  <extension point="org.eclipse.emf.ecore.generated_package">
    <package 
       uri = "http://www.eclipse.org/gmf/2005/GenModel" 
       class = "org.eclipse.gmf.codegen.gmfgen.GMFGenPackage"
       genModel = "models/gmfgen.genmodel" /> 
    <package 
       uri = "http://www.eclipse.org/gmf/2005/GenModel/2.0" 
       class = "org.eclipse.gmf.codegen.gmfgen.GMFGenPackage"
       genModel = "models/gmfgen.genmodel" /> 
    <package 
       uri = "http://www.eclipse.org/gmf/2009/GenModel"
       class = "org.eclipse.gmf.codegen.gmfgen.GMFGenPackage"
       genModel = "models/gmfgen.genmodel" />       
  </extension>

  <extension
        point="org.eclipse.emf.ecore.dynamic_package">
     <resource
           location="models/gmfgen_2007.ecore"
           uri="http://www.eclipse.org/gmf/2006/GenModel"/>
     <resource
           location="models/gmfgen_2008.ecore"
           uri="http://www.eclipse.org/gmf/2008/GenModel"/>
  </extension>

  <extension point="org.eclipse.team.core.fileTypes">
    <fileTypes extension="gmfgen" type="text" />
  </extension>

  <extension
        point="org.eclipse.emf.ecore.content_parser">
     <parser
           class="org.eclipse.gmf.internal.common.ToolingResourceFactory"
           contentTypeIdentifier="org.eclipse.gmf.gen"/>
     <!-- Factory2 supports both 2.0 and 2.1, updating them to 2.2 -->
     <parser
           class="org.eclipse.gmf.internal.codegen.util.GMFGenResource$Factory2"
           contentTypeIdentifier="org.eclipse.gmf.gen_2_1"/>
     <parser
           class="org.eclipse.gmf.internal.codegen.util.GMFGenResource$Factory2"
           contentTypeIdentifier="org.eclipse.gmf.gen_2_0"/>
     <parser
           class="org.eclipse.gmf.internal.codegen.util.GMFGenResource$Factory"
           contentTypeIdentifier="org.eclipse.gmf.gen_1_0"/>
  </extension>

  <extension
        point="org.eclipse.core.contenttype.contentTypes">
     <content-type
           base-type="org.eclipse.emf.ecore.xmi"
           file-extensions="gmfgen"
           id="org.eclipse.gmf.gen"
           name="%contenttype.gmf"
           priority="normal">
        <describer
              class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
           <parameter
                 name="namespace"
                 value="http://www.eclipse.org/gmf/2009/GenModel">
           </parameter>
           <parameter
                 name="kind"
                 value="xmi">
           </parameter>
        </describer>
     </content-type>
     <content-type
           base-type="org.eclipse.emf.ecore.xmi"
           file-extensions="gmfgen"
           id="org.eclipse.gmf.gen_2_1"
           name="%contenttype.gmf"
           priority="normal">
        <describer
              class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
           <parameter
                 name="namespace"
                 value="http://www.eclipse.org/gmf/2008/GenModel">
           </parameter>
           <parameter
                 name="kind"
                 value="xmi">
           </parameter>
        </describer>
     </content-type>
     <content-type
           base-type="org.eclipse.emf.ecore.xmi"
           file-extensions="gmfgen"
           id="org.eclipse.gmf.gen_2_0"
           name="%contenttype.gmf20"
           priority="normal">
        <describer
              class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
           <parameter
                 name="namespace"
                 value="http://www.eclipse.org/gmf/2006/GenModel">
           </parameter>
           <parameter
                 name="kind"
                 value="xmi">
           </parameter>
        </describer>
     </content-type>
     <content-type
           base-type="org.eclipse.emf.ecore.xmi"
           file-extensions="gmfgen"
           id="org.eclipse.gmf.gen_1_0"
           name="%contenttype.gmf10"
           priority="normal">
        <describer
              class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
           <parameter
                 name="namespacePattern"
                 value="http://www\.eclipse\.org/gmf/2005/GenModel.*">
           </parameter>
           <parameter
                 name="kind"
                 value="xmi">
           </parameter>
        </describer>
     </content-type>
  </extension>

  <extension point="org.eclipse.m2m.qvt.oml.javaBlackboxUnits">
     <unit name="GenModelUtils" namespace="gmf">
       <library class="org.eclipse.gmf.internal.codegen.util.GenModelUtils">
             <metamodel nsURI="http://www.eclipse.org/emf/2002/GenModel"/>
             <metamodel nsURI="http://www.eclipse.org/emf/2002/Ecore"/>
       </library>
    </unit>
    <unit name="EMFUtils" namespace="gmf">
       <library class="org.eclipse.gmf.internal.codegen.util.EMFUtils">
             <metamodel nsURI="http://www.eclipse.org/emf/2002/Ecore"/>
       </library>
    </unit>
    <unit name="CodeGenerationUtils" namespace="gmf">
       <library class="org.eclipse.gmf.internal.codegen.util.CodeGenerationUtils"/>
    </unit>
    <unit
          description="GMF utulities to access EMF GenModels"
          name="GenModelAccess"
          namespace="gmf">
       <library
             class="org.eclipse.gmf.internal.codegen.util.GenModelAccessHelpers">
          <metamodel nsURI="http://www.eclipse.org/emf/2002/Ecore"/>
          <metamodel nsURI="http://www.eclipse.org/emf/2002/GenModel"/>
       </library>
    </unit>
    <unit
          description="Access to GMF Xpand templates through QVTO"
          name="XpandFacade"
          namespace="xpt">
       <library class="org.eclipse.gmf.internal.codegen.util.XpandFacadeAccess"/>
    </unit>
  </extension>
</plugin>