make controller a required property of ArchiveUI

This commit is contained in:
2021-10-12 13:45:02 -06:00
parent b5ecc52fa6
commit f12000004f
4 changed files with 4 additions and 10 deletions

View File

@@ -4,14 +4,10 @@ import nat.*;
import nat.ArchiveController.ChangeSet;
class DummyUI implements ArchiveUI {
var controller:ArchiveController = null;
public var controller:ArchiveController = null;
public function new() {}
public function setController(controller:ArchiveController) {
this.controller = controller;
}
public function enterText(prompt:String, resolve:(String) -> Void, maxLength:Float) {
// TODO for proper testing, this will need to resolve with specific pre-coded strings
resolve("");