Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: aa073def51274436ac8bd784095fdf700f753fa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<!-- View contributions -->
   <extension point="org.eclipse.ui.views">
      <view
            allowMultiple="true"
            category="org.eclipse.tcf.te.ui.views.category"
            class="org.eclipse.tcf.te.tcf.ui.views.scriptpad.ScriptPad"
            icon="icons/eview16/scriptpad.gif"
            id="org.eclipse.tcf.te.tcf.ui.views.scriptpad"
            name="%ScriptPad.name"
            restorable="true">
      </view>
   </extension>
   
<!-- Perspective extension contributions -->
   <extension point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension targetID="org.eclipse.tcf.te.ui.perspective">
         <view
               closeable="true"
               id="org.eclipse.tcf.te.tcf.ui.views.scriptpad"
               minimized="false"
               moveable="true"
               ratio="0.4"
               relationship="bottom"
               relative="org.eclipse.tcf.te.ui.views.View"
               showTitle="true"
               standalone="false"
               visible="false">
         </view>
         <viewShortcut
               id="org.eclipse.tcf.te.tcf.ui.views.scriptpad">
         </viewShortcut>
      </perspectiveExtension>
   </extension>

<!-- Console contributions -->
   <extension point="org.eclipse.ui.console.consoleFactories">
      <consoleFactory
            class="org.eclipse.tcf.te.tcf.ui.views.scriptpad.console.Factory"
            icon="icons/eview16/scriptpad_console.gif"
            label="%ScriptConsole.label">
      </consoleFactory>
   </extension>

   <extension point="org.eclipse.ui.console.consolePageParticipants">
      <consolePageParticipant
            class="org.eclipse.tcf.te.tcf.ui.console.PageParticipant"
            id="org.eclipse.tcf.te.tcf.ui.console.PageParticipant">
         <enablement>
            <instanceof value="org.eclipse.tcf.te.tcf.ui.views.scriptpad.console.Console"/>
         </enablement>
      </consolePageParticipant>
   </extension>

   <extension point="org.eclipse.ui.console.consolePageParticipants">
      <consolePageParticipant
            class="org.eclipse.tcf.te.tcf.ui.console.PageParticipant"
            id="org.eclipse.tcf.te.tcf.ui.console.PageParticipant">
         <enablement>
            <instanceof value="org.eclipse.tcf.te.tcf.ui.views.monitor.console.Console"/>
         </enablement>
      </consolePageParticipant>
   </extension>

<!-- Script Pad menu contributions -->
   <extension point="org.eclipse.ui.viewActions">
      <viewContribution
            id="org.eclipse.tcf.te.tcf.ui.scriptpad.toolbar"
            targetID="org.eclipse.tcf.te.tcf.ui.views.scriptpad">
         <action
               class="org.eclipse.tcf.te.tcf.ui.views.scriptpad.actions.PeersSubMenuAction"
               icon="icons/obj16/peer.gif"
               id="org.eclipse.tcf.te.tcf.ui.scriptpad.toolbar.peers"
               label="%PeersSubMenuAction.label"
               style="pulldown"
               toolbarPath="peers"
               tooltip="%PeersSubMenuAction.tooltip">
         </action>

         <action
               class="org.eclipse.tcf.te.tcf.ui.views.scriptpad.actions.PlayAction"
               icon="icons/etool16/run_exc.gif"
               id="org.eclipse.tcf.te.tcf.ui.scriptpad.toolbar.play"
               label="%PlayAction.label"
               style="push"
               toolbarPath="play"
               tooltip="%PlayAction.tooltip">
         </action>

         <action
               class="org.eclipse.tcf.te.tcf.ui.views.scriptpad.actions.OpenAction"
               icon="platform:/plugin/org.eclipse.ui/icons/full/obj16/fldr_obj.gif"
               id="org.eclipse.tcf.te.tcf.ui.scriptpad.toolbar.open"
               label="%OpenAction.label"
               style="push"
               toolbarPath="open"
               tooltip="%OpenAction.tooltip">
         </action>
 
         <action
               class="org.eclipse.tcf.te.tcf.ui.views.scriptpad.actions.ClearAction"
               disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dtool16/clear.gif"
               icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/clear.gif"
               id="org.eclipse.tcf.te.tcf.ui.scriptpad.toolbar.clear"
               label="%ClearAction.label"
               style="push"
               toolbarPath="clear"
               tooltip="%ClearAction.tooltip">
         </action>
      </viewContribution>
   </extension>

   <extension point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.tcf.te.tcf.ui.views.scriptpad">
         <separator name="group.edit" visible="true"/>
         <command
               commandId="org.eclipse.ui.edit.cut"
               disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dtool16/cut_edit.gif"
               icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/cut_edit.gif"
               label="%command.cut.label"
               mnemonic="t"
               style="push"
               tooltip="%command.cut.tooltip">
         </command>
         <command
               commandId="org.eclipse.ui.edit.copy"
               disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dtool16/copy_edit.gif"
               icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/copy_edit.gif"
               label="%command.copy.label"
               mnemonic="C"
               style="push"
               tooltip="%command.copy.tooltip">
         </command>
         <command
               commandId="org.eclipse.ui.edit.paste"
               disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dtool16/paste_edit.gif"
               icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/paste_edit.gif"
               label="%command.paste.label"
               mnemonic="P"
               style="push"
               tooltip="%command.paste.tooltip">
         </command>
         <separator name="group.select" visible="true"/>
         <command
               commandId="org.eclipse.ui.edit.delete"
               disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dtool16/delete.gif"
               icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/delete.gif"
               label="%command.delete.label"
               mnemonic="D"
               style="push"
               tooltip="%command.delete.tooltip">
         </command>
         <command
               commandId="org.eclipse.ui.edit.selectAll"
               label="%command.selectall.label"
               mnemonic="A"
               style="push"
               tooltip="%command.selectall.tooltip">
         </command>
      </menuContribution>

      <menuContribution locationURI="toolbar:org.eclipse.tcf.te.tcf.ui.views.scriptpad?after=save">
         <command
               commandId="org.eclipse.ui.file.save"
               disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dtool16/save_edit.gif"
               icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/save_edit.gif"
               label="%command.save.label"
               mnemonic="S"
               style="push"
               tooltip="%command.save.tooltip">
         </command>
         <command
               commandId="org.eclipse.ui.file.saveAs"
               disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dtool16/saveas_edit.gif"
               icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/saveas_edit.gif"
               label="%command.saveas.label"
               mnemonic="a"
               style="push"
               tooltip="%command.saveas.tooltip">
         </command>
      </menuContribution>
   </extension>
   
<!-- Script Pad event listener contributions -->
   <extension point="org.eclipse.tcf.te.runtime.eventListeners">
      <eventListener
            class="org.eclipse.tcf.te.tcf.ui.views.scriptpad.events.EventListener"
            forcePluginActivation="true">
            <eventType
                  class="org.eclipse.tcf.te.tcf.core.scripting.events.ScriptEvent">
            </eventType>
      </eventListener>
   </extension>

<!-- Monitor console event listener contributions -->
   <extension point="org.eclipse.tcf.te.runtime.eventListeners">
      <eventListener
            class="org.eclipse.tcf.te.tcf.ui.views.monitor.events.EventListener"
            forcePluginActivation="true">
            <eventType
                  class="org.eclipse.tcf.te.tcf.log.core.events.MonitorEvent">
            </eventType>
      </eventListener>
   </extension>

</plugin>

Back to the top