added action handlers for config dialog
This commit is contained in:
@@ -40,6 +40,12 @@ public class Config extends PropertiesSerializer {
|
||||
return disableUiaBridge.equals("true") || disableUiaBridge.equals("True");
|
||||
}
|
||||
|
||||
|
||||
public void setDisableUiaBridge(boolean aNewValue) {
|
||||
disableUiaBridge=aNewValue?"true":"false";
|
||||
}
|
||||
|
||||
|
||||
public boolean isFilterUiaDisabled()
|
||||
{
|
||||
if (disableFiltersUia == null)
|
||||
@@ -47,6 +53,11 @@ public class Config extends PropertiesSerializer {
|
||||
return disableFiltersUia.equals("true") || disableFiltersUia.equals("True");
|
||||
}
|
||||
|
||||
public void setDisableFiltersUia(boolean aNewValue) {
|
||||
disableFiltersUia=aNewValue?"true":"false";
|
||||
}
|
||||
|
||||
|
||||
public boolean isAlwaysOnTop()
|
||||
{
|
||||
if (alwaysOnTop == null)
|
||||
@@ -54,6 +65,11 @@ public class Config extends PropertiesSerializer {
|
||||
return alwaysOnTop.equals("true") || alwaysOnTop.equals("True");
|
||||
}
|
||||
|
||||
public void setAlwaysOnTop(boolean aNewValue)
|
||||
{
|
||||
alwaysOnTop=aNewValue?"true":"false";
|
||||
}
|
||||
|
||||
public int getRefreshKeyCode()
|
||||
{
|
||||
String keyStr = "";
|
||||
@@ -65,6 +81,10 @@ public class Config extends PropertiesSerializer {
|
||||
keyStr = this.refreshKey;
|
||||
return RobotMacro.getKeyCode(keyStr.charAt(0))[0];
|
||||
}
|
||||
|
||||
public void setRefreshKeyCode(String aText) {
|
||||
this.refreshKey=aText;
|
||||
}
|
||||
|
||||
public int getTargetKeyCode()
|
||||
{
|
||||
@@ -78,6 +98,10 @@ public class Config extends PropertiesSerializer {
|
||||
return RobotMacro.getKeyCode(keyStr.charAt(0))[0];
|
||||
}
|
||||
|
||||
public void setTargetKeyCode(String aText) {
|
||||
this.targetKey=aText;
|
||||
}
|
||||
|
||||
public boolean isUseStrongTextMatching() {
|
||||
return useStrongTextMatching;
|
||||
}
|
||||
@@ -90,7 +114,15 @@ public class Config extends PropertiesSerializer {
|
||||
return xpathList;
|
||||
}
|
||||
|
||||
public void setXPathList(String aText) {
|
||||
xpathList=aText;
|
||||
}
|
||||
|
||||
public String getXpathHighlight() {
|
||||
return xpathHightlight;
|
||||
}
|
||||
|
||||
public void setXPathHighlight(String aText) {
|
||||
xpathHightlight=aText;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user