protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.AddinAuthoring.SelectNodeSetDialog this.Name = "MonoDevelop.AddinAuthoring.SelectNodeSetDialog"; this.Title = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Select Node Set"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MonoDevelop.AddinAuthoring.SelectNodeSetDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 12; this.vbox3.BorderWidth = ((uint)(9)); // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0f; this.label1.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Node Set:"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.combo = global::Gtk.ComboBoxEntry.NewText(); this.combo.Name = "combo"; this.hbox1.Add(this.combo); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.combo])); w3.Position = 1; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.nodeseteditor = new global::MonoDevelop.AddinAuthoring.NodeSetEditorWidget(); this.nodeseteditor.Events = ((global::Gdk.EventMask)(256)); this.nodeseteditor.Name = "nodeseteditor"; this.nodeseteditor.AllowEditing = false; this.vbox3.Add(this.nodeseteditor); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.nodeseteditor])); w5.Position = 1; w1.Add(this.vbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.vbox3])); w6.Position = 0; // Internal child MonoDevelop.AddinAuthoring.SelectNodeSetDialog.ActionArea global::Gtk.HButtonBox w7 = this.ActionArea; w7.Name = "dialog1_ActionArea"; w7.Spacing = 6; w7.BorderWidth = ((uint)(5)); w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonCancel])); w8.Expand = false; w8.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk])); w9.Position = 1; w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 498; this.DefaultHeight = 346; this.Show(); this.combo.Changed += new global::System.EventHandler(this.OnComboChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.AddinAuthoring.NewExtensionPointDialog this.Name = "MonoDevelop.AddinAuthoring.NewExtensionPointDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MonoDevelop.AddinAuthoring.NewExtensionPointDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 15; this.vbox2.BorderWidth = ((uint)(15)); // Container child vbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entryDesc = new global::Gtk.Entry (); this.entryDesc.CanFocus = true; this.entryDesc.Name = "entryDesc"; this.entryDesc.IsEditable = true; this.entryDesc.InvisibleChar = '●'; this.table2.Add (this.entryDesc); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryDesc])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry (); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.table2.Add (this.entryName); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryName])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryPath = new global::Gtk.Entry (); this.entryPath.CanFocus = true; this.entryPath.Name = "entryPath"; this.entryPath.IsEditable = true; this.entryPath.InvisibleChar = '●'; this.table2.Add (this.entryPath); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryPath])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Description:"); this.table2.Add (this.label6); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Extension path:"); this.table2.Add (this.label7); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Name:"); this.table2.Add (this.label8); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Select the kind of extension point to create:"); this.vbox3.Add (this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 24; // Container child hbox2.Gtk.Box+BoxChild this.radioTypeExtension = new global::Gtk.RadioButton (global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Type extension point")); this.radioTypeExtension.CanFocus = true; this.radioTypeExtension.Name = "radioTypeExtension"; this.radioTypeExtension.DrawIndicator = true; this.radioTypeExtension.UseUnderline = true; this.radioTypeExtension.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.hbox2.Add (this.radioTypeExtension); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.radioTypeExtension])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.radioCustomExtension = new global::Gtk.RadioButton (global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Custom extension point")); this.radioCustomExtension.CanFocus = true; this.radioCustomExtension.Name = "radioCustomExtension"; this.radioCustomExtension.DrawIndicator = true; this.radioCustomExtension.UseUnderline = true; this.radioCustomExtension.Group = this.radioTypeExtension.Group; this.hbox2.Add (this.radioCustomExtension); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.radioCustomExtension])); w11.Position = 1; this.vbox3.Add (this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox2.Add (this.hseparator2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator2])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; this.notebook.ShowBorder = false; this.notebook.ShowTabs = false; // Container child notebook.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.baseTypeSelector = new global::MonoDevelop.AddinAuthoring.TypeSelector (); this.baseTypeSelector.Events = ((global::Gdk.EventMask)(256)); this.baseTypeSelector.Name = "baseTypeSelector"; this.baseTypeSelector.AllowCreate = false; this.baseTypeSelector.AllowCreateInterface = false; this.table1.Add (this.baseTypeSelector); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.baseTypeSelector])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNodeDescription = new global::Gtk.Entry (); this.entryNodeDescription.CanFocus = true; this.entryNodeDescription.Name = "entryNodeDescription"; this.entryNodeDescription.IsEditable = true; this.entryNodeDescription.InvisibleChar = '●'; this.table1.Add (this.entryNodeDescription); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNodeDescription])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNodeName = new global::Gtk.Entry (); this.entryNodeName.CanFocus = true; this.entryNodeName.Name = "entryNodeName"; this.entryNodeName.IsEditable = true; this.entryNodeName.InvisibleChar = '●'; this.table1.Add (this.entryNodeName); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNodeName])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Node name:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Description:"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Base type:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook.Add (this.table1); // Notebook tab this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("page1"); this.notebook.SetTabLabel (this.table1, this.label9); this.label9.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.nodeseteditorwidget = new global::MonoDevelop.AddinAuthoring.NodeSetEditorWidget (); this.nodeseteditorwidget.Events = ((global::Gdk.EventMask)(256)); this.nodeseteditorwidget.Name = "nodeseteditorwidget"; this.nodeseteditorwidget.AllowEditing = true; this.notebook.Add (this.nodeseteditorwidget); global::Gtk.Notebook.NotebookChild w22 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.nodeseteditorwidget])); w22.Position = 1; // Notebook tab this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("page2"); this.notebook.SetTabLabel (this.nodeseteditorwidget, this.label10); this.label10.ShowAll (); this.vbox2.Add (this.notebook); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook])); w23.Position = 3; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w24.Position = 0; // Internal child MonoDevelop.AddinAuthoring.NewExtensionPointDialog.ActionArea global::Gtk.HButtonBox w25 = this.ActionArea; w25.Name = "dialog1_ActionArea"; w25.Spacing = 6; w25.BorderWidth = ((uint)(5)); w25.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25 [this.buttonCancel])); w26.Expand = false; w26.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25 [this.buttonOk])); w27.Position = 1; w27.Expand = false; w27.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 625; this.DefaultHeight = 522; this.Show (); this.entryPath.Changed += new global::System.EventHandler (this.OnEntryPathChanged); this.radioTypeExtension.Clicked += new global::System.EventHandler (this.OnRadioTypeExtensionClicked); this.radioCustomExtension.Clicked += new global::System.EventHandler (this.OnRadioCustomExtensionClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.AddinAuthoring.NewExtensionPointDialog this.Name = "MonoDevelop.AddinAuthoring.NewExtensionPointDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MonoDevelop.AddinAuthoring.NewExtensionPointDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 15; this.vbox2.BorderWidth = ((uint)(15)); // Container child vbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entryDesc = new global::Gtk.Entry(); this.entryDesc.CanFocus = true; this.entryDesc.Name = "entryDesc"; this.entryDesc.IsEditable = true; this.entryDesc.InvisibleChar = '●'; this.table2.Add(this.entryDesc); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2[this.entryDesc])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.table2.Add(this.entryName); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2[this.entryName])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryPath = new global::Gtk.Entry(); this.entryPath.CanFocus = true; this.entryPath.Name = "entryPath"; this.entryPath.IsEditable = true; this.entryPath.InvisibleChar = '●'; this.table2.Add(this.entryPath); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.entryPath])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0f; this.label6.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Description:"); this.table2.Add(this.label6); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.label6])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0f; this.label7.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Extension path:"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.label7])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0f; this.label8.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Name:"); this.table2.Add(this.label8); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.label8])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0f; this.label2.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Select the kind of extension point to create:"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 24; // Container child hbox2.Gtk.Box+BoxChild this.radioTypeExtension = new global::Gtk.RadioButton(global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Type extension point")); this.radioTypeExtension.CanFocus = true; this.radioTypeExtension.Name = "radioTypeExtension"; this.radioTypeExtension.DrawIndicator = true; this.radioTypeExtension.UseUnderline = true; this.radioTypeExtension.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox2.Add(this.radioTypeExtension); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.radioTypeExtension])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.radioCustomExtension = new global::Gtk.RadioButton(global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Custom extension point")); this.radioCustomExtension.CanFocus = true; this.radioCustomExtension.Name = "radioCustomExtension"; this.radioCustomExtension.DrawIndicator = true; this.radioCustomExtension.UseUnderline = true; this.radioCustomExtension.Group = this.radioTypeExtension.Group; this.hbox2.Add(this.radioCustomExtension); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.radioCustomExtension])); w11.Position = 1; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox2.Add(this.hseparator2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator2])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook(); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; this.notebook.ShowBorder = false; this.notebook.ShowTabs = false; // Container child notebook.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.baseTypeSelector = new global::MonoDevelop.AddinAuthoring.TypeSelector(); this.baseTypeSelector.Events = ((global::Gdk.EventMask)(256)); this.baseTypeSelector.Name = "baseTypeSelector"; this.baseTypeSelector.AllowCreate = false; this.baseTypeSelector.AllowCreateInterface = false; this.table1.Add(this.baseTypeSelector); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.baseTypeSelector])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNodeDescription = new global::Gtk.Entry(); this.entryNodeDescription.CanFocus = true; this.entryNodeDescription.Name = "entryNodeDescription"; this.entryNodeDescription.IsEditable = true; this.entryNodeDescription.InvisibleChar = '●'; this.table1.Add(this.entryNodeDescription); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.entryNodeDescription])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNodeName = new global::Gtk.Entry(); this.entryNodeName.CanFocus = true; this.entryNodeName.Name = "entryNodeName"; this.entryNodeName.IsEditable = true; this.entryNodeName.InvisibleChar = '●'; this.table1.Add(this.entryNodeName); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.entryNodeName])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0f; this.label3.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Node name:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0f; this.label4.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Description:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0f; this.label5.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Base type:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook.Add(this.table1); // Notebook tab this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("page1"); this.notebook.SetTabLabel(this.table1, this.label9); this.label9.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.nodeseteditorwidget = new global::MonoDevelop.AddinAuthoring.NodeSetEditorWidget(); this.nodeseteditorwidget.Events = ((global::Gdk.EventMask)(256)); this.nodeseteditorwidget.Name = "nodeseteditorwidget"; this.nodeseteditorwidget.AllowEditing = true; this.notebook.Add(this.nodeseteditorwidget); global::Gtk.Notebook.NotebookChild w22 = ((global::Gtk.Notebook.NotebookChild)(this.notebook[this.nodeseteditorwidget])); w22.Position = 1; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("page2"); this.notebook.SetTabLabel(this.nodeseteditorwidget, this.label10); this.label10.ShowAll(); this.vbox2.Add(this.notebook); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook])); w23.Position = 3; w1.Add(this.vbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2])); w24.Position = 0; // Internal child MonoDevelop.AddinAuthoring.NewExtensionPointDialog.ActionArea global::Gtk.HButtonBox w25 = this.ActionArea; w25.Name = "dialog1_ActionArea"; w25.Spacing = 6; w25.BorderWidth = ((uint)(5)); w25.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25[this.buttonCancel])); w26.Expand = false; w26.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25[this.buttonOk])); w27.Position = 1; w27.Expand = false; w27.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 625; this.DefaultHeight = 522; this.Show(); this.entryPath.Changed += new global::System.EventHandler(this.OnEntryPathChanged); this.radioTypeExtension.Clicked += new global::System.EventHandler(this.OnRadioTypeExtensionClicked); this.radioCustomExtension.Clicked += new global::System.EventHandler(this.OnRadioCustomExtensionClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.AddinAuthoring.SelectNodeSetDialog this.Name = "MonoDevelop.AddinAuthoring.SelectNodeSetDialog"; this.Title = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Select Node Set"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MonoDevelop.AddinAuthoring.SelectNodeSetDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 12; this.vbox3.BorderWidth = ((uint)(9)); // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString ("Node Set:"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.combo = global::Gtk.ComboBoxEntry.NewText (); this.combo.Name = "combo"; this.hbox1.Add (this.combo); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.combo])); w3.Position = 1; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.nodeseteditor = new global::MonoDevelop.AddinAuthoring.NodeSetEditorWidget (); this.nodeseteditor.Events = ((global::Gdk.EventMask)(256)); this.nodeseteditor.Name = "nodeseteditor"; this.nodeseteditor.AllowEditing = false; this.vbox3.Add (this.nodeseteditor); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.nodeseteditor])); w5.Position = 1; w1.Add (this.vbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox3])); w6.Position = 0; // Internal child MonoDevelop.AddinAuthoring.SelectNodeSetDialog.ActionArea global::Gtk.HButtonBox w7 = this.ActionArea; w7.Name = "dialog1_ActionArea"; w7.Spacing = 6; w7.BorderWidth = ((uint)(5)); w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonCancel])); w8.Expand = false; w8.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk])); w9.Position = 1; w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 498; this.DefaultHeight = 346; this.Show (); this.combo.Changed += new global::System.EventHandler (this.OnComboChanged); }