cancellable search, strongly typed configuraion fields (later they will be listed on the advanced settings page)

This commit is contained in:
Honfika
2013-11-07 21:18:18 +01:00
parent 17173aef00
commit b3dc9a4d13
213 changed files with 734 additions and 469 deletions

View File

@@ -84,7 +84,7 @@ public abstract class GraphTargetItem implements Serializable {
return ret;
}
public GraphTextWriter toStringSemicoloned(GraphTextWriter writer, LocalData localData) {
public GraphTextWriter toStringSemicoloned(GraphTextWriter writer, LocalData localData) throws InterruptedException {
writer.startOffset(src, pos);
appendTo(writer, localData);
if (needsSemicolon()) {
@@ -103,16 +103,16 @@ public abstract class GraphTargetItem implements Serializable {
return this.getClass().getName();
}
public GraphTextWriter toString(GraphTextWriter writer, LocalData localData) {
public GraphTextWriter toString(GraphTextWriter writer, LocalData localData) throws InterruptedException {
writer.startOffset(src, pos);
appendTo(writer, localData);
writer.endOffset();
return writer;
}
protected abstract GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData);
protected abstract GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) throws InterruptedException;
public String toString(LocalData localData) {
public String toString(LocalData localData) throws InterruptedException {
HilightedTextWriter writer = new HilightedTextWriter(false);
toString(writer, localData);
return writer.toString();
@@ -149,14 +149,14 @@ public abstract class GraphTargetItem implements Serializable {
return toString();
}
public GraphTextWriter toStringNoQuotes(GraphTextWriter writer, LocalData localData) {
public GraphTextWriter toStringNoQuotes(GraphTextWriter writer, LocalData localData) throws InterruptedException {
writer.startOffset(src, pos);
appendToNoQuotes(writer, localData);
writer.endOffset();
return writer;
}
protected GraphTextWriter appendToNoQuotes(GraphTextWriter writer, LocalData localData) {
protected GraphTextWriter appendToNoQuotes(GraphTextWriter writer, LocalData localData) throws InterruptedException {
return toString(writer, localData);
}
@@ -172,7 +172,7 @@ public abstract class GraphTargetItem implements Serializable {
return false;
}
public GraphTextWriter toStringNL(GraphTextWriter writer, LocalData localData) {
public GraphTextWriter toStringNL(GraphTextWriter writer, LocalData localData) throws InterruptedException {
writer.startOffset(src, pos);
appendTo(writer, localData);
if (needsNewLine()) {