Revision bc91d03c
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/plugin.xml | ||
---|---|---|
10 | 10 |
</run> |
11 | 11 |
</application> |
12 | 12 |
</extension> |
13 |
<extension |
|
14 |
point="org.eclipse.ui.views"> |
|
15 |
<view |
|
16 |
allowMultiple="false" |
|
17 |
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart" |
|
18 |
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart" |
|
19 |
name="%view.name.1" |
|
20 |
restorable="true"> |
|
21 |
</view> |
|
22 |
</extension> |
|
23 | 13 |
<extension |
24 | 14 |
point="org.eclipse.ui.menus"> |
25 | 15 |
<menuContribution |
... | ... | |
87 | 77 |
</visibleWhen> |
88 | 78 |
</command> |
89 | 79 |
</menuContribution> |
90 |
<menuContribution |
|
91 |
locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"> |
|
92 |
<command |
|
93 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey" |
|
94 |
label="%command.label.15" |
|
95 |
style="push"> |
|
96 |
</command> |
|
97 |
<dynamic |
|
98 |
class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu" |
|
99 |
id="eu.etaxonomy.taxeditor.navigation.polytomous.cdmViewerContextMenu"> |
|
100 |
</dynamic> |
|
101 |
<command |
|
102 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes" |
|
103 |
label="%command.label.16" |
|
104 |
style="push"> |
|
105 |
</command> |
|
106 |
<menu |
|
107 |
label="%menu.label.0"> |
|
108 |
<command |
|
109 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList" |
|
110 |
label="%command.label.17" |
|
111 |
style="push"> |
|
112 |
</command> |
|
113 |
<command |
|
114 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes" |
|
115 |
label="%command.label.18" |
|
116 |
style="push"> |
|
117 |
</command> |
|
118 |
</menu> |
|
119 |
<separator |
|
120 |
name="eu.etaxonomy.eu.polytomousKeyView.separator2" |
|
121 |
visible="true"> |
|
122 |
</separator> |
|
123 |
<command |
|
124 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete" |
|
125 |
label="%command.label.19" |
|
126 |
style="push"> |
|
127 |
</command> |
|
128 |
|
|
129 |
</menuContribution> |
|
130 |
</extension> |
|
131 |
<extension |
|
132 |
point="org.eclipse.ui.commands"> |
|
133 |
<command |
|
134 |
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler" |
|
135 |
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey" |
|
136 |
name="%command.name.6"> |
|
137 |
</command> |
|
138 |
<command |
|
139 |
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler" |
|
140 |
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes" |
|
141 |
name="%command.name.7"> |
|
142 |
</command> |
|
143 |
<command |
|
144 |
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler" |
|
145 |
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList" |
|
146 |
name="%command.name.8"> |
|
147 |
</command> |
|
148 |
<command |
|
149 |
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler" |
|
150 |
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes" |
|
151 |
name="%command.name.9"> |
|
152 |
</command> |
|
153 |
<command |
|
154 |
defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler" |
|
155 |
id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete" |
|
156 |
name="%command.name.11"> |
|
157 |
</command> |
|
158 | 80 |
</extension> |
159 | 81 |
<extension |
160 | 82 |
point="org.eclipse.ui.handlers"> |
161 |
<handler |
|
162 |
class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler" |
|
163 |
commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete"> |
|
164 |
<activeWhen> |
|
165 |
<with |
|
166 |
variable="activePartId"> |
|
167 |
<equals |
|
168 |
value="eu.etaxonomy.taxeditor.navigation.navigator"> |
|
169 |
</equals> |
|
170 |
</with> |
|
171 |
</activeWhen> |
|
172 |
</handler> |
|
173 |
<handler |
|
174 |
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler" |
|
175 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"> |
|
176 |
<activeWhen> |
|
177 |
<with |
|
178 |
variable="activePartId"> |
|
179 |
<equals |
|
180 |
value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"> |
|
181 |
</equals> |
|
182 |
</with> |
|
183 |
</activeWhen> |
|
184 |
</handler> |
|
185 |
<handler |
|
186 |
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler" |
|
187 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"> |
|
188 |
<activeWhen> |
|
189 |
<reference |
|
190 |
definitionId="isRemoting"> |
|
191 |
</reference> |
|
192 |
</activeWhen> |
|
193 |
</handler> |
|
194 |
<handler |
|
195 |
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler" |
|
196 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"> |
|
197 |
<activeWhen> |
|
198 |
<reference |
|
199 |
definitionId="isRemoting"> |
|
200 |
</reference> |
|
201 |
</activeWhen> |
|
202 |
</handler> |
|
203 |
<handler |
|
204 |
class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler" |
|
205 |
commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"> |
|
206 |
<activeWhen> |
|
207 |
<reference |
|
208 |
definitionId="isRemoting"> |
|
209 |
</reference> |
|
210 |
</activeWhen> |
|
211 |
</handler> |
|
212 | 83 |
<handler |
213 | 84 |
class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView" |
214 | 85 |
commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView"> |
Also available in: Unified diff
ref #6908 Migrate polytomous key list editor