Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SCDL Editor in STP.SC"

 
Line 1: Line 1:
 
Two steps:  
 
Two steps:  
== Register scdl file as XML type using the Context Type extesion ==
+
* Register scdl file as XML type using the Context Type extesion ==
  
== Register sca schema with schema validator ==
+
* Register sca schema with schema validator ==
 
Here are what i defined in org.eclipse.stp.sc.sca plugin:
 
Here are what i defined in org.eclipse.stp.sc.sca plugin:
 
   
 
   

Revision as of 00:06, 22 January 2007

Two steps:

  • Register scdl file as XML type using the Context Type extesion ==
  • Register sca schema with schema validator ==

Here are what i defined in org.eclipse.stp.sc.sca plugin:


<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.2"?> <plugin>

  <extension point="org.eclipse.core.runtime.contentTypes">
       <file-association  content-type="org.eclipse.core.runtime.xml" 
           file-extensions="scdl"/>
     </extension>
   
   <extension point = "org.eclipse.wst.xml.core.catalogContributions">
    <catalogContribution id="default">
      <uri name="http://www.osoa.org/xmlns/sca/1.0" uri="xsd/sca.xsd"/>
    </catalogContribution>
    </extension>

</plugin>

Johnson Ma

Back to the top