protected void executeCallback() { hidePrompt(); if (callback != null) { callback.Invoke(); } callback = null; }
public void showContinuePrompt(String text, ContinuePromptCallback callback) { if (ContinuePrompt != null) { ContinuePrompt.showPrompt(text, callback); } else { throw new Exception("No Continue Prompt defined."); } }
public void showPrompt(String text, ContinuePromptCallback callback) { this.callback = callback; doShowPrompt(text); }