Statistics
| Revision:

root / tmp / org.txm.treetagger.rcp / plugin.xml @ 793

History | View | Annotate | Download (3.4 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4

    
5
   <extension
6
         point="org.eclipse.ui.commands">
7
      <command
8
            categoryId="org.txm.rcp.category.txm"
9
            defaultHandler="org.txm.treetagger.rcp.handlers.Train"
10
            id="org.txm.treetagger.commands.Train"
11
            name="Train">
12
      </command>
13
      <command
14
            categoryId="org.txm.rcp.category.txm"
15
            defaultHandler="org.txm.treetagger.rcp.handlers.Apply"
16
            id="org.txm.treetagger.commands.Apply"
17
            name="Apply">
18
      </command>
19
      <command
20
            categoryId="org.txm.rcp.category.txm"
21
            defaultHandler="org.txm.treetagger.rcp.handlers.LemmaProjection"
22
            id="org.txm.treetagger.commands.PropertyProjection"
23
            name="LemmaProjection">
24
      </command>
25
      <command
26
            categoryId="org.txm.rcp.category.txm"
27
            defaultHandler="org.txm.treetagger.rcp.handlers.RemoveProperties"
28
            description="Remove properties from corpus XML-TXM files"
29
            id="org.txm.treetagger.commands.RemoveProperties"
30
            name="RemoveProperties">
31
      </command>
32
   </extension>
33
   <extension
34
         point="org.eclipse.ui.menus">
35
      <menuContribution
36
            locationURI="menu:org.eclipse.ui.main.menu?after=menu.tools">
37
         <menu
38
               label="TreeTagger"
39
               mnemonic="T"
40
               id="TreeTagger.menus">
41
            <command
42
                  commandId="org.txm.treetagger.commands.Train"
43
                  label="Train"
44
                  mnemonic="S">
45
               <visibleWhen
46
                     checkEnabled="false">
47
                  <reference
48
                        definitionId="OneMainCorpusSelected">
49
                  </reference>
50
               </visibleWhen>
51
            </command>
52
            <command
53
                  commandId="org.txm.treetagger.commands.Apply"
54
                  label="Apply"
55
                  mnemonic="A">
56
               <visibleWhen
57
                     checkEnabled="false">
58
                  <reference
59
                        definitionId="OneMainCorpusSelected">
60
                  </reference>
61
               </visibleWhen>
62
            </command>
63
            <command
64
                  commandId="org.txm.treetagger.commands.PropertyProjection"
65
                  label="Lemma projection"
66
                  mnemonic="L">
67
               <visibleWhen
68
                     checkEnabled="false">
69
                  <reference
70
                        definitionId="OneMainCorpusSelected">
71
                  </reference>
72
               </visibleWhen>
73
            </command>
74
            <command
75
                  commandId="org.txm.treetagger.commands.RemoveProperties"
76
                  label="Remove Properties"
77
                  mnemonic="R">
78
               <visibleWhen
79
                     checkEnabled="false">
80
                  <reference
81
                        definitionId="OneMainCorpusSelected">
82
                  </reference>
83
               </visibleWhen>
84
            </command>
85
         </menu>
86
      </menuContribution>
87
   </extension>
88
   <extension
89
         point="org.eclipse.ui.preferencePages">
90
      <page
91
            category="org.txm.rcp.preferences.NLPPreferencePage"
92
            class="org.txm.treetagger.rcp.preferences.TreeTaggerPreferencePage"
93
            id="org.txm.treetagger.rcp.preferences.TreeTaggerPreferencePage"
94
            name="%page.name.7">
95
      </page>
96
   </extension>
97

    
98
</plugin>