Statistics
| Revision:

root / tmp / org.txm.ca.rcp / plugin.xml @ 207

History | View | Annotate | Download (4.1 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.txm.chartsengine.eventcallback">
6
      <EventCallBack
7
            class="org.txm.ca.rcp.chartsengine.events.CAPointSelectionCallBack"
8
            resultDataClass="org.txm.ca.core.functions.CA">
9
      </EventCallBack>
10
   </extension>
11
   <extension
12
         point="org.eclipse.ui.menus">
13
      <menuContribution
14
            allPopups="false"
15
            locationURI="toolbar:org.txm.rcpapplication.toolbartools">
16
         <command
17
               commandId="ComputeCA"
18
               icon="icons/ca.png"
19
               style="push">
20
            <visibleWhen
21
                  checkEnabled="false">
22
               <or>
23
                  <reference
24
                        definitionId="OnePartitionSelected">
25
                  </reference>
26
                  <reference
27
                        definitionId="OneLexicalTableSelected">
28
                  </reference>
29
                  <reference
30
                        definitionId="OneICAComputableSelected">
31
                  </reference>
32
               </or>
33
            </visibleWhen>
34
         </command>
35
      </menuContribution>
36
      <menuContribution
37
            allPopups="false"
38
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
39
         <command
40
               commandId="ComputeCA"
41
               icon="icons/ca.png"
42
               style="push">
43
            <visibleWhen
44
                  checkEnabled="false">
45
               <or>
46
                  <reference
47
                        definitionId="OnePartitionSelected">
48
                  </reference>
49
                  <reference
50
                        definitionId="OneLexicalTableSelected">
51
                  </reference>
52
                  <reference
53
                        definitionId="OneICAComputableSelected">
54
                  </reference>
55
               </or>
56
            </visibleWhen>
57
         </command>
58
      </menuContribution>
59
      <menuContribution
60
            locationURI="menu:menu.tools">
61
         <command
62
               commandId="ComputeCA"
63
               icon="icons/ca.png"
64
               style="push">
65
            <visibleWhen
66
                  checkEnabled="false">
67
               <or>
68
                  <reference
69
                        definitionId="OnePartitionSelected">
70
                  </reference>
71
                  <reference
72
                        definitionId="OneLexicalTableSelected">
73
                  </reference>
74
                  <reference
75
                        definitionId="OneICAComputableSelected">
76
                  </reference>
77
               </or>
78
            </visibleWhen>
79
         </command>
80
      </menuContribution>
81
   </extension>
82
   <extension
83
         point="org.eclipse.ui.commands">
84
      <command
85
            categoryId="org.txm.rcpapplication.category.txm"
86
            defaultHandler="org.txm.ca.rcp.handlers.ComputeCA"
87
            id="ComputeCA"
88
            name="%command.name">
89
      </command>
90
   </extension>
91
   <extension
92
         point="org.eclipse.ui.editors">
93
      <editor
94
            class="org.txm.ca.rcp.editors.CAEditor"
95
            default="false"
96
            icon="icons/ca.png"
97
            id="CAEditor"
98
            name="%editor.name">
99
      </editor>
100
      <editor
101
            class="org.txm.ca.rcp.editors.CAFactorialMapChartEditor"
102
            default="false"
103
            icon="icons/ca.png"
104
            id="org.txm.ca.core.functions.CA"
105
            name="CA Factorial Map editor">
106
      </editor>
107
   </extension>
108
   <extension
109
         point="org.eclipse.core.runtime.adapters">
110
      <factory
111
            adaptableType="org.txm.ca.core.functions.CA"
112
            class="org.txm.ca.rcp.adapters.CAAdapterFactory">
113
         <adapter
114
               type="org.eclipse.ui.model.IWorkbenchAdapter">
115
         </adapter>
116
      </factory>
117
   </extension>
118
   <extension
119
         point="org.eclipse.ui.preferencePages">
120
      <page
121
            category="org.txm.rcpapplication.preferences.UserPreferencePage"
122
            class="org.txm.ca.rcp.preferences.CAPreferencePage"
123
            id="org.txm.ca.rcp.preferences.CAPreferencePage"
124
            name="%page.name">
125
      </page>
126
   </extension>
127

    
128
</plugin>