Commit 2eb7279c authored by mey's avatar mey
Browse files

ConfigurableStorage.java: implemented properties proxy's toString method

    returning simple class name
    to make it appear in window title's within GUI when inspected
parent fb39375c
......@@ -230,5 +230,11 @@ public class ConfigurableStorage<Q extends Quantity> extends BaseStorage<Q> impl
public double getFactorOut() {
return ConfigurableStorage.this.getFactorOut();
}
@Override
public String toString() {
// will appear in window title when viewing in MASON GUI
return ConfigurableStorage.this.getClass().getSimpleName();
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment