Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (5,05 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="%command.name">
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="%command.name.0">
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="%command.name.1">
23
      </command>
24
      <command
25
            categoryId="TreeSearch4TXM.commands.category"
26
            defaultHandler="org.txm.conllu.rcp.commands.ExportCorpusAsFullCoNLLU"
27
            id="org.txm.conllu.rcp.commands.ExportCorpusAsFullCoNLLU"
28
            name="Export as a full CoNLL-U corpus...">
29
      </command>
30
   </extension>
31
   <extension
32
         point="org.eclipse.ui.menus">
33
      <menuContribution
34
            locationURI="menu:menu.file.import.corpus?before=menu.file.import.separator.software">
35
         <command
36
               commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
37
               icon="icons/functions/UD.png"
38
               label="%command.label"
39
               style="push">
40
            <parameter
41
                  name="org.txm.rcp.commands.importscript"
42
                  value="conllu/conlluLoader.groovy">
43
            </parameter>
44
         </command>
45
      </menuContribution>
46
      <menuContribution
47
            locationURI="menu:menu.file.export.corpus">
48
         <command
49
               commandId="org.txm.conllu.rcp.commands.ExportCorpusAsCoNLLU"
50
               icon="icons/functions/UD.png"
51
               style="push">
52
            <visibleWhen
53
                  checkEnabled="false">
54
               <reference
55
                     definitionId="OneMainCorpusSelected">
56
               </reference>
57
            </visibleWhen>
58
         </command>
59
         <command
60
               commandId="org.txm.conllu.rcp.commands.ExportCorpusAsFullCoNLLU"
61
               icon="icons/functions/UD.png"
62
               style="push">
63
            <visibleWhen
64
                  checkEnabled="false">
65
               <reference
66
                     definitionId="OneMainCorpusSelected">
67
               </reference>
68
            </visibleWhen>
69
         </command>
70
      </menuContribution>
71
      <menuContribution
72
            locationURI="menu:menu.file.import.annotations">
73
         <command
74
               commandId="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromDirectory"
75
               icon="icons/functions/UDplus.png"
76
               style="push">
77
            <visibleWhen
78
                  checkEnabled="false">
79
               <or>
80
                  <test
81
                        forcePluginActivation="true"
82
                        property="org.txm.rcp.testers.TreeSearchReady"
83
                        value="TreeSearchReady">
84
                  </test>
85
                  <reference
86
                        definitionId="OneMainCorpusSelected">
87
                  </reference>
88
               </or>
89
            </visibleWhen>
90
         </command>
91
         <command
92
               commandId="org.txm.conllu.rcp.commands.ImportCoNLLUAnnotationsFromFile"
93
               icon="icons/functions/UDplus.png"
94
               style="push">
95
            <visibleWhen
96
                  checkEnabled="false">
97
               <or>
98
                  <test
99
                        forcePluginActivation="true"
100
                        property="org.txm.rcp.testers.TreeSearchReady"
101
                        value="TreeSearchReady">
102
                  </test>
103
                  <reference
104
                        definitionId="OneMainCorpusSelected">
105
                  </reference>
106
               </or>
107
            </visibleWhen>
108
         </command>
109
      </menuContribution>
110
   </extension>
111
   <extension
112
         point="org.eclipse.ui.preferencePages">
113
      <page
114
            category="org.txm.treesearch.preferences.SyntacticAnnotationPreferencePage"
115
            class="org.txm.conllu.rcp.preferences.CoNLLUPreferencePage"
116
            id="org.txm.conllu.rcp.preferences.CoNLLUPreferencePage"
117
            name="%page.name">
118
      </page>
119
      <page
120
            category="org.txm.treesearch.preferences.TreeSearchPreferencePage"
121
            class="org.txm.conllu.rcp.preferences.UDTreePreferencePage"
122
            id="org.txm.conllu.rcp.preferences.UDTreePreferencePage"
123
            name="%page.name2">
124
      </page>
125
   </extension>
126
   <extension
127
         point="org.txm.rcp.importsection">
128
      <importsectionconfiguration
129
            class="org.txm.conllu.rcp.importsection.CoNLLUAnnotationSectionConfigurator">
130
      </importsectionconfiguration>
131
   </extension>
132

    
133
</plugin>