Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
  <extension point="org.eclipse.emf.ecore.extension_parser">
    <parser type="*" class="org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl" />
  </extension>

  <extension point="org.eclipse.emf.ecore.extension_parser">
    <parser type="ecore" class="org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl" />
  </extension>

  <extension
        point="org.eclipse.emf.ecore.content_parser">
     <parser
           class="org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl"
           contentTypeIdentifier="org.eclipse.emf.ecore">
     </parser>
  </extension>

  <extension
        point="org.eclipse.emf.ecore.content_parser">
     <parser
           class="org.eclipse.emf.ecore.xmi.impl.EMOFResourceFactoryImpl"
           contentTypeIdentifier="org.eclipse.emf.emof">
     </parser>
  </extension>

  <extension point="org.eclipse.emf.ecore.extension_parser">
    <parser type="emof" class="org.eclipse.emf.ecore.xmi.impl.EMOFResourceFactoryImpl" />
  </extension>

  <extension point="org.eclipse.team.core.fileTypes">
    <fileTypes extension="ecore" type="text" />
    <fileTypes extension="emof" type="text" />
    <fileTypes extension="xmi" type="text" />
  </extension>

  <extension
        point="org.eclipse.core.contenttype.contentTypes">
     <content-type
           base-type="org.eclipse.core.runtime.xml"
           file-extensions="xmi"
           id="org.eclipse.emf.ecore.xmi"
           name="%_UI_XMI_content_type"
           priority="normal">
        <describer class="org.eclipse.emf.ecore.xmi.impl.XMLContentHandlerImpl$XMI$Describer"/>
     </content-type>
  </extension>
  
  <extension
        point="org.eclipse.core.contenttype.contentTypes">
     <content-type
           base-type="org.eclipse.emf.ecore.xmi"
           file-extensions="ecore"
           id="org.eclipse.emf.ecore"
           name="%_UI_Ecore_content_type"
           priority="normal">
        <describer
              class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
           <parameter
                 name="namespace"
                 value="http://www.eclipse.org/emf/2002/Ecore">
           </parameter>
           <parameter
                 name="kind"
                 value="xmi">
           </parameter>
        </describer>
     </content-type>
  </extension>
  
  <extension
        point="org.eclipse.core.contenttype.contentTypes">
     <content-type
           base-type="org.eclipse.emf.ecore.xmi"
           file-extensions="emof,xmi"
           id="org.eclipse.emf.emof"
           name="%_UI_EMOF_content_type"
           priority="normal">
        <describer
              class="org.eclipse.emf.ecore.xmi.impl.RootXMLContentHandlerImpl$Describer">
           <parameter
                 name="namespacePattern"
                 value="http://schema\.omg\.org/spec/(mof/2\.0/emof\.xmi|MOF/2\.0/emof\.xml)">
           </parameter>
           <parameter
                 name="kind"
                 value="xmi">
           </parameter>
        </describer>
     </content-type>
  </extension>

</plugin>
New to GrepCode? Check out our FAQ X