Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-12-18 15:21:28 +0000
committerMarkus Tiede2014-12-18 15:21:35 +0000
commitc1bfe2260d03bbbdf6b508f851d84f5dfd96bfae (patch)
treed233d560839b4eeb628840f75d3da25636985d99 /org.eclipse.jubula.toolkit.ios.provider
parent3f0b0b82ce6c366623df72babc1e061bd434baf6 (diff)
downloadorg.eclipse.jubula.core-c1bfe2260d03bbbdf6b508f851d84f5dfd96bfae.tar.gz
org.eclipse.jubula.core-c1bfe2260d03bbbdf6b508f851d84f5dfd96bfae.tar.xz
org.eclipse.jubula.core-c1bfe2260d03bbbdf6b508f851d84f5dfd96bfae.zip
Sprint task - add JavaDoc for API for parameters; minor renaming / unified class names; minor cleanup.
Diffstat (limited to 'org.eclipse.jubula.toolkit.ios.provider')
-rw-r--r--org.eclipse.jubula.toolkit.ios.provider/resources/xml/ComponentConfiguration.xml69
-rw-r--r--org.eclipse.jubula.toolkit.ios.provider/src/org/eclipse/jubula/toolkit/ios/provider/ToolkitProvider.java15
2 files changed, 54 insertions, 30 deletions
diff --git a/org.eclipse.jubula.toolkit.ios.provider/resources/xml/ComponentConfiguration.xml b/org.eclipse.jubula.toolkit.ios.provider/resources/xml/ComponentConfiguration.xml
index a9aa58d54..a5912d76b 100644
--- a/org.eclipse.jubula.toolkit.ios.provider/resources/xml/ComponentConfiguration.xml
+++ b/org.eclipse.jubula.toolkit.ios.provider/resources/xml/ComponentConfiguration.xml
@@ -22,7 +22,8 @@
<realizes>guidancer.concrete.Button</realizes>
<action name="CompSystem.Swipe" changed="1.00">
<method>rcSwipe</method>
- <param name="CompSystem.Direction">
+ <param name="CompSystem.Direction"
+ descriptionKey="CompSystem.Direction.descr" >
<type>java.lang.String</type>
<defaultValue>right</defaultValue>
<valueSet>
@@ -50,7 +51,8 @@
<realizes>guidancer.concrete.TextComponent</realizes>
<action name="CompSystem.Swipe" changed="1.00">
<method>rcSwipe</method>
- <param name="CompSystem.Direction">
+ <param name="CompSystem.Direction"
+ descriptionKey="CompSystem.Direction.descr" >
<type>java.lang.String</type>
<defaultValue>right</defaultValue>
<valueSet>
@@ -78,7 +80,8 @@
<realizes>guidancer.concrete.Label</realizes>
<action name="CompSystem.Swipe" changed="1.00">
<method>rcSwipe</method>
- <param name="CompSystem.Direction">
+ <param name="CompSystem.Direction"
+ descriptionKey="CompSystem.Direction.descr" >
<type>java.lang.String</type>
<defaultValue>right</defaultValue>
<valueSet>
@@ -126,7 +129,8 @@
<realizes>guidancer.concrete.List</realizes>
<action name="CompSystem.Swipe" changed="1.00">
<method>rcSwipe</method>
- <param name="CompSystem.Direction">
+ <param name="CompSystem.Direction"
+ descriptionKey="CompSystem.Direction.descr" >
<type>java.lang.String</type>
<defaultValue>right</defaultValue>
<valueSet>
@@ -149,7 +153,8 @@
<realizes>guidancer.concrete.TabbedPane</realizes>
<action name="CompSystem.Swipe" changed="1.00">
<method>rcSwipe</method>
- <param name="CompSystem.Direction">
+ <param name="CompSystem.Direction"
+ descriptionKey="CompSystem.Direction.descr" >
<type>java.lang.String</type>
<defaultValue>right</defaultValue>
<valueSet>
@@ -173,13 +178,16 @@
<componentClass name="ios.UITabBar" />
<action name="CompSystem.CheckBadgeValue" changed="1.0">
<method>rcCheckBadgeValue</method>
- <param name="CompSystem.Text">
+ <param name="CompSystem.Text"
+ descriptionKey="CompSystem.Text.descr" >
<type>java.lang.String</type>
</param>
- <param name="CompSystem.TabIndex">
+ <param name="CompSystem.TabIndex"
+ descriptionKey="CompSystem.TabIndex.descr" >
<type>java.lang.Integer</type>
</param>
- <param name="CompSystem.Operator">
+ <param name="CompSystem.Operator"
+ descriptionKey="CompSystem.Operator.descr" >
<type>java.lang.String</type>
<defaultValue>equals</defaultValue>
<valueSet>
@@ -198,7 +206,8 @@
<action name="CompSystem.Swipe" changed="1.00">
<method>rcSwipe</method>
- <param name="CompSystem.Direction">
+ <param name="CompSystem.Direction"
+ descriptionKey="CompSystem.Direction.descr" >
<type>java.lang.String</type>
<defaultValue>right</defaultValue>
<valueSet>
@@ -212,10 +221,12 @@
<action name="CompSystem.VerifyContainsValueInColumn" changed="2.2">
<method>rcVerifyContainsValue</method>
- <param name="CompSystem.Text">
+ <param name="CompSystem.Text"
+ descriptionKey="CompSystem.Text.descr" >
<type>java.lang.String</type>
</param>
- <param name="CompSystem.Operator">
+ <param name="CompSystem.Operator"
+ descriptionKey="CompSystem.Operator.descr" >
<type>java.lang.String</type>
<defaultValue>equals</defaultValue>
<valueSet>
@@ -225,7 +236,8 @@
<element name="CompSystem.SimpleMatch" value="simple match"/>
</valueSet>
</param>
- <param name="CompSystem.Exists">
+ <param name="CompSystem.Exists"
+ descriptionKey="CompSystem.Exists.descr" >
<type>java.lang.Boolean</type>
<defaultValue>true</defaultValue>
<valueSet>
@@ -233,7 +245,8 @@
<element name="CompSystem.False" value="false"/>
</valueSet>
</param>
- <param name="CompSystem.Column">
+ <param name="CompSystem.Column"
+ descriptionKey="CompSystem.Column.descr" >
<type>java.lang.Integer</type>
<defaultValue>1</defaultValue>
</param>
@@ -241,10 +254,12 @@
<action name="CompSystem.VerifySelectedIndexInColumn" changed="2.2">
<method>rcVerifySelectedIndex</method>
- <param name="CompSystem.OneIndex">
+ <param name="CompSystem.OneIndex"
+ descriptionKey="CompSystem.OneIndex.descr" >
<type>java.lang.String</type>
</param>
- <param name="CompSystem.IsSelected">
+ <param name="CompSystem.IsSelected"
+ descriptionKey="CompSystem.IsSelected.descr" >
<type>java.lang.Boolean</type>
<defaultValue>true</defaultValue>
<valueSet>
@@ -252,27 +267,32 @@
<element name="CompSystem.False" value="false"/>
</valueSet>
</param>
- <param name="CompSystem.Column">
+ <param name="CompSystem.Column"
+ descriptionKey="CompSystem.Column.descr" >
<type>java.lang.Integer</type>
<defaultValue>1</defaultValue>
</param>
</action>
<action name="CompSystem.SelectIndexInColumn" changed="1.3">
<method>rcSelectIndex</method>
- <param name="CompSystem.OneIndex">
+ <param name="CompSystem.OneIndex"
+ descriptionKey="CompSystem.OneIndex.descr" >
<type>java.lang.String</type>
</param>
- <param name="CompSystem.Column">
+ <param name="CompSystem.Column"
+ descriptionKey="CompSystem.Column.descr" >
<type>java.lang.Integer</type>
<defaultValue>1</defaultValue>
</param>
</action>
<action name="CompSystem.SelectValueInColumn" changed="1.20">
<method>rcSelectValue</method>
- <param name="CompSystem.Text">
+ <param name="CompSystem.Text"
+ descriptionKey="CompSystem.Text.descr" >
<type>java.lang.String</type>
</param>
- <param name="CompSystem.Operator">
+ <param name="CompSystem.Operator"
+ descriptionKey="CompSystem.Operator.descr" >
<type>java.lang.String</type>
<defaultValue>equals</defaultValue>
<valueSet>
@@ -282,7 +302,8 @@
<element name="CompSystem.SimpleMatch" value="simple match"/>
</valueSet>
</param>
- <param name="CompSystem.SearchType">
+ <param name="CompSystem.SearchType"
+ descriptionKey="CompSystem.SearchType.descr" >
<type>java.lang.String</type>
<defaultValue>absolute</defaultValue>
<valueSet>
@@ -290,7 +311,8 @@
<element name="CompSystem.Relative" value="relative"/>
</valueSet>
</param>
- <param name="CompSystem.Column">
+ <param name="CompSystem.Column"
+ descriptionKey="CompSystem.Column.descr" >
<type>java.lang.Integer</type>
<defaultValue>1</defaultValue>
</param>
@@ -309,7 +331,8 @@
<componentClass name="ios.UIApplication" />
<action name="CompSystem.TapViewWithAccessibilityLabel" changed="1.0">
<method>rcTapViewWithAccessibilityLabel</method>
- <param name="CompSystem.Label">
+ <param name="CompSystem.Label"
+ descriptionKey="CompSystem.Label.descr" >
<type>java.lang.String</type>
</param>
</action>
diff --git a/org.eclipse.jubula.toolkit.ios.provider/src/org/eclipse/jubula/toolkit/ios/provider/ToolkitProvider.java b/org.eclipse.jubula.toolkit.ios.provider/src/org/eclipse/jubula/toolkit/ios/provider/ToolkitProvider.java
index 7c66f01e8..58145d4da 100644
--- a/org.eclipse.jubula.toolkit.ios.provider/src/org/eclipse/jubula/toolkit/ios/provider/ToolkitProvider.java
+++ b/org.eclipse.jubula.toolkit.ios.provider/src/org/eclipse/jubula/toolkit/ios/provider/ToolkitProvider.java
@@ -14,7 +14,7 @@ import java.net.URL;
import java.util.Map;
import java.util.ResourceBundle;
-import org.eclipse.jubula.toolkit.common.IToolKitProvider;
+import org.eclipse.jubula.toolkit.common.IToolkitProvider;
import org.eclipse.jubula.toolkit.common.exception.ToolkitPluginException;
import org.eclipse.jubula.toolkit.common.utils.ToolkitUtils;
import org.eclipse.jubula.toolkit.ios.provider.ui.IOSAutConfigComponent;
@@ -24,7 +24,7 @@ import org.eclipse.swt.widgets.Composite;
/**
* @author BREDEX GmbH
*/
-public class ToolkitProvider implements IToolKitProvider {
+public class ToolkitProvider implements IToolkitProvider {
/** <code>I18N_PROPERTIES</code> */
private static final String I18N_PROPERTIES =
"org.eclipse.jubula.toolkit.ios.provider.I18nStrings"; //$NON-NLS-1$
@@ -39,13 +39,14 @@ public class ToolkitProvider implements IToolKitProvider {
autConfig, autName);
}
- /**{@inheritDoc} */
+ /** {@inheritDoc} */
public URL getComponentConfigurationFileURL() {
- return ToolkitUtils.getURL(Activator.getDefault(), COMP_CONFIG_PATH);
+ return ToolkitUtils.getURL(Activator.getDefault().getBundle(),
+ COMP_CONFIG_PATH);
}
-
- /**{@inheritDoc} */
- public ResourceBundle getI18nResourceBundle() {
+
+ /** {@inheritDoc} */
+ public ResourceBundle getResourceBundle() {
return ResourceBundle.getBundle(I18N_PROPERTIES);
}
}

Back to the top