UiCommand: support confirmation message

For some commands, like "Delete-Project", a confirmation dialog must be shown.
Add a support for it in UiCommand. If confirmation message is null or empty
no confirmation dialog is shown. If user cancel confirmation dialog, no
action is triggered.

Change-Id: I2b1e4759b488a3b5079fdb54c6c862ab59397ddf
This commit is contained in:
David Ostrovsky
2013-06-02 01:28:15 +02:00
parent 32259c663c
commit 130c551800
4 changed files with 24 additions and 0 deletions

View File

@@ -21,4 +21,5 @@ public class UiCommandDetail {
public String label;
public String title;
public boolean enabled;
public String confirmationMessage;
}