Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
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:07, 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