Add KeyShortcutHandler to every NAT UI, KeyShortcutSystem

This commit is contained in:
2022-07-01 23:36:28 +00:00
parent c21c323292
commit 215bc12692
14 changed files with 102 additions and 23 deletions

View File

@@ -1,6 +1,8 @@
package nat;
import nat.Entry;
import nat.ArchiveController;
import kiss_tools.KeyShortcutHandler;
interface ArchiveUI {
/**
@@ -8,6 +10,11 @@ interface ArchiveUI {
*/
var controller(default, default):ArchiveController;
/**
* A KeyShortcutHandler that will integrate with the KeyShortcutSystem if provided
*/
var shortcutHandler(default, null):Null<KeyShortcutHandler<Entry>>;
/**
* Prompt the user to enter text
*/