add switch to turn strong text matching on and off

This commit is contained in:
Alex Kogon
2015-09-11 14:41:36 +02:00
parent acc70c67c6
commit b97109c3ec
3 changed files with 30 additions and 6 deletions

View File

@@ -20,6 +20,9 @@ public class Config extends PropertiesSerializer {
public String xpathList = "";
public String xpathHightlight = ".*process=\"([^\"]*)\".*";
private boolean useStrongTextMatching = false;
public Config() //needed for cloning
{
}
@@ -74,4 +77,12 @@ public class Config extends PropertiesSerializer {
keyStr = this.targetKey;
return RobotMacro.getKeyCode(keyStr.charAt(0))[0];
}
public boolean isUseStrongTextMatching() {
return useStrongTextMatching;
}
public void setUseStrongTextMatching(boolean useStrongTextMatching) {
this.useStrongTextMatching = useStrongTextMatching;
}
}