Statistiques
| Révision :

root / TXM / trunk / org.txm.conllu.rcp / plugin.xml @ 3388

Historique | Voir | Annoter | Télécharger (4,2 ko)

1 3315 mdecorde
<?xml version="1.0" encoding="UTF-8"?>
2 3315 mdecorde
<?eclipse version="3.4"?>
3 3315 mdecorde
<plugin>
4 3315 mdecorde
   <extension
5 3315 mdecorde
         point="org.eclipse.ui.commands">
6 3315 mdecorde
      <command
7 3315 mdecorde
            categoryId="TreeSearch4TXM.commands.category"
8 3315 mdecorde
            defaultHandler="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromDirectory"
9 3315 mdecorde
            id="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromDirectory"
10 3315 mdecorde
            name="Import CONLL-u Annotations from directory...">
11 3315 mdecorde
      </command>
12 3315 mdecorde
      <command
13 3315 mdecorde
            categoryId="TreeSearch4TXM.commands.category"
14 3315 mdecorde
            defaultHandler="org.txm.conllu.rcp.commands.ExportCorpusAsCoNLLU"
15 3315 mdecorde
            id="org.txm.conllu.rcp.commands.ExportCorpusAsCoNLLU"
16 3315 mdecorde
            name="Export CONLL-u Annotations...">
17 3315 mdecorde
      </command>
18 3315 mdecorde
      <command
19 3315 mdecorde
            categoryId="TreeSearch4TXM.commands.category"
20 3315 mdecorde
            defaultHandler="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromFile"
21 3315 mdecorde
            id="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromFile"
22 3315 mdecorde
            name="Import CONLL-u Annotations from file...">
23 3315 mdecorde
      </command>
24 3315 mdecorde
   </extension>
25 3315 mdecorde
   <extension
26 3315 mdecorde
         point="org.eclipse.ui.menus">
27 3315 mdecorde
      <menuContribution
28 3315 mdecorde
            locationURI="menu:menu.file.import?before=menu.file.import.separator.software">
29 3315 mdecorde
         <command
30 3315 mdecorde
               commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
31 3315 mdecorde
               icon="icons/functions/UD.png"
32 3315 mdecorde
               label="CoNLL-U + CSV"
33 3315 mdecorde
               style="push">
34 3315 mdecorde
            <parameter
35 3315 mdecorde
                  name="org.txm.rcp.commands.commandParameter3"
36 3315 mdecorde
                  value="conllu/conlluLoader.groovy">
37 3315 mdecorde
            </parameter>
38 3315 mdecorde
         </command>
39 3315 mdecorde
      </menuContribution>
40 3315 mdecorde
      <menuContribution
41 3315 mdecorde
            locationURI="menu:menu.file.export">
42 3315 mdecorde
         <command
43 3315 mdecorde
               commandId="org.txm.conllu.rcp.commands.ExportCorpusAsCoNLLU"
44 3315 mdecorde
               icon="icons/functions/UD.png"
45 3388 mdecorde
               label="Corpus in CONLL-U format (.conllu)..."
46 3315 mdecorde
               style="push">
47 3315 mdecorde
            <visibleWhen
48 3315 mdecorde
                  checkEnabled="false">
49 3315 mdecorde
               <reference
50 3315 mdecorde
                     definitionId="OneMainCorpusSelected">
51 3315 mdecorde
               </reference>
52 3315 mdecorde
            </visibleWhen>
53 3315 mdecorde
         </command>
54 3315 mdecorde
      </menuContribution>
55 3315 mdecorde
      <menuContribution
56 3315 mdecorde
            locationURI="menu:menu.corpus.import">
57 3315 mdecorde
         <command
58 3315 mdecorde
               commandId="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromDirectory"
59 3315 mdecorde
               icon="icons/functions/UDplus.png"
60 3315 mdecorde
               style="push">
61 3315 mdecorde
            <visibleWhen
62 3315 mdecorde
                  checkEnabled="false">
63 3315 mdecorde
               <or>
64 3315 mdecorde
                  <test
65 3315 mdecorde
                        forcePluginActivation="true"
66 3315 mdecorde
                        property="org.txm.rcp.testers.TreeSearchReady"
67 3315 mdecorde
                        value="TreeSearchReady">
68 3315 mdecorde
                  </test>
69 3315 mdecorde
                  <reference
70 3315 mdecorde
                        definitionId="OneMainCorpusSelected">
71 3315 mdecorde
                  </reference>
72 3315 mdecorde
               </or>
73 3315 mdecorde
            </visibleWhen>
74 3315 mdecorde
         </command>
75 3315 mdecorde
         <command
76 3315 mdecorde
               commandId="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromFile"
77 3315 mdecorde
               icon="icons/functions/UDplus.png"
78 3315 mdecorde
               style="push">
79 3315 mdecorde
            <visibleWhen
80 3315 mdecorde
                  checkEnabled="false">
81 3315 mdecorde
               <or>
82 3315 mdecorde
                  <test
83 3315 mdecorde
                        forcePluginActivation="true"
84 3315 mdecorde
                        property="org.txm.rcp.testers.TreeSearchReady"
85 3315 mdecorde
                        value="TreeSearchReady">
86 3315 mdecorde
                  </test>
87 3315 mdecorde
                  <reference
88 3315 mdecorde
                        definitionId="OneMainCorpusSelected">
89 3315 mdecorde
                  </reference>
90 3315 mdecorde
               </or>
91 3315 mdecorde
            </visibleWhen>
92 3315 mdecorde
         </command>
93 3315 mdecorde
      </menuContribution>
94 3315 mdecorde
   </extension>
95 3315 mdecorde
   <extension
96 3315 mdecorde
         point="org.eclipse.ui.preferencePages">
97 3315 mdecorde
      <page
98 3315 mdecorde
            category="org.txm.treesearch.preferences.TreeSearchPreferencePage"
99 3315 mdecorde
            class="org.txm.conllu.rcp.preferences.CoNLLUSearchPreferencePage"
100 3315 mdecorde
            id="org.txm.conllu.rcp.preferences.CoNLLUSearchPreferencePage"
101 3315 mdecorde
            name="UD">
102 3315 mdecorde
      </page>
103 3315 mdecorde
   </extension>
104 3315 mdecorde
   <extension
105 3315 mdecorde
         point="org.txm.rcp.importsection">
106 3315 mdecorde
      <importsectionconfiguration
107 3315 mdecorde
            class="org.txm.conllu.rcp.importsection.CoNLLUAnnotationSectionConfigurator">
108 3315 mdecorde
      </importsectionconfiguration>
109 3315 mdecorde
   </extension>
110 3315 mdecorde
111 3315 mdecorde
</plugin>