Statistics
| Revision:

root / tmp / org.txm.wordcloud.rcp / plugin.xml @ 222

History | View | Annotate | Download (5.3 kB)

1 128 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 128 sjacqu01
<?eclipse version="3.4"?>
3 128 sjacqu01
<plugin>
4 128 sjacqu01
5 128 sjacqu01
   <extension
6 128 sjacqu01
         id="application"
7 128 sjacqu01
         point="org.eclipse.core.runtime.applications">
8 128 sjacqu01
      <application>
9 128 sjacqu01
         <run
10 128 sjacqu01
               class="___wordcloudrcp.Application">
11 128 sjacqu01
         </run>
12 128 sjacqu01
      </application>
13 128 sjacqu01
   </extension>
14 128 sjacqu01
   <extension
15 128 sjacqu01
         point="org.eclipse.ui.perspectives">
16 128 sjacqu01
      <perspective
17 128 sjacqu01
            name="%perspective.name"
18 128 sjacqu01
            class="___wordcloudrcp.Perspective"
19 128 sjacqu01
            id="WordCloudRCP.perspective">
20 128 sjacqu01
      </perspective>
21 128 sjacqu01
   </extension>
22 128 sjacqu01
   <extension
23 128 sjacqu01
         point="org.eclipse.ui.commands">
24 128 sjacqu01
      <command
25 128 sjacqu01
            categoryId="org.txm.rcpapplication.category.txm"
26 128 sjacqu01
            defaultHandler="org.txm.wordcloud.rcp.handlers.ComputeWordCloud"
27 128 sjacqu01
            id="ComputeWordCloud"
28 128 sjacqu01
            name="%command.name">
29 128 sjacqu01
      </command>
30 128 sjacqu01
   </extension>
31 128 sjacqu01
   <extension
32 128 sjacqu01
         point="org.eclipse.ui.menus">
33 128 sjacqu01
      <menuContribution
34 128 sjacqu01
            allPopups="false"
35 128 sjacqu01
            locationURI="toolbar:org.txm.rcpapplication.toolbartools">
36 128 sjacqu01
         <command
37 128 sjacqu01
               commandId="ComputeWordCloud"
38 128 sjacqu01
               icon="icons/functions/wordcloud.png"
39 128 sjacqu01
               style="push">
40 128 sjacqu01
            <visibleWhen
41 128 sjacqu01
                  checkEnabled="false">
42 128 sjacqu01
               <or>
43 128 sjacqu01
                  <reference
44 128 sjacqu01
                        definitionId="OneLexiconSelected">
45 128 sjacqu01
                  </reference>
46 128 sjacqu01
                  <reference
47 128 sjacqu01
                        definitionId="OneIndexSelected">
48 128 sjacqu01
                  </reference>
49 128 sjacqu01
                  <reference
50 128 sjacqu01
                        definitionId="OneCorpusSelected">
51 128 sjacqu01
                  </reference>
52 128 sjacqu01
               </or>
53 128 sjacqu01
            </visibleWhen>
54 128 sjacqu01
         </command>
55 128 sjacqu01
      </menuContribution>
56 128 sjacqu01
      <menuContribution
57 128 sjacqu01
            allPopups="false"
58 128 sjacqu01
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
59 128 sjacqu01
         <command
60 128 sjacqu01
               commandId="ComputeWordCloud"
61 128 sjacqu01
               icon="icons/functions/wordcloud.png"
62 128 sjacqu01
               style="push">
63 128 sjacqu01
            <visibleWhen
64 128 sjacqu01
                  checkEnabled="false">
65 128 sjacqu01
               <or>
66 128 sjacqu01
                  <reference
67 128 sjacqu01
                        definitionId="OneLexiconSelected">
68 128 sjacqu01
                  </reference>
69 128 sjacqu01
                  <reference
70 128 sjacqu01
                        definitionId="OneIndexSelected">
71 128 sjacqu01
                  </reference>
72 128 sjacqu01
                  <reference
73 128 sjacqu01
                        definitionId="OneCorpusSelected">
74 128 sjacqu01
                  </reference>
75 128 sjacqu01
               </or>
76 128 sjacqu01
            </visibleWhen>
77 128 sjacqu01
         </command>
78 128 sjacqu01
      </menuContribution>
79 128 sjacqu01
      <menuContribution
80 128 sjacqu01
            locationURI="menu:menu.tools">
81 128 sjacqu01
         <command
82 128 sjacqu01
               commandId="ComputeWordCloud"
83 128 sjacqu01
               icon="icons/functions/wordcloud.png"
84 128 sjacqu01
               style="push">
85 128 sjacqu01
            <visibleWhen
86 128 sjacqu01
                  checkEnabled="false">
87 128 sjacqu01
               <or>
88 128 sjacqu01
                  <reference
89 128 sjacqu01
                        definitionId="OneLexiconSelected">
90 128 sjacqu01
                  </reference>
91 128 sjacqu01
                  <reference
92 128 sjacqu01
                        definitionId="OneIndexSelected">
93 128 sjacqu01
                  </reference>
94 128 sjacqu01
                  <reference
95 128 sjacqu01
                        definitionId="OneCorpusSelected">
96 128 sjacqu01
                  </reference>
97 128 sjacqu01
               </or>
98 128 sjacqu01
            </visibleWhen>
99 128 sjacqu01
         </command>
100 128 sjacqu01
      </menuContribution>
101 128 sjacqu01
      <menuContribution
102 128 sjacqu01
            locationURI="menu:menu.help.plugins">
103 128 sjacqu01
         <command
104 128 sjacqu01
               commandId="org.txm.rcpapplication.commands.OpenBrowser"
105 128 sjacqu01
               icon="icons/functions/wordcloud.png"
106 128 sjacqu01
               label="%command.name"
107 128 sjacqu01
               style="push">
108 128 sjacqu01
            <parameter
109 128 sjacqu01
                  name="org.txm.rcpapplication.commands.commandParameter2"
110 128 sjacqu01
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#wordcloud">
111 128 sjacqu01
            </parameter>
112 128 sjacqu01
         </command>
113 128 sjacqu01
      </menuContribution>
114 128 sjacqu01
   </extension>
115 128 sjacqu01
   <extension
116 128 sjacqu01
         point="org.eclipse.ui.editors">
117 128 sjacqu01
      <editor
118 128 sjacqu01
            class="org.txm.wordcloud.rcp.editors.WordCloudEditor"
119 128 sjacqu01
            default="false"
120 128 sjacqu01
            icon="icons/functions/wordcloud.png"
121 128 sjacqu01
            id="org.txm.wordcloud.core.functions.WordCloud"
122 128 sjacqu01
            name="%editor.name">
123 128 sjacqu01
      </editor>
124 128 sjacqu01
   </extension>
125 128 sjacqu01
   <extension
126 128 sjacqu01
         point="org.eclipse.core.runtime.adapters">
127 128 sjacqu01
      <factory
128 128 sjacqu01
            adaptableType="org.txm.wordcloud.core.functions.WordCloud"
129 128 sjacqu01
            class="org.txm.wordcloud.rcp.adapters.WordCloudAdapterFactory">
130 128 sjacqu01
         <adapter
131 128 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
132 128 sjacqu01
         </adapter>
133 128 sjacqu01
      </factory>
134 128 sjacqu01
   </extension>
135 128 sjacqu01
   <extension
136 128 sjacqu01
         point="org.eclipse.ui.preferencePages">
137 128 sjacqu01
      <page
138 128 sjacqu01
            category="org.txm.rcpapplication.preferences.UserPreferencePage"
139 128 sjacqu01
            class="org.txm.wordcloud.rcp.preferences.WordCloudPreferencePage"
140 128 sjacqu01
            id="org.txm.wordcloud.rcp.preferences.WordCloudPreferencePage"
141 128 sjacqu01
            name="%page.name">
142 128 sjacqu01
      </page>
143 128 sjacqu01
   </extension>
144 128 sjacqu01
   <extension
145 128 sjacqu01
         point="org.eclipse.core.expressions.definitions">
146 128 sjacqu01
      <definition
147 128 sjacqu01
            id="OneWordCloudSelected">
148 128 sjacqu01
         <with
149 128 sjacqu01
               variable="selection">
150 128 sjacqu01
            <iterate
151 128 sjacqu01
                  ifEmpty="false"
152 128 sjacqu01
                  operator="and">
153 128 sjacqu01
               <instanceof
154 128 sjacqu01
                     value="org.txm.wordcloud.core.functions.WordCloud">
155 128 sjacqu01
               </instanceof>
156 128 sjacqu01
            </iterate>
157 128 sjacqu01
         </with>
158 128 sjacqu01
      </definition>
159 128 sjacqu01
   </extension>
160 128 sjacqu01
</plugin>