diff options
author | Michael Hutchinson <mhutchinson@novell.com> | 2010-11-02 00:58:51 +0300 |
---|---|---|
committer | Michael Hutchinson <mhutchinson@novell.com> | 2010-11-02 00:58:51 +0300 |
commit | c9767b6f64bd45b7a2390b29423cd63a2933b749 (patch) | |
tree | 3cd66558222c63079a0cf910cb77673a7f4c6c35 /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions | |
parent | 13ce18d9566137534e4257611cb9cb8d7792fc6e (diff) |
[Core] Expose data to platform alert dialog handler
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions/AlertDialog.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions/AlertDialog.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions/AlertDialog.cs index c4ebd82705..47665d24ac 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions/AlertDialog.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions/AlertDialog.cs @@ -27,6 +27,7 @@ using System; using MonoDevelop.Ide; using MonoDevelop.Ide.Gui.Dialogs; +using System.Collections.Generic; namespace MonoDevelop.Components.Extensions { @@ -36,9 +37,12 @@ namespace MonoDevelop.Components.Extensions public class AlertDialogData : PlatformDialogData { - public MessageDescription Message { get; set; } + public MessageDescription Message { get; internal set; } public bool ApplyToAll { get; set; } public AlertButton ResultButton { get; set; } + + public IList<AlertButton> Buttons { get { return Message.Buttons; } } + public IList<AlertOption> Options { get { return Message.Options; } } } public class AlertDialog : PlatformDialog<AlertDialogData> |