]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.ui/plugin.xml
Fix NPE in Export Core
[simantics/platform.git] / bundles / org.simantics.scl.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4    <extension
5          point="org.eclipse.ui.editors">
6       <editor
7             class="org.simantics.scl.ui.editor.SCLEditor"
8             contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
9             default="true"
10             extensions="scl"
11             filenames="*.scl"
12             id="org.simantics.scl.ui.editor"
13             name="SCL Editor">
14       </editor>
15       <editor
16             class="org.simantics.scl.ui.editor2.SCLModuleEditor2"
17             contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
18             default="true"
19             extensions="scl"
20             filenames="*.scl"
21             id="org.simantics.scl.ui.editor2"
22             name="SCL Module Editor">
23       </editor>
24    </extension>
25    <extension
26          point="org.eclipse.core.filebuffers.documentSetup">
27       <participant
28             class="org.simantics.scl.ui.editor.SCLDocumentSetup"
29             extensions="scl">
30       </participant>
31    </extension>
32    <extension
33          point="org.eclipse.core.contenttype.contentTypes">
34       <content-type
35             default-charset="UTF-8"
36             file-extensions="scl"
37             id="org.simantics.scl.contentType"
38             name="SCL Source"
39             priority="normal">
40       </content-type>
41    </extension>
42    <extension
43          point="org.eclipse.ui.views">
44       <category
45             id="org.simantics.scl.ui.category"
46             name="SCL">
47       </category>
48       <view
49             allowMultiple="true"
50             category="org.simantics.scl.ui.category"
51             class="org.simantics.scl.ui.console.SCLConsoleView"
52             icon="icons/application_xp_terminal.png"
53             id="org.simantics.scl.ui.console"
54             name="SCL Console"
55             restorable="true">
56       </view>
57       <view
58             allowMultiple="true"
59             category="org.simantics.scl.ui.category"
60             class="org.simantics.scl.ui.console.SCLScriptConsoleView"
61             icon="icons/application_xp.png"
62             id="org.simantics.scl.ui.scriptConsole"
63             name="SCL Script Output"
64             restorable="true">
65       </view>
66
67    </extension>
68    <extension
69          point="org.eclipse.ui.menus">
70       <menuContribution
71             allPopups="false"
72             locationURI="menu:help?after=group.main.ext">
73          <command
74                commandId="org.simantics.scl.ui.launchDocumentationBrowser"
75                label="SCL Documentation"
76                style="push">
77          </command>
78       </menuContribution>
79    </extension>
80    <extension
81          point="org.eclipse.ui.commands">
82       <command
83             id="org.simantics.scl.ui.launchDocumentationBrowser"
84             name="SCL module documentation">
85       </command>
86       <command
87             id="org.simantics.scl.editor.openModule"
88             name="Open SCL module">
89       </command>
90       <command
91             id="org.simantics.scl.editor.openDefinition"
92             name="Open SCL definition">
93       </command>
94       <command
95             id="org.simantics.scl.editor.openDeclaration"
96             name="Open Declaration">
97       </command>
98       <command
99             id="org.simantics.scl.editor.findSCLSearchAction"
100             name="Find SCL references">
101       </command>
102    </extension>
103    <extension
104          point="org.eclipse.ui.handlers">
105       <handler
106             class="org.simantics.scl.ui.browser.LaunchSCLDocumentationBrowser"
107             commandId="org.simantics.scl.ui.launchDocumentationBrowser">
108       </handler>   
109       <handler
110             class="org.simantics.scl.ui.editor2.OpenSCLModule"
111             commandId="org.simantics.scl.editor.openModule">
112       </handler>
113       <handler
114             class="org.simantics.scl.ui.editor2.OpenSCLDefinition"
115             commandId="org.simantics.scl.editor.openDefinition">
116       </handler>
117       <handler
118             class="org.simantics.scl.ui.editor2.OpenDeclaration"
119             commandId="org.simantics.scl.editor.openDeclaration">
120       </handler>
121       <handler
122             class="org.simantics.scl.ui.editor2.FindSCLSearchAction"
123             commandId="org.simantics.scl.editor.findSCLSearchAction">
124       </handler>
125    </extension>
126    <extension
127          point="org.eclipse.ui.bindings">
128       <key
129             commandId="org.simantics.scl.editor.openModule"
130             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
131             sequence="CTRL+SHIFT+M">
132       </key>
133       <key
134             commandId="org.simantics.scl.editor.openDefinition"
135             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
136             sequence="CTRL+SHIFT+D">
137       </key>
138       <key
139             commandId="org.simantics.scl.editor.openDeclaration"
140             contextId="org.simantics.scl.ui.editor"
141             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
142             sequence="F3">
143       </key>
144       <key
145             commandId="org.simantics.scl.editor.findSCLSearchAction"
146             contextId="org.simantics.scl.ui.editor"
147             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
148             sequence="CTRL+SHIFT+G">
149       </key>
150    </extension>
151    <extension
152          point="org.eclipse.ui.contexts">
153       <context
154             id="org.simantics.scl.ui.editor"
155             name="SCL module editor">
156       </context>
157    </extension>
158    <extension
159          point="org.eclipse.ui.elementFactories">
160       <factory
161             class="org.simantics.scl.ui.editor2.SCLModuleEditorInputFactory"
162             id="org.simantics.scl.ui.editor.inputFactory">
163       </factory>
164    </extension>
165    <extension
166          point="org.eclipse.ui.perspectives">
167       
168    </extension>
169    <extension
170          point="org.eclipse.ui.perspectiveExtensions">
171       
172    </extension>
173    <extension
174          point="org.eclipse.ui.themes">
175       <themeElementCategory
176             id="org.simantics.scl"
177             label="SCL">
178       </themeElementCategory>
179       <fontDefinition
180             categoryId="org.simantics.scl"
181             id="org.simantics.scl.consolefont"
182             label="SCL Console Font"
183             value="Courier New-regular-11">
184          <description>
185             The SCL Console font is used by SCL Console and SCL Script Output console views.
186          </description>
187       </fontDefinition>
188       <fontDefinition
189             categoryId="org.simantics.scl"
190             id="org.simantics.scl.editorfont"
191             label="SCL Editor Font"
192             value="Courier New-regular-11">
193          <description>
194             The SCL editor font is used by SCL module and script editors.
195          </description>
196       </fontDefinition>
197    </extension>
198    <extension
199          point="org.eclipse.search.searchResultViewPages">
200       <viewPage
201             class="org.simantics.scl.ui.search.SCLSearchResultPage"
202             id="org.simantics.scl.ui.search.sclSearchResultPage"
203             searchResultClass="org.simantics.scl.ui.search.SCLSearchResult">
204       </viewPage>
205    </extension>
206    <extension
207          point="org.eclipse.core.runtime.preferences">
208       <initializer
209             class="org.simantics.scl.ui.console.SCLConsolePreferenceInitializer">
210       </initializer>
211    </extension>
212    <extension
213          point="org.eclipse.ui.preferencePages">
214       <page
215             name="SCL"
216             class="org.simantics.scl.ui.preference.SCLPreferencePage"
217             id="org.simantics.scl.ui.preferences.root">
218       </page>
219       <page
220             name="Console"
221             class="org.simantics.scl.ui.console.SCLConsolePreferencePage"
222             category="org.simantics.scl.ui.preferences.root"
223             id="org.simantics.scl.ui.preferences.console">
224       </page>
225    </extension>
226 </plugin>