File: fragment.xml

package info (click to toggle)
eclipse-platform-ui 4.30-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 93,944 kB
  • sloc: java: 830,957; xml: 25,107; makefile: 7
file content (177 lines) | stat: -rw-r--r-- 9,797 bytes parent folder | download | duplicates (5)
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="4.4"?>
<!--
  Copyright (C) 2014, Google Inc and others.

  This program and the accompanying materials
  are made available under the terms of the Eclipse Public License 2.0
  which accompanies this distribution, and is available at
  https://www.eclipse.org/legal/epl-2.0/

  SPDX-License-Identifier: EPL-2.0

  Contributors:
      Steve Foreman (Google) - initial API and implementation
      Marcus Eng (Google)
-->
<fragment>
  <extension point="org.eclipse.ui.commands">
    <command
        id="org.eclipse.ui.monitoring.manualtesting.commands.delay"
        name="Delay"
        defaultHandler="org.eclipse.ui.internal.monitoring.DelayHandler">
      <commandParameter
          id="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync"
          name="Synchronous"
          optional="false" />
      <commandParameter
          id="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration"
          name="Duration"
          optional="false" />
    </command>
  </extension>

  <extension point="org.eclipse.ui.menus">
    <menuContribution
        locationURI="menu:org.eclipse.ui.main.menu?after=additions">
      <menu label="Delays" id="org.eclipse.ui.monitoring.manualtesting.menus.delayMenu">
        <menu label="Sync" id="org.eclipse.ui.monitoring.manualtesting.menus.delayMenu.sync">
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay1"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 1ms">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="1" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay10"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 10ms">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="10" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay100"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 100ms">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="100" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay1000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 1s">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="1000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay5000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 5s">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="5000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay30000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 30s">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="30000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay60000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 1m">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="60000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay180000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 3m">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="180000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.syncDelay300000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 5m">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="true" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="300000" />
          </command>
        </menu>
        <menu label="Async" id="org.eclipse.ui.monitoring.manualtesting.menus.delayMenu.async">
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay1"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 1ms">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="1" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay10"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 10ms">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="10" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay100"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 100ms">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="100" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay1000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 1s">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="1000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay5000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 5s">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="5000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay30000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 30s">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="30000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay60000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 1m">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="60000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay180000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 3m">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="180000" />
          </command>
          <command
            id="org.eclipse.ui.monitoring.manualtesting.commands.asyncDelay3000000"
            commandId="org.eclipse.ui.monitoring.manualtesting.commands.delay"
            label="Delay 5m">
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.sync" value="false" />
            <parameter name="org.eclipse.ui.monitoring.manualtesting.commands.delay.duration" value="300000" />
          </command>
        </menu>
      </menu>
    </menuContribution>
  </extension>
  <extension
        point="org.eclipse.ui.monitoring.logger">
     <logger
           class="org.eclipse.ui.internal.monitoring.MockUiFreezeEventLogger">
     </logger>
  </extension>
</fragment>