]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.ui.dist/plugin.xml
Fix various bugs with execution
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui.dist / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
3 <plugin>
4 <!-- Perspectives -->
5 <extension
6 point="org.eclipse.ui.perspectives">
7 <perspective
8 name="SLC Distribution"
9 class="org.argeo.slc.client.ui.dist.DistributionPerspective"
10 id="org.argeo.slc.client.ui.dist.distributionPerspective"
11 icon="icons/distribution_perspective.gif">
12 </perspective>
13 </extension>
14 <!-- Views -->
15 <extension
16 point="org.eclipse.ui.views">
17 <view
18 class="org.argeo.eclipse.spring.SpringExtensionFactory"
19 id="org.argeo.slc.client.ui.dist.artifactsBrowser"
20 icon="icons/packageBrowser.gif"
21 name="Artifacts browser">
22 </view>
23 <view
24 class="org.argeo.eclipse.spring.SpringExtensionFactory"
25 id="org.argeo.slc.client.ui.dist.queryArtifactsForm"
26 icon="icons/searchForm.gif"
27 name="Artifacts Form">
28 </view>
29 <view
30 class="org.argeo.eclipse.spring.SpringExtensionFactory"
31 id="org.argeo.slc.client.ui.dist.queryBundlesForm"
32 icon="icons/searchForm.gif"
33 name="Bundles Form">
34 </view>
35 <view
36 class="org.argeo.eclipse.spring.SpringExtensionFactory"
37 id="org.argeo.slc.client.ui.dist.queryArtifactsText"
38 icon="icons/search.gif"
39 name="Query builder">
40 </view>
41 </extension>
42 <!-- Editors -->
43 <extension
44 point="org.eclipse.ui.editors">
45 <editor
46 class="org.argeo.slc.client.ui.dist.editors.GenericArtifactEditor"
47 id="org.argeo.slc.client.ui.dist.genericArtifactEditor"
48 name="Artifact editor"
49 icon="icons/artifactVersionBase.gif"
50 default="false">
51 </editor>
52 </extension>
53 <!-- Commands -->
54 <extension
55 point="org.eclipse.ui.commands">
56 <command
57 defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
58 id="org.argeo.slc.client.ui.dist.showSizeColumn"
59 name="Show size column">
60 <state
61 id="org.argeo.slc.client.ui.dist.showSizeColumn.toggleState">
62 <class class="org.eclipse.jface.commands.ToggleState">
63 <parameter
64 name="default"
65 value="true" />
66 </class>
67 </state>
68 </command>
69 <command
70 defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
71 id="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
72 name="Refresh Artifact Browser">
73 </command>
74 </extension>
75 <extension
76 id="menu:org.eclipse.ui.main.menu"
77 point="org.eclipse.ui.menus">
78
79 <!-- View Specific Menus -->
80 <menuContribution
81 locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
82 <command
83 commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
84 icon="icons/showSize.gif"
85 style="toggle"
86 label="Show sizes"
87 tooltip="Warning: showing size column might reduce overall browser reactivity">
88 </command>
89 <command
90 commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
91 icon="icons/refresh.png"
92 label="Refresh"
93 tooltip="Refresh the whole browser">
94 </command>
95 </menuContribution>
96
97 <!-- Queries -->
98 <!-- <menuContribution
99 allPopups="false"
100 locationURI="menu:org.eclipse.ui.main.menu?after=edit">
101 <menu label="Queries"
102 mnemonic="Queries"
103 id="org.argeo.slc.client.ui.dist.queryMenu">
104 <command
105 commandId="org.argeo.slc.client.ui.dist.openGenericJcrQueryEditor"
106 disabledIcon="icons/saveDisabled.gif"
107 icon="icons/results.gif"
108 label="JCR Query"
109 style="push"
110 tooltip="Open JCR query editor">
111 </command>
112 </menu>
113 </menuContribution> -->
114 </extension>
115 </plugin>