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.
Difference between revisions of "SCDL Editor in STP.SC"
(No difference)
|
Revision as of 00:05, 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