Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Struckmann2014-03-18 14:08:20 +0000
committerSebastian Struckmann2014-03-18 14:08:20 +0000
commit18693515a151ae4f160ddd24ba2d213ffbea93dd (patch)
treeaec4f63b22156f29bad8c06c6477bd5c939222ef /org.eclipse.jubula.rc.swing/src
parent5c45e42edcfd3be50cde44c13fba5ca2c1600cca (diff)
downloadorg.eclipse.jubula.core-18693515a151ae4f160ddd24ba2d213ffbea93dd.tar.gz
org.eclipse.jubula.core-18693515a151ae4f160ddd24ba2d213ffbea93dd.tar.xz
org.eclipse.jubula.core-18693515a151ae4f160ddd24ba2d213ffbea93dd.zip
Sprint task - Throw unsupported action error for showText for JavaFX
Diffstat (limited to 'org.eclipse.jubula.rc.swing/src')
-rw-r--r--org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JComponentAdapter.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JComponentAdapter.java b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JComponentAdapter.java
index 2310f537d..4cd1bb3bf 100644
--- a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JComponentAdapter.java
+++ b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JComponentAdapter.java
@@ -34,7 +34,6 @@ import org.eclipse.jubula.rc.swing.tester.util.EventListener;
import org.eclipse.jubula.rc.swing.tester.util.TesterUtil;
import org.eclipse.jubula.rc.swing.tester.util.TesterUtil.PopupShownCondition;
import org.eclipse.jubula.tools.constants.TimeoutConstants;
-import org.eclipse.jubula.tools.i18n.I18n;
import org.eclipse.jubula.tools.objects.event.EventFactory;
import org.eclipse.jubula.tools.objects.event.TestErrorEvent;
import org.eclipse.jubula.tools.utils.TimeUtil;
@@ -254,10 +253,7 @@ public class JComponentAdapter extends AbstractComponentAdapter
*/
public void showToolTip(final String text, final int textSize,
final int timePerWord, final int windowWidth) {
- throw new StepExecutionException(
- I18n.getString(TestErrorEvent.UNSUPPORTED_OPERATION_ERROR),
- EventFactory.createActionError(
- TestErrorEvent.UNSUPPORTED_OPERATION_ERROR));
+ StepExecutionException.throwUnsupportedAction();
}
/**

Back to the top