Revision 517ffc77
Added by Patrick Plitzner over 8 years ago
eu.etaxonomy.taxeditor.navigation/plugin.xml | ||
---|---|---|
47 | 47 |
<dynamic |
48 | 48 |
class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem" |
49 | 49 |
id="eu.etaxonomy.taxeditor.navigation.recentnames"> |
50 |
<visibleWhen |
|
51 |
checkEnabled="true"> |
|
52 |
<reference |
|
53 |
definitionId="isCdmStoreConnected"> |
|
54 |
</reference> |
|
55 |
</visibleWhen> |
|
50 | 56 |
</dynamic> |
51 | 57 |
</menuContribution> |
52 | 58 |
<menuContribution |
... | ... | |
59 | 65 |
name="org.eclipse.ui.views.showView.viewId" |
60 | 66 |
value="eu.etaxonomy.taxeditor.navigation.navigator"> |
61 | 67 |
</parameter> |
68 |
<visibleWhen |
|
69 |
checkEnabled="true"> |
|
70 |
<reference |
|
71 |
definitionId="isCdmStoreConnected"> |
|
72 |
</reference> |
|
73 |
</visibleWhen> |
|
62 | 74 |
</command> |
63 | 75 |
<command |
64 | 76 |
commandId="org.eclipse.ui.views.showView" |
... | ... | |
68 | 80 |
name="org.eclipse.ui.views.showView.viewId" |
69 | 81 |
value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"> |
70 | 82 |
</parameter> |
83 |
<visibleWhen |
|
84 |
checkEnabled="true"> |
|
85 |
<reference |
|
86 |
definitionId="isCdmStoreConnected"> |
|
87 |
</reference> |
|
88 |
</visibleWhen> |
|
71 | 89 |
</command> |
72 | 90 |
</menuContribution> |
73 | 91 |
<menuContribution |
... | ... | |
315 | 333 |
id="eu.etaxonomy.taxeditor.navigation.search.toolbar"> |
316 | 334 |
<control |
317 | 335 |
class="eu.etaxonomy.taxeditor.navigation.search.SearchBar"> |
336 |
<visibleWhen |
|
337 |
checkEnabled="true"> |
|
338 |
<reference |
|
339 |
definitionId="isCdmStoreConnected"> |
|
340 |
</reference> |
|
341 |
</visibleWhen> |
|
318 | 342 |
</control> |
319 | 343 |
</toolbar> |
320 | 344 |
</menuContribution> |
... | ... | |
324 | 348 |
commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode" |
325 | 349 |
label="%command.label.13" |
326 | 350 |
style="push"> |
351 |
<visibleWhen |
|
352 |
checkEnabled="true"> |
|
353 |
<reference |
|
354 |
definitionId="isCdmStoreConnected"> |
|
355 |
</reference> |
|
356 |
</visibleWhen> |
|
327 | 357 |
</command> |
328 | 358 |
<separator |
329 | 359 |
name="eu.etaxonomy.navigation.menu.new.separator1" |
... | ... | |
334 | 364 |
id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler" |
335 | 365 |
label="%command.label.14" |
336 | 366 |
style="push"> |
367 |
<visibleWhen |
|
368 |
checkEnabled="true"> |
|
369 |
<reference |
|
370 |
definitionId="isCdmStoreConnected"> |
|
371 |
</reference> |
|
372 |
</visibleWhen> |
|
337 | 373 |
</command> |
338 | 374 |
</menuContribution> |
339 | 375 |
<menuContribution |
Also available in: Unified diff
Set Visibility according to CdmStore connection