-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
151 lines (149 loc) · 5.78 KB
/
plugin.xml
File metadata and controls
151 lines (149 loc) · 5.78 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="labelPrinter.perspective.patientlabel">
</perspectiveExtension>
<perspectiveExtension
targetID="labelPrinter.perspective.templateeditor">
</perspectiveExtension>
<perspectiveExtension
targetID="labelPrinter.perspective.jaspereditor">
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
class="edu.ualberta.med.biobank.labelprinter.forms.LabelTemplateEntryForm"
id="edu.ualberta.med.biobank.labelprinter.forms.TemplateEntryForm"
default="false"
name="%printer.template.editor.name">
</editor>
<editor
class="edu.ualberta.med.biobank.labelprinter.forms.JasperTemplateEntryForm"
id="edu.ualberta.med.biobank.labelprinter.forms.JasperTemplateEntryForm"
default="false"
name="%jasper.template.editor.name">
</editor>
<editor
class="edu.ualberta.med.biobank.labelprinter.forms.PatientLabelEntryForm"
id="edu.ualberta.med.biobank.labelprinter.forms.SpecimanLabelEntryForm"
default="false"
name="%patient.labels.editor.name">
</editor>
</extension>
<extension
point="org.eclipse.ui.views">
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=edu.ualberta.med.biobank.menu.additions">
<menu
id="edu.ualberta.med.barcodegenerator.menu.barcodegenerator"
label="%printer.labels.menu">
<command
commandId="edu.ualberta.med.barcodegenerator.commands.patientlabel"
id="edu.ualberta.med.barcodegenerator.menu.patientlabel"
style="push">
</command>
<command
commandId="edu.ualberta.med.barcodegenerator.commands.templateeditor"
id="edu.ualberta.med.barcodegenerator.menu.templateeditor"
style="push">
</command>
<command
commandId="edu.ualberta.med.barcodegenerator.commands.jaspereditor"
id="edu.ualberta.med.barcodegenerator.menu.jaspereditor"
style="push">
</command>
</menu>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="edu.ualberta.med.biobank.labelprinter.handlers.PatientLabelHandler"
commandId="edu.ualberta.med.barcodegenerator.commands.patientlabel">
<activeWhen>
<and>
<reference
definitionId="edu.ualberta.med.biobank.gui.common.loggedIn">
</reference>
<reference
definitionId="edu.ualberta.med.biobank.gui.common.labelPrintingPermission">
</reference>
</and>
</activeWhen>
</handler>
<handler
class="edu.ualberta.med.biobank.labelprinter.handlers.TemplateEditorHandler"
commandId="edu.ualberta.med.barcodegenerator.commands.templateeditor">
<activeWhen>
<and>
<reference
definitionId="edu.ualberta.med.biobank.gui.common.loggedIn">
</reference>
<reference
definitionId="edu.ualberta.med.biobank.gui.common.labelPrintingPermission">
</reference>
</and>
</activeWhen>
</handler>
<handler
class="edu.ualberta.med.biobank.labelprinter.handlers.JasperEditorHandler"
commandId="edu.ualberta.med.barcodegenerator.commands.jaspereditor">
<activeWhen>
<and>
<reference
definitionId="edu.ualberta.med.biobank.gui.common.loggedIn">
</reference>
<reference
definitionId="edu.ualberta.med.biobank.gui.common.labelPrintingPermission">
</reference>
</and>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
id="edu.ualberta.med.barcodegenerator.commands.patientlabel"
name="%patient.labels.command.name">
</command>
<command
id="edu.ualberta.med.barcodegenerator.commands.templateeditor"
name="%label.template.command.name">
</command>
<command
id="edu.ualberta.med.barcodegenerator.commands.jaspereditor"
name="%jasper.template.command.name">
</command>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="edu.ualberta.med.biobank.labelprinter.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="edu.ualberta.med.biobank.labelprinter.perspective.PatientLabelPerspective"
id="labelPrinter.perspective.patientlabel"
name="%label.printer.view.name">
</perspective>
<perspective
class="edu.ualberta.med.biobank.labelprinter.perspective.TemplateEditorPerspective"
id="labelPrinter.perspective.templateeditor"
name="%template.editor.name">
</perspective>
<perspective
class="edu.ualberta.med.biobank.labelprinter.perspective.JasperEditorPerspective"
id="labelPrinter.perspective.jaspereditor"
name="%jasper.configuration.name">
</perspective>
</extension>
</plugin>