blob: 24ff9c71bce0d54c927385846645921820de1b2a (
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
|
/*******************************************************************************
* Copyright (c) 2012 Red Hat Inc..
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Mickael Istria (Red Hat) - initial API and implementation
*******************************************************************************/
package org.eclipse.swtbot.generator.framework.rules;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.swtbot.generator.framework.GenerationRule;
import org.eclipse.swtbot.generator.framework.Generator;
public class SWTBotGeneratorRules implements Generator {
public List<GenerationRule> createRules() {
List<GenerationRule> res = new ArrayList<GenerationRule>();
res.add(new PushButtonClickedRule());
res.add(new CheckboxClickedRule());
res.add(new RadioButtonClickedRule());
res.add(new ComboSelectionRule());
res.add(new CComboSelectionRule());
res.add(new ExpandTreeItemRule());
res.add(new DoubleClickTreeItemRule());
res.add(new MenuClickedRule());
res.add(new SelectTreeItemRule());
res.add(new ModifyTextRule());
res.add(new SingleListSelectionRule());
return res;
}
public String getLabel() {
return "SWTBot";
}
}
|