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.rcp.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.rcp.provider')
-rw-r--r--org.eclipse.jubula.toolkit.rcp.provider/src/org/eclipse/jubula/toolkit/rcp/provider/RCPToolkitProvider.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/org.eclipse.jubula.toolkit.rcp.provider/src/org/eclipse/jubula/toolkit/rcp/provider/RCPToolkitProvider.java b/org.eclipse.jubula.toolkit.rcp.provider/src/org/eclipse/jubula/toolkit/rcp/provider/RCPToolkitProvider.java
index ff788b029..51d7d5c78 100644
--- a/org.eclipse.jubula.toolkit.rcp.provider/src/org/eclipse/jubula/toolkit/rcp/provider/RCPToolkitProvider.java
+++ b/org.eclipse.jubula.toolkit.rcp.provider/src/org/eclipse/jubula/toolkit/rcp/provider/RCPToolkitProvider.java
@@ -27,11 +27,13 @@ public class RCPToolkitProvider extends SWTToolkitProvider {
/** {@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() {
- return ResourceBundle.getBundle(I18N_PROPERTIES);
+ public ResourceBundle[] getResourceBundles() {
+ return new ResourceBundle[] { ResourceBundle
+ .getBundle(I18N_PROPERTIES) };
}
}

Back to the top