blob: a9c5904dc6d48fc212a8b8ec51bb8f506979604d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!-- ====================================================================== -->
<!-- Copyright (c) 2016, 2017 Red Hat Inc. and others. -->
<!-- All rights reserved. This program and the accompanying materials -->
<!-- are made available under the terms of the Eclipse Public License v1.0 -->
<!-- which accompanies this distribution, and is available at -->
<!-- http://www.eclipse.org/legal/epl-v10.html -->
<!-- -->
<!-- Contributors: -->
<!-- Sopot Cela & Mickael Istria (Red Hat Inc). -initial implementation -->
<!-- Lucas Bullen (Red Hat Inc.) - Bug 508829 custom reconciler support -->
<!-- - Bug 521382 default highlighter -->
<!-- ====================================================================== -->
<plugin>
<extension
point="org.eclipse.ui.genericeditor.contentAssistProcessors">
<contentAssistProcessor
class="org.eclipse.ui.genericeditor.tests.contributions.BarContentAssistProcessor"
contentType="org.eclipse.ui.genericeditor.tests.content-type">
</contentAssistProcessor>
<contentAssistProcessor
class="org.eclipse.ui.genericeditor.tests.contributions.LongRunningBarContentAssistProcessor"
contentType="org.eclipse.ui.genericeditor.tests.specialized-content-type">
</contentAssistProcessor>
</extension>
<extension
point="org.eclipse.ui.genericeditor.hoverProviders">
<hoverProvider
class="org.eclipse.ui.genericeditor.tests.contributions.AlrightyHoverProvider"
contentType="org.eclipse.ui.genericeditor.tests.content-type">
</hoverProvider>
<hoverProvider
class="org.eclipse.ui.genericeditor.tests.contributions.WorldHoverProvider"
contentType="org.eclipse.ui.genericeditor.tests.content-type-bar">
</hoverProvider>
<hoverProvider
class="org.eclipse.ui.genericeditor.tests.contributions.HelloHoverProvider"
contentType="org.eclipse.ui.genericeditor.tests.specialized-content-type-bar">
</hoverProvider>
</extension>
<extension
point="org.eclipse.ui.genericeditor.reconcilers">
<reconciler
class="org.eclipse.ui.genericeditor.tests.contributions.TheReconcilerFirst"
contentType="org.eclipse.ui.genericeditor.tests.content-type-bar">
</reconciler>
<reconciler
class="org.eclipse.ui.genericeditor.tests.contributions.TheReconcilerSecond"
contentType="org.eclipse.ui.genericeditor.tests.specialized-content-type-bar">
</reconciler>
<reconciler
class="org.eclipse.ui.genericeditor.tests.contributions.TheReconcilerFirst"
contentType="org.eclipse.ui.genericeditor.tests.content-type">
</reconciler>
</extension>
<extension
point="org.eclipse.ui.genericeditor.presentationReconcilers">
<presentationReconciler
class="org.eclipse.ui.genericeditor.tests.contributions.ThePresentationReconcilerBlue"
contentType="org.eclipse.ui.genericeditor.tests.content-type">
</presentationReconciler>
<presentationReconciler
class="org.eclipse.ui.genericeditor.tests.contributions.ThePresentationReconcilerGreen"
contentType="org.eclipse.ui.genericeditor.tests.specialized-content-type">
</presentationReconciler>
<presentationReconciler
class="org.eclipse.ui.genericeditor.tests.contributions.ThePresentationReconcilerRed"
contentType="org.eclipse.ui.genericeditor.tests.sub-specialized-content-type">
</presentationReconciler>
</extension>
<extension
point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="org.eclipse.ui.genericeditor.tests.contributions.MarkerResolutionGenerator"
markerType="org.eclipse.core.resources.problemmarker">
</markerResolutionGenerator>
</extension>
<extension
point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
file-names="foo.txt"
id="org.eclipse.ui.genericeditor.tests.content-type"
name="Generic Editor Test content-type"
priority="normal">
</content-type>
<content-type
base-type="org.eclipse.ui.genericeditor.tests.content-type"
file-names="foo.txt"
id="org.eclipse.ui.genericeditor.tests.specialized-content-type"
name="Specialized Generic Editor content-type"
priority="normal">
</content-type>
<content-type
base-type="org.eclipse.ui.genericeditor.tests.specialized-content-type"
file-names="foo.txt"
id="org.eclipse.ui.genericeditor.tests.sub-specialized-content-type"
name="Sub-Specialized Generic Editor content-type"
priority="normal">
</content-type>
<content-type
base-type="org.eclipse.ui.genericeditor.tests.content-type"
file-names="foobar.txt"
id="org.eclipse.ui.genericeditor.tests.specialized-content-type-foobartxt"
name="Specialized Generic Editor content-type for 'foobar.txt'"
priority="normal">
</content-type>
<content-type
base-type="org.eclipse.core.runtime.text"
file-names="bar.txt"
id="org.eclipse.ui.genericeditor.tests.content-type-bar"
name="Generic Editor Test content-type for 'bar.txt'"
priority="normal">
</content-type>
<content-type
base-type="org.eclipse.ui.genericeditor.tests.content-type-bar"
file-names="bar.txt"
id="org.eclipse.ui.genericeditor.tests.specialized-content-type-bar"
name="Specialized Generic Editor content-type for 'bar.txt'"
priority="normal">
</content-type>
</extension>
<extension
point="org.eclipse.ui.genericeditor.autoEditStrategies">
<autoEditStrategy
class="org.eclipse.ui.genericeditor.tests.contributions.TheAutoEditStrategyFirst"
contentType="org.eclipse.ui.genericeditor.tests.content-type">
</autoEditStrategy>
<autoEditStrategy
class="org.eclipse.ui.genericeditor.tests.contributions.TheAutoEditStrategySecond"
contentType="org.eclipse.ui.genericeditor.tests.specialized-content-type">
</autoEditStrategy>
<autoEditStrategy
class="org.eclipse.ui.genericeditor.tests.contributions.TheAutoEditStrategyThird"
contentType="org.eclipse.ui.genericeditor.tests.sub-specialized-content-type">
</autoEditStrategy>
</extension>
<extension
point="org.eclipse.ui.genericeditor.highlightReconcilers">
<highlightReconciler
class="org.eclipse.ui.genericeditor.tests.contributions.HighlightReconciler"
contentType="org.eclipse.ui.genericeditor.tests.content-type">
</highlightReconciler>
</extension>
</plugin>
|