}
@Override
public void initProperties() {
fProperties = new LogicProperty[] {
new StringLogicProperty("mode") {
@Override
public String description() {
return "The mode of the cause";
}
@Override
public String value() {
return MODES[fMode];
}
@Override
public String[] choices() {
return MODES;
}
@Override
public void choice(int i) {
fMode = i;
}
},
new StringLogicProperty("group") {
@Override
public String description() {
return "The group of the cause";
}
@Override
public String value() {
return fGroup;
}
@Override
public String[] choices() {
return null;
}
@Override
public void value(String s) {
fGroup = s;
}
},
new StringLogicProperty("siblings") {
@Override
public String description() {
return "The siblings of the cause";
}
@Override
public String value() {
return siblingString();
}
@Override
public String[] choices() {
return null;
}
@Override
public void value(String s) {
fSiblings = s.split(" ");
}
},
new StringLogicProperty("item") {
@Override
public String description() {
return "The requisite item for the cause";
}