~ubuntu-branches/ubuntu/hoary/monodevelop/hoary

« back to all changes in this revision

Viewing changes to src/Main/Base/Internal/Codons/DefaultDialogPanelDescriptor.cs

  • Committer: Bazaar Package Importer
  • Author(s): Brandon Hale
  • Date: 2004-10-07 11:51:11 UTC
  • Revision ID: james.westby@ubuntu.com-20041007115111-pxcqnwfxyq5mhcx5
Tags: 0.5.1-3
Use dh_netdeps in debian/rules and debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// <file>
 
2
//     <copyright see="prj:///doc/copyright.txt"/>
 
3
//     <license see="prj:///doc/license.txt"/>
 
4
//     <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
 
5
//     <version value="$version"/>
 
6
// </file>
 
7
 
 
8
using System;
 
9
using System.Collections;
 
10
using System.CodeDom.Compiler;
 
11
 
 
12
using MonoDevelop.Core.AddIns;
 
13
using MonoDevelop.Core.AddIns.Codons;
 
14
using MonoDevelop.Core.AddIns.Conditions;
 
15
using MonoDevelop.Core.Properties;
 
16
 
 
17
namespace MonoDevelop.Core.AddIns.Codons
 
18
{
 
19
        public class DefaultDialogPanelDescriptor : IDialogPanelDescriptor
 
20
        {
 
21
                string       id    = String.Empty;
 
22
                string       label = String.Empty;
 
23
                ArrayList    dialogPanelDescriptors = null;
 
24
                IDialogPanel dialogPanel = null;
 
25
                
 
26
                public string ID {
 
27
                        get {
 
28
                                return id;
 
29
                        }
 
30
                }
 
31
                
 
32
                public string Label {
 
33
                        get {
 
34
                                return label;
 
35
                        }
 
36
                        set {
 
37
                                label = value;
 
38
                        }
 
39
                }
 
40
                
 
41
                public ArrayList DialogPanelDescriptors {
 
42
                        get {
 
43
                                return dialogPanelDescriptors;
 
44
                        }
 
45
                        set {
 
46
                                dialogPanelDescriptors = value;
 
47
                        }
 
48
                }
 
49
                
 
50
                public IDialogPanel DialogPanel {
 
51
                        get {
 
52
                                return dialogPanel;
 
53
                        }
 
54
                        set {
 
55
                                dialogPanel = value;
 
56
                        }
 
57
                }
 
58
                
 
59
                public DefaultDialogPanelDescriptor(string id, string label)
 
60
                {
 
61
                        this.id    = id;
 
62
                        this.label = label;
 
63
                }
 
64
                
 
65
                public DefaultDialogPanelDescriptor(string id, string label, ArrayList dialogPanelDescriptors) : this(id, label)
 
66
                {
 
67
                        this.dialogPanelDescriptors = dialogPanelDescriptors;
 
68
                }
 
69
                
 
70
                public DefaultDialogPanelDescriptor(string id, string label, IDialogPanel dialogPanel) : this(id, label)
 
71
                {
 
72
                        this.dialogPanel = dialogPanel;
 
73
                }
 
74
        }
 
75
}