Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Struckmann2014-09-26 12:53:21 +0000
committerSebastian Struckmann2014-09-26 12:53:21 +0000
commit46f02668526f4cdc1dde89d8ab4b983fae360e29 (patch)
tree0472745c7eb1304840a6981618f7b9c74f287ffc /org.eclipse.jubula.rc.rcp.e3/src
parent0da224b21c8784de2a85ca07865cc5a2e46a73b8 (diff)
downloadorg.eclipse.jubula.core-46f02668526f4cdc1dde89d8ab4b983fae360e29.tar.gz
org.eclipse.jubula.core-46f02668526f4cdc1dde89d8ab4b983fae360e29.tar.xz
org.eclipse.jubula.core-46f02668526f4cdc1dde89d8ab4b983fae360e29.zip
Sprint task - Java API - Completed use of value set enums, deleted CompSystemConstants
Diffstat (limited to 'org.eclipse.jubula.rc.rcp.e3/src')
-rw-r--r--org.eclipse.jubula.rc.rcp.e3/src/org/eclipse/jubula/rc/rcp/e3/gef/tester/FigureCanvasTester.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jubula.rc.rcp.e3/src/org/eclipse/jubula/rc/rcp/e3/gef/tester/FigureCanvasTester.java b/org.eclipse.jubula.rc.rcp.e3/src/org/eclipse/jubula/rc/rcp/e3/gef/tester/FigureCanvasTester.java
index 090dfaafd..015f3cf37 100644
--- a/org.eclipse.jubula.rc.rcp.e3/src/org/eclipse/jubula/rc/rcp/e3/gef/tester/FigureCanvasTester.java
+++ b/org.eclipse.jubula.rc.rcp.e3/src/org/eclipse/jubula/rc/rcp/e3/gef/tester/FigureCanvasTester.java
@@ -30,7 +30,6 @@ import org.eclipse.gef.GraphicalViewer;
import org.eclipse.gef.RootEditPart;
import org.eclipse.gef.palette.PaletteEntry;
import org.eclipse.gef.ui.palette.PaletteViewer;
-import org.eclipse.jubula.rc.common.CompSystemConstants;
import org.eclipse.jubula.rc.common.driver.ClickOptions;
import org.eclipse.jubula.rc.common.driver.IRobot;
import org.eclipse.jubula.rc.common.driver.IRunnable;
@@ -46,6 +45,7 @@ import org.eclipse.jubula.rc.swt.driver.DragAndDropHelperSwt;
import org.eclipse.jubula.rc.swt.driver.RobotFactoryConfig;
import org.eclipse.jubula.rc.swt.tester.CAPUtil;
import org.eclipse.jubula.rc.swt.tester.adapter.ControlAdapter;
+import org.eclipse.jubula.toolkit.enums.ValueSets;
import org.eclipse.jubula.tools.internal.objects.event.EventFactory;
import org.eclipse.jubula.tools.internal.objects.event.TestErrorEvent;
import org.eclipse.swt.graphics.Rectangle;
@@ -387,9 +387,9 @@ public class FigureCanvasTester extends WidgetTester {
ClickOptions.create().setScrollToVisible(false)
.setClickCount(count).setMouseButton(button),
xPos, xUnits.equalsIgnoreCase(
- CompSystemConstants.POS_UNIT_PIXEL),
+ ValueSets.Unit.pixel.rcValue()),
yPos, yUnits.equalsIgnoreCase(
- CompSystemConstants.POS_UNIT_PIXEL));
+ ValueSets.Unit.pixel.rcValue()));
}
/**

Back to the top