forked from jcryptool/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
296 lines (270 loc) · 13.7 KB
/
plugin.xml
File metadata and controls
296 lines (270 loc) · 13.7 KB
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="editorButton" name="EditorButton" schema="schema/editorButton.exsd"/>
<extension-point id="platformLanguage" name="PlatformLanguage" schema="schema/platformLanguage.exsd"/>
<extension id="application" point="org.eclipse.core.runtime.applications">
<application>
<run class="org.jcryptool.core.Application"/>
</application>
</extension>
<extension point="org.eclipse.ui.perspectives">
<perspective class="org.jcryptool.core.Perspective" icon="icons/jct_persp.png" id="org.jcryptool.core.perspective" name="%perspective.jcryptool"/>
</extension>
<extension point="org.eclipse.ui.commands">
<command
description="%command.description"
id="org.jcryptool.core.commands.showHelp"
name="%command.name">
</command>
<!-- Commands für das neue Editor Dropdown in der coolbar -->
<command
id="org.jcryptool.core.command.editorsPulldown"
name="%command.tooltip.0">
</command>
<command
id="org.jcryptool.core.command.openEmptyTextEditor"
name="%command.emptyTextFile">
</command>
<command
id="org.jcryptool.core.command.openEmptyHexEditor"
name="%command.emptyHexFile">
</command>
<command
id="org.jcryptool.core.command.openSampleTextEditor"
name="%command.newTextSample">
</command>
<command
id="org.jcryptool.core.command.openSampleHexEditor"
name="%command.newHexSample">
</command>
<command
defaultHandler="org.jcryptool.core.commands.OpenFileHandler"
id="org.jcryptool.core.action.open"
name="%command.openfile">
</command>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler
class="org.jcryptool.core.commands.ShowHelpContents"
commandId="org.jcryptool.core.commands.showHelp">
</handler>
<!-- handler für das neue Editor Dropdown in der coolbar
Die Handler verweisen auf die entsprechenden Klassen in
org.jcryptool.core.commands -->
<handler
class="org.jcryptool.core.commands.OpenNewSampleTextEditorCommand"
commandId="org.jcryptool.core.command.editorsPulldown">
</handler>
<handler
class="org.jcryptool.core.commands.OpenNewEmptyTextEditorCommand"
commandId="org.jcryptool.core.command.openEmptyTextEditor">
</handler>
<handler
class="org.jcryptool.core.commands.OpenNewEmptyHexEditorCommand"
commandId="org.jcryptool.core.command.openEmptyHexEditor">
</handler>
<handler
class="org.jcryptool.core.commands.OpenNewSampleTextEditorCommand"
commandId="org.jcryptool.core.command.openSampleTextEditor">
</handler>
<handler
class="org.jcryptool.core.commands.OpenNewSampleHexEditorCommand"
commandId="org.jcryptool.core.command.openSampleHexEditor">
</handler>
</extension>
<extension point="org.eclipse.ui.menus">
<!-- Hilfe -->
<menuContribution locationURI="toolbar:org.jcryptool.core.toolbar?after=additions">
<command
commandId="org.jcryptool.core.commands.showHelp"
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/help_contents.png"
style="push"
tooltip="%command.tooltip"/>
</menuContribution>
<!-- neuen Editor öffnen Dropdown -->
<menuContribution
allPopups="false"
locationURI="toolbar:org.jcryptool.core.toolbar?before=fileStart">
<command
commandId="org.jcryptool.core.command.editorsPulldown"
icon="icons/editors.gif"
style="pulldown"
tooltip="%command.tooltip.0">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="menu:org.jcryptool.core.command.editorsPulldown">
<command
commandId="org.jcryptool.core.command.openEmptyTextEditor"
icon="icons/editors.gif"
tooltip="%command.tooltip.emptyTextFile"
style="push">
</command>
<command
commandId="org.jcryptool.core.command.openEmptyHexEditor"
icon="icons/hex.png"
tooltip="%command.tooltip.emptyHexFile"
style="push">
</command>
<separator name="separator" visible="true">
</separator>
<command
commandId="org.jcryptool.core.command.openSampleTextEditor"
icon="icons/editors.gif"
tooltip="%command.tooltip.newTextSample"
style="push">
</command>
<command
commandId="org.jcryptool.core.command.openSampleHexEditor"
icon="icons/hex.png"
tooltip="%command-tooltip.newHexSample"
style="push">
</command>
</menuContribution>
<!-- Hilfe -->
<menuContribution allPopups="false" locationURI="menu:org.eclipse.ui.main.menu">
<menu id="org.jcryptool.menu.help" label="%menu.label">
<command commandId="org.eclipse.ui.help.quickStartAction" icon="icons/icon_16.gif" style="push"/>
<separator name="org.jcryptool.core.help.separator.1" visible="true"/>
<command commandId="org.eclipse.ui.help.helpContents" icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/help_contents.png" style="push"/>
<command commandId="org.jcryptool.core.commands.showHelp" icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/help_contents.png" style="push"/>
<command commandId="org.eclipse.ui.help.helpSearch" icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/help_search.png" style="push"/>
<command commandId="org.eclipse.ui.help.dynamicHelp" style="push" label="%command.contexthelp"/>
<separator name="org.jcryptool.core.help.separator.2" visible="true"/>
<!-- Command for the Spickzettel -->
<command commandId="org.eclipse.ui.cheatsheets.openCheatSheet" style="push"/>
<separator name="org.jcryptool.core.help.separator.3" visible="true"/>
<command commandId="org.eclipse.equinox.p2.ui.sdk.update" icon="icons/iu_update_obj.png" style="push"/>
<command commandId="org.eclipse.equinox.p2.ui.sdk.install" icon="icons/iu_obj.png" style="push"/>
<separator name="org.jcryptool.core.help.separator.4" visible="true"/>
<command commandId="org.eclipse.ui.help.aboutAction" style="push">
<visibleWhen checkEnabled="false">
<not>
<systemTest property="os.name" value="Mac OS X"/>
</not>
</visibleWhen>
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="toolbar:org.jcryptool.core.toolbar?before=org.eclipse.ui.file.save">
<command
commandId="org.jcryptool.core.action.open"
icon="icons/open_file.gif"
label="%command.openfile"
style="push">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="menu:file?after=fileStart">
<command
commandId="org.jcryptool.core.action.open"
icon="icons/open_file.gif"
label="%command.openfile"
style="push">
</command>
</menuContribution>
</extension>
<!-- The prefrence pages -->
<extension point="org.eclipse.ui.preferencePages">
<page class="org.jcryptool.core.preferences.pages.GeneralPage" id="org.jcryptool.preferences.general" name="%preference.page.general"/>
<page category="org.jcryptool.preferences.general" class="org.eclipse.ui.ExtensionFactory:fileAssociationsPreferencePage" id="org.jcryptool.core.preferences.fileAssociations" name="%preference.page.file_associations"/>
<page category="org.jcryptool.preferences.general" class="org.eclipse.ui.ExtensionFactory:keysPreferencePage" id="org.jcryptool.core.preferences.keys" name="%preference.page.keys"/>
<page category="org.jcryptool.preferences.general" class="org.eclipse.ui.ExtensionFactory:colorsAndFontsPreferencePage" id="org.jcryptool.core.preferences.colorsAndFonts" name="%preference.page.colorsAndFonts"/>
<page class="org.jcryptool.core.preferences.pages.EditorsPage" id="org.jcryptool.preferences.editors" name="%preference.page.editors"/>
<page class="org.jcryptool.core.preferences.pages.CryptoPage" id="org.jcryptool.preferences.crypto" name="%preference.page.crypto"/>
<page class="org.jcryptool.core.preferences.pages.AlgorithmsPage" id="org.jcryptool.preferences.algorithms" name="%preference.page.algorithms"/>
<page class="org.jcryptool.core.preferences.pages.AnalysisPage" id="org.jcryptool.preferences.analysis" name="%preference.page.analysis"/>
<page class="org.jcryptool.core.preferences.pages.GamesPage" id="org.jcryptool.preferences.games" name="%preference.page.games"/>
<page class="org.jcryptool.core.preferences.pages.VisualsPage" id="org.jcryptool.preferences.visuals" name="%preference.page.visuals"/>
</extension>
<extension point="org.eclipse.ui.intro">
<intro class="org.eclipse.ui.intro.config.CustomizableIntroPart" icon="icons/icon_16.gif" id="org.jcryptool.intro" label="%intro.title"/>
<introProductBinding introId="org.jcryptool.intro" productId="org.jcryptool.core.product"/>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="org.jcryptool.core.perspective">
<!-- This are the views that are listed in Window -> Show view. All other views
are listed under Window -> Show view -> Others.-->
<perspectiveShortcut id="org.jcryptool.crypto.flexiprovider.ui.perspective.FlexiProviderPerspective"/>
<viewShortcut id="org.jcryptool.core.views.AlgorithmView"/>
<viewShortcut id="org.jcryptool.fileexplorer.views.FileExplorerView"/>
<viewShortcut id="org.eclipse.help.ui.HelpView"/>
<viewShortcut id="org.jcryptool.actions.views.ActionView"/>
<!-- Here you can specify which views should be opened in the standard
perspective of the JCT at startup. -->
<!-- The following code is an example how you can stack multiple
views to one position(relationship) (left, right, op, bottom). In this example the
ActionView and the FileExplorerView are on the same position relationship=left. -->
<view
id="org.jcryptool.actions.views.ActionView"
minimized="false"
ratio="0.25f"
relationship="left"
relative="org.eclipse.ui.editorss"/>
<view
id="org.jcryptool.fileexplorer.views.FileExplorerView"
minimized="false"
ratio="0.25f"
relationship="stack"
relative="org.jcryptool.actions.views.ActionView"/>
<view
id="org.jcryptool.core.views.AlgorithmView"
minimized="false"
ratio="0.68f"
relationship="right"
relative="org.eclipse.ui.editorss"/>
<view
id="org.eclipse.help.ui.HelpView"
minimized="false"
ratio="0.5"
relationship="bottom"
relative="org.jcryptool.actions.views.ActionView"/>
</perspectiveExtension>
</extension>
<!-- here you can add new languages.
simply copy the code and adapt ist to the wished language -->
<extension point="org.jcryptool.core.platformLanguage">
<language languageCode="en_EN" languageDescription="%language.languageEnglish"/>
</extension>
<extension point="org.jcryptool.core.platformLanguage">
<language languageCode="de_DE" languageDescription="%language.languageGerman"/>
</extension>
<extension point="org.jcryptool.core.platformLanguage">
<language languageCode="fr_FR" languageDescription="%language.languageFrench"/>
</extension>
<extension point="org.eclipse.e4.ui.css.swt.theme">
<theme basestylesheeturi="css/jcryptool.css" id="org.jcryptool.themes.default" label="Default Theme"/>
</extension>
<extension id="product" point="org.eclipse.core.runtime.products">
<product application="org.jcryptool.core.application" name="JCrypTool">
<!-- You can access a property via Platform.getProduct().getProperty("appName") -->
<property name="appName" value="JCrypTool"/>
<property name="cssTheme" value="org.jcryptool.themes.default"/>
<property name="aboutImage" value="icons/about_dialog.gif"/>
<!-- The about window Help -> About -->
<property name="aboutText" value="%about.text"/>
<property name="windowImages" value="icons/icon_16.gif,icons/icon_32.gif,icons/icon_48.gif,icons/icon_64.gif,icons/icon_128.gif,icons/icon_256.gif"/>
<property name="startupForegroundColor" value="C0C0C0"/>
<property name="startupMessageRect" value="7,238,445,20"/>
<property name="startupProgressRect" value="5,275,445,15"/>
<property name="mavenBuildTimestamp" value="%maven.timestamp"/>
<property
name="preferenceCustomization"
value="plugin_customization.ini">
</property>
</product>
</extension>
<extension point="org.eclipse.ui.bindings">
<key commandId="org.eclipse.ui.help.dynamicHelp" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" sequence="F1"/>
<key
commandId="org.jcryptool.core.action.open"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+O">
</key>
</extension>
</plugin>