Skip to main content
summaryrefslogtreecommitdiffstats
blob: 775afd516cd538b1b52c81906e3760f86774ae12 (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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    Copyright (c) 2004, 2016 BREDEX GmbH.
    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
 -->

<!-- CAUTION: don't format any entries, especially don't use line breaks!
	The value of the formated item may contain formating characters like tabs or
	newlines, making them unusable for class or data lookup!-->
<compSystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../ToolkitComponentConfiguration.xsd">
	<configVersion>
		<majorVersion>1</majorVersion>
		<minorVersion>36</minorVersion>
	</configVersion>
	<!-- new Component example using realizes. The string which is in the type 
		is the name visible in the ITE, this name is resolve via i18n <realizes> 
		Tag defines which actions it should inherit. They are defined in the projects 
		org.eclipse.jubula.toolkit.provider.base/concrete <testerClass> defines the 
		class which should be called <componentClass> defines the class of the component, 
		this is the full qualified class name of the component. -->
	<toolkitComponent type="javax.swing.JSpinner" visible="true">
		<realizes>guidancer.abstract.Widget</realizes>
		<testerClass>org.eclipse.jubula.ext.rc.swing.tester.JSpinnerTester</testerClass>
		<componentClass name="javax.swing.JSpinner" />
	<!-- <action> tag defines the action name, method and parameter -->
		<action name="CompSystem.ClickIncrement">
			<!-- <method> tag defines the methodname in the java class -->
			<method>rcClickIncrement</method>
			<!-- <param> tag defines the parameter, name is name of the Parameters -->
			<param name="CompSystem.Number">
				<!-- <type> java class primitive types (the object ) -->
				<type>java.lang.Integer</type>
			</param>
			<param name="CompSystem.MouseButton"
                   descriptionKey="CompSystem.MouseButton.descr" >
				<type>java.lang.Integer</type>
				<defaultValue>1</defaultValue>
				<valueSet>
					<element name="CompSystem.MouseButtonLeft" value="1"/>
					<element name="CompSystem.MouseButtonMiddle" value="2"/>
					<element name="CompSystem.MouseButtonRight" value="3"/>
				</valueSet>
			</param>
		</action>
		<action name="CompSystem.ClickDecrement">
			<!-- <method> tag defines the methodname in the java class -->
			<method>rcClickDecrement</method>
			<!-- <param> tag defines the parameter, name is name of the Parameters -->
			<param name="CompSystem.Number">
				<!-- <type> java class primitive types (the object ) -->
				<type>java.lang.Integer</type>
			</param>
			<param name="CompSystem.MouseButton"
                   descriptionKey="CompSystem.MouseButton.descr" >
				<type>java.lang.Integer</type>
				<defaultValue>1</defaultValue>
				<valueSet>
					<element name="CompSystem.MouseButtonLeft" value="1"/>
					<element name="CompSystem.MouseButtonMiddle" value="2"/>
					<element name="CompSystem.MouseButtonRight" value="3"/>
				</valueSet>
			</param>
		</action>
	</toolkitComponent>
</compSystem>

Back to the top