Statistics
| Revision:

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

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