Statistiques
| Révision :

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

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

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

    
111
</plugin>