2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<?eclipse version="3.2"?>
|
|
3 |
<plugin>
|
|
4 |
<extension point="org.eclipse.core.contenttype.contentTypes">
|
|
5 |
<content-type
|
|
6 |
base-type="org.eclipse.core.runtime.text"
|
|
7 |
file-extensions="news"
|
|
8 |
id="CarbideNewsFile"
|
|
9 |
name="Carbide.c++ News File"
|
|
10 |
priority="normal">
|
|
11 |
</content-type>
|
|
12 |
</extension>
|
|
13 |
|
|
14 |
<extension
|
|
15 |
point="org.eclipse.core.runtime.preferences">
|
|
16 |
<initializer
|
|
17 |
class="com.nokia.carbide.cpp.internal.news.reader.ui.NewsPreferenceInitializer">
|
|
18 |
</initializer>
|
|
19 |
</extension>
|
|
20 |
|
|
21 |
<extension point="org.eclipse.ui.commands">
|
|
22 |
<command
|
|
23 |
id="com.nokia.carbide.cpp.news.reader.commands.launch.news"
|
|
24 |
name="Launch Carbide News">
|
|
25 |
</command>
|
|
26 |
</extension>
|
|
27 |
|
|
28 |
<extension point="org.eclipse.ui.editors">
|
|
29 |
<editor
|
|
30 |
class="com.nokia.carbide.cpp.internal.news.reader.editor.NewsEditor"
|
|
31 |
default="false"
|
|
32 |
icon="icons/feed-icon-14x14.png"
|
|
33 |
id="com.nokia.carbide.cpp.news.reader.NewsEditor"
|
|
34 |
name="Carbide.c++ News">
|
|
35 |
<contentTypeBinding
|
|
36 |
contentTypeId="com.nokia.carbide.cpp.news.reader.CarbideNewsFile">
|
|
37 |
</contentTypeBinding>
|
|
38 |
</editor>
|
|
39 |
</extension>
|
|
40 |
|
|
41 |
<extension point="org.eclipse.ui.handlers">
|
|
42 |
<handler
|
|
43 |
class="com.nokia.carbide.cpp.internal.news.reader.ui.LaunchNewsCommandHandler"
|
|
44 |
commandId="com.nokia.carbide.cpp.news.reader.commands.launch.news">
|
|
45 |
</handler>
|
|
46 |
</extension>
|
|
47 |
|
|
48 |
<extension point="org.eclipse.ui.menus">
|
|
49 |
<!-- Defines a new menu contribution to the Eclipse help menu -->
|
|
50 |
<menuContribution
|
|
51 |
locationURI="menu:help?after=helpEnd">
|
|
52 |
<command
|
|
53 |
commandId="com.nokia.carbide.cpp.news.reader.commands.launch.news"
|
|
54 |
icon="icons/feed-icon-14x14.png"
|
|
55 |
label="Carbide.c++ News"
|
|
56 |
id="newsCommand"
|
|
57 |
tooltip="Carbide News">
|
|
58 |
</command>
|
|
59 |
</menuContribution>
|
|
60 |
|
|
61 |
<!-- Defines a new menu contribution to the Eclipse trim area -->
|
|
62 |
<menuContribution
|
|
63 |
locationURI="toolbar:org.eclipse.ui.trim.status">
|
|
64 |
<toolbar
|
|
65 |
id="com.nokia.carbide.cpp.news.contributions.toolbar.trim">
|
|
66 |
<command
|
|
67 |
commandId="com.nokia.carbide.cpp.news.reader.commands.launch.news"
|
|
68 |
icon="icons/feed-icon-14x14.png"
|
|
69 |
label="Carbide.c++ News"
|
|
70 |
id="newsTrimCommand"
|
|
71 |
tooltip="Carbide.c++ News">
|
|
72 |
</command>
|
|
73 |
<control
|
|
74 |
class="com.nokia.carbide.cpp.internal.news.reader.ui.NewsControlContribution"
|
|
75 |
id="controlContribtion">
|
|
76 |
</control>
|
|
77 |
</toolbar>
|
|
78 |
</menuContribution>
|
|
79 |
</extension>
|
|
80 |
|
|
81 |
<extension
|
|
82 |
point="org.eclipse.ui.preferencePages">
|
|
83 |
<page
|
|
84 |
name="Carbide.c++ News"
|
|
85 |
category="com.nokia.carbide.cpp.project.ui.preferences.CarbidePreferencePage"
|
|
86 |
class="com.nokia.carbide.cpp.internal.news.reader.ui.NewsPreferencePage"
|
|
87 |
id="com.nokia.carbide.cpp.news.reader.NewsPreferencePage">
|
|
88 |
</page>
|
|
89 |
</extension>
|
|
90 |
|
|
91 |
<extension
|
|
92 |
point="org.eclipse.ui.startup">
|
|
93 |
</extension>
|
|
94 |
|
|
95 |
</plugin>
|