blob: f2964dd5d0e3c439f2f245053f6d0f09a732bbd1 [file] [log] [blame]
Richard S. Hall85bafab2009-07-13 13:25:46 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
20<?eclipse version="3.2"?>
21<plugin>
22 <extension-point id="org.cauldron.sigil.repositoryprovider" name="Bundle Repository Provider" schema="schema/org.cauldron.sigil.repositoryprovider.exsd"/>
23 <extension-point id="org.cauldron.sigil.installbuilder" name="Newton Install Builder" schema="schema/org.cauldron.sigil.runtime.installbuilder.exsd"/>
24
25 <extension
26 point="org.eclipse.core.contenttype.contentTypes">
27 <content-type
28 base-type="org.eclipse.core.runtime.text"
29 file-extensions="script,nsh"
30 id="org.cauldron.sigil.content.NewtonScriptType"
31 name="Newton Script"
32 priority="normal">
33 </content-type>
34
35 </extension>
36 <extension
37 point="org.eclipse.core.expressions.propertyTesters">
38 <propertyTester
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +000039 class="org.apache.felix.sigil.property.SigilPropertyTester"
Richard S. Hall85bafab2009-07-13 13:25:46 +000040 id="org.cauldron.sigil.property.NewtonPropertyTester"
41 namespace="org.cauldron.sigil"
42 properties="isNewtonResource,isCompositeResource,isSystemResource,isScriptResource,isSigilProject"
43 type="org.eclipse.core.resources.IResource"/>
44 </extension>
45 <extension
46 point="org.eclipse.core.runtime.adapters">
47 <factory
48 adaptableType="org.eclipse.core.resources.IFile"
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +000049 class="org.apache.felix.sigil.eclipse.internal.adapter.FileAdaptorFactory">
Richard S. Hall85bafab2009-07-13 13:25:46 +000050 <adapter type="org.cauldron.sigil.model.eclipse.ISigilBundle"/>
51 </factory>
52 <factory
53 adaptableType="org.eclipse.core.resources.IProject"
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +000054 class="org.apache.felix.sigil.eclipse.internal.adapter.ProjectAdaptorFactory">
55 <adapter type="org.apache.felix.sigil.model.project.ISigilProjectModel"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +000056 </factory>
57 </extension>
58 <extension
59 id="org.cauldron.sigil.core.sigilnature"
60 name="Sigil Nature"
61 point="org.eclipse.core.resources.natures">
62 <runtime>
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +000063 <run class="org.apache.felix.sigil.nature.SigilProjectNature"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +000064 </runtime>
65 </extension>
66 <extension
67 id="sigilBuilder"
68 name="Sigil Bundle Builder"
69 point="org.eclipse.core.resources.builders">
70 <builder
71 hasNature="false"
72 isConfigurable="false">
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +000073 <run class="org.apache.felix.sigil.eclipse.internal.builders.SigilIncrementalProjectBuilder"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +000074 </builder>
75 </extension>
76 <extension
77 point="org.eclipse.core.runtime.preferences">
78 <initializer
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +000079 class="org.apache.felix.sigil.preferences.SigilPreferencesInitializer">
Richard S. Hall85bafab2009-07-13 13:25:46 +000080 </initializer>
81 </extension>
82 <extension
83 point="org.cauldron.sigil.repositoryprovider">
84 <provider
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +000085 class="org.apache.felix.sigil.eclipse.internal.repository.eclipse.WorkspaceRepositoryProvider"
Richard S. Hall85bafab2009-07-13 13:25:46 +000086 defaultLevel="-3"
87 dynamic="false"
88 id="org.cauldron.sigil.core.workspaceprovider"
89 type="Workspace Repository">
90 </provider>
91 <provider
92 class="org.cauldron.bld.core.repository.FileSystemRepositoryProvider"
93 dynamic="true"
94 id="org.cauldron.sigil.core.file"
95 type="File System Repository">
96 </provider>
97 </extension>
98 <extension
99 id="org.cauldron.sigil.unresolvedDependencyMarker"
100 name="Unresolved Dependency"
101 point="org.eclipse.core.resources.markers">
102 <persistent
103 value="true">
104 </persistent>
105 <super
106 type="org.eclipse.core.resources.problemmarker">
107 </super>
108 <attribute
109 name="element">
110 </attribute>
111 <attribute
112 name="versionRange">
113 </attribute>
114 </extension>
115 <extension
116 id="org.cauldron.sigil.unresolvedDependencyMarker.importPackage"
117 name="Unresolved Import Package"
118 point="org.eclipse.core.resources.markers">
119 <persistent
120 value="true">
121 </persistent>
122 <super
123 type="org.cauldron.sigil.unresolvedDependencyMarker">
124 </super>
125 </extension>
126 <extension
127 id="org.cauldron.sigil.unresolvedDependencyMarker.requireBundle"
128 name="Unresolve Require Bundle"
129 point="org.eclipse.core.resources.markers">
130 <persistent
131 value="true">
132 </persistent>
133 <super
134 type="org.cauldron.sigil.unresolvedDependencyMarker">
135 </super>
136 </extension>
137</plugin>