Author: mkrueger
Date: 2008-02-07 13:30:10 -0500 (Thu, 07 Feb 2008)
New Revision: 95176

Added:
   trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/
   
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.cs
   
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/generated.cs
   
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/gui.stetic
   
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/objects.xml
Modified:
   
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs
Log:
Added gtk-gui

Modified: 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs
   2008-02-07 18:27:09 UTC (rev 95175)
+++ 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs
   2008-02-07 18:30:10 UTC (rev 95176)
@@ -60,6 +60,7 @@
                {
                        IMethod method = (IMethod)dataObject;
                        label = AmbienceService.Default.GetString (method, 
OutputFlags.ClassBrowserEntries);
+                       System.Console.WriteLine (label);
                        icon = Context.GetIcon 
(iconTable[DomTypeNodeBuilder.GetModifierOffset (method.Modifiers)]);
                }
                

Added: 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.cs
  2008-02-07 18:27:09 UTC (rev 95175)
+++ 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.cs
  2008-02-07 18:30:10 UTC (rev 95176)
@@ -0,0 +1,124 @@
+// 
------------------------------------------------------------------------------
+//  <autogenerated>
+//      This code was generated by a tool.
+//      Mono Runtime Version: 2.0.50727.42
+// 
+//      Changes to this file may cause incorrect behavior and will be lost if 
+//      the code is regenerated.
+//  </autogenerated>
+// 
------------------------------------------------------------------------------
+
+namespace MonoDevelop.AssemblyBrowser {
+    
+    
+    public partial class AssemblyBrowserWidget {
+        
+        private Gtk.HPaned hpaned1;
+        
+        private Gtk.VPaned vpaned1;
+        
+        private Gtk.ScrolledWindow scrolledwindow2;
+        
+        private Gtk.ScrolledWindow GtkScrolledWindow;
+        
+        private Gtk.Label descriptionLabel;
+        
+        private Gtk.Frame frame1;
+        
+        private Gtk.Alignment GtkAlignment;
+        
+        private Gtk.ScrolledWindow GtkScrolledWindow1;
+        
+        private Gtk.Label disassemblerLabel;
+        
+        private Gtk.Label GtkLabel;
+        
+        protected virtual void Build() {
+            Stetic.Gui.Initialize(this);
+            // Widget MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget
+            Stetic.BinContainer.Attach(this);
+            this.Name = "MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget";
+            // Container child 
MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Gtk.Container+ContainerChild
+            this.hpaned1 = new Gtk.HPaned();
+            this.hpaned1.CanFocus = true;
+            this.hpaned1.Name = "hpaned1";
+            this.hpaned1.Position = 422;
+            // Container child hpaned1.Gtk.Paned+PanedChild
+            this.vpaned1 = new Gtk.VPaned();
+            this.vpaned1.CanFocus = true;
+            this.vpaned1.Name = "vpaned1";
+            this.vpaned1.Position = 367;
+            // Container child vpaned1.Gtk.Paned+PanedChild
+            this.scrolledwindow2 = new Gtk.ScrolledWindow();
+            this.scrolledwindow2.CanFocus = true;
+            this.scrolledwindow2.Name = "scrolledwindow2";
+            this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
+            this.vpaned1.Add(this.scrolledwindow2);
+            Gtk.Paned.PanedChild w1 = 
((Gtk.Paned.PanedChild)(this.vpaned1[this.scrolledwindow2]));
+            w1.Resize = false;
+            // Container child vpaned1.Gtk.Paned+PanedChild
+            this.GtkScrolledWindow = new Gtk.ScrolledWindow();
+            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
+            this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
+            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
+            Gtk.Viewport w2 = new Gtk.Viewport();
+            w2.ShadowType = ((Gtk.ShadowType)(0));
+            // Container child GtkViewport2.Gtk.Container+ContainerChild
+            this.descriptionLabel = new Gtk.Label();
+            this.descriptionLabel.Name = "descriptionLabel";
+            this.descriptionLabel.Xpad = 6;
+            this.descriptionLabel.Ypad = 6;
+            this.descriptionLabel.Xalign = 0F;
+            this.descriptionLabel.Yalign = 0F;
+            this.descriptionLabel.LabelProp = "";
+            this.descriptionLabel.UseMarkup = true;
+            this.descriptionLabel.Selectable = true;
+            w2.Add(this.descriptionLabel);
+            this.GtkScrolledWindow.Add(w2);
+            this.vpaned1.Add(this.GtkScrolledWindow);
+            this.hpaned1.Add(this.vpaned1);
+            Gtk.Paned.PanedChild w6 = 
((Gtk.Paned.PanedChild)(this.hpaned1[this.vpaned1]));
+            w6.Resize = false;
+            // Container child hpaned1.Gtk.Paned+PanedChild
+            this.frame1 = new Gtk.Frame();
+            this.frame1.Name = "frame1";
+            this.frame1.ShadowType = ((Gtk.ShadowType)(0));
+            // Container child frame1.Gtk.Container+ContainerChild
+            this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
+            this.GtkAlignment.Name = "GtkAlignment";
+            this.GtkAlignment.LeftPadding = ((uint)(12));
+            // Container child GtkAlignment.Gtk.Container+ContainerChild
+            this.GtkScrolledWindow1 = new Gtk.ScrolledWindow();
+            this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
+            this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
+            // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
+            Gtk.Viewport w7 = new Gtk.Viewport();
+            w7.ShadowType = ((Gtk.ShadowType)(0));
+            // Container child GtkViewport3.Gtk.Container+ContainerChild
+            this.disassemblerLabel = new Gtk.Label();
+            this.disassemblerLabel.Name = "disassemblerLabel";
+            this.disassemblerLabel.Xpad = 6;
+            this.disassemblerLabel.Ypad = 6;
+            this.disassemblerLabel.Xalign = 0F;
+            this.disassemblerLabel.Yalign = 0F;
+            this.disassemblerLabel.LabelProp = "";
+            this.disassemblerLabel.UseMarkup = true;
+            this.disassemblerLabel.Selectable = true;
+            w7.Add(this.disassemblerLabel);
+            this.GtkScrolledWindow1.Add(w7);
+            this.GtkAlignment.Add(this.GtkScrolledWindow1);
+            this.frame1.Add(this.GtkAlignment);
+            this.GtkLabel = new Gtk.Label();
+            this.GtkLabel.Name = "GtkLabel";
+            this.GtkLabel.LabelProp = 
Mono.Unix.Catalog.GetString("<b>Disassembler</b>");
+            this.GtkLabel.UseMarkup = true;
+            this.frame1.LabelWidget = this.GtkLabel;
+            this.hpaned1.Add(this.frame1);
+            this.Add(this.hpaned1);
+            if ((this.Child != null)) {
+                this.Child.ShowAll();
+            }
+            this.Show();
+        }
+    }
+}

Added: 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/generated.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/generated.cs
  2008-02-07 18:27:09 UTC (rev 95175)
+++ 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/generated.cs
  2008-02-07 18:30:10 UTC (rev 95176)
@@ -0,0 +1,82 @@
+// 
------------------------------------------------------------------------------
+//  <autogenerated>
+//      This code was generated by a tool.
+//      Mono Runtime Version: 2.0.50727.42
+// 
+//      Changes to this file may cause incorrect behavior and will be lost if 
+//      the code is regenerated.
+//  </autogenerated>
+// 
------------------------------------------------------------------------------
+
+namespace Stetic {
+    
+    
+    internal class Gui {
+        
+        private static bool initialized;
+        
+        internal static void Initialize(Gtk.Widget iconRenderer) {
+            if ((Stetic.Gui.initialized == false)) {
+                Stetic.Gui.initialized = true;
+            }
+        }
+    }
+    
+    internal class BinContainer {
+        
+        private Gtk.Widget child;
+        
+        private Gtk.UIManager uimanager;
+        
+        public static BinContainer Attach(Gtk.Bin bin) {
+            BinContainer bc = new BinContainer();
+            bin.SizeRequested += new 
Gtk.SizeRequestedHandler(bc.OnSizeRequested);
+            bin.SizeAllocated += new 
Gtk.SizeAllocatedHandler(bc.OnSizeAllocated);
+            bin.Added += new Gtk.AddedHandler(bc.OnAdded);
+            return bc;
+        }
+        
+        private void OnSizeRequested(object sender, Gtk.SizeRequestedArgs 
args) {
+            if ((this.child != null)) {
+                args.Requisition = this.child.SizeRequest();
+            }
+        }
+        
+        private void OnSizeAllocated(object sender, Gtk.SizeAllocatedArgs 
args) {
+            if ((this.child != null)) {
+                this.child.Allocation = args.Allocation;
+            }
+        }
+        
+        private void OnAdded(object sender, Gtk.AddedArgs args) {
+            this.child = args.Widget;
+        }
+        
+        public void SetUiManager(Gtk.UIManager uim) {
+            this.uimanager = uim;
+            this.child.Realized += new System.EventHandler(this.OnRealized);
+        }
+        
+        private void OnRealized(object sender, System.EventArgs args) {
+            if ((this.uimanager != null)) {
+                Gtk.Widget w;
+                w = this.child.Toplevel;
+                if (((w != null) && typeof(Gtk.Window).IsInstanceOfType(w))) {
+                    ((Gtk.Window)(w)).AddAccelGroup(this.uimanager.AccelGroup);
+                    this.uimanager = null;
+                }
+            }
+        }
+    }
+    
+    internal class ActionGroups {
+        
+        public static Gtk.ActionGroup GetActionGroup(System.Type type) {
+            return Stetic.ActionGroups.GetActionGroup(type.FullName);
+        }
+        
+        public static Gtk.ActionGroup GetActionGroup(string name) {
+            return null;
+        }
+    }
+}

Added: 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/gui.stetic
===================================================================
--- 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/gui.stetic
    2008-02-07 18:27:09 UTC (rev 95175)
+++ 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/gui.stetic
    2008-02-07 18:30:10 UTC (rev 95176)
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="utf-8"?>
+<stetic-interface>
+  <configuration>
+    <images-root-path>..</images-root-path>
+    <target-gtk-version>2.10.2</target-gtk-version>
+  </configuration>
+  <import>
+    <widget-library name="../../../../build/bin/MonoDevelop.Ide.dll" />
+    <widget-library name="../../../../build/bin/MonoDevelop.Components.dll" />
+    <widget-library name="../../../../build/bin/MonoDevelop.Projects.Gui.dll" 
/>
+    <widget-library 
name="../../../../build/AddIns/MonoDevelop.AssemblyBrowser.dll" internal="true" 
/>
+  </import>
+  <widget class="Gtk.Bin" 
id="MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget" design-size="521 482">
+    <property name="MemberName" />
+    <child>
+      <widget class="Gtk.HPaned" id="hpaned1">
+        <property name="MemberName" />
+        <property name="CanFocus">True</property>
+        <property name="Position">422</property>
+        <child>
+          <widget class="Gtk.VPaned" id="vpaned1">
+            <property name="MemberName" />
+            <property name="CanFocus">True</property>
+            <property name="Position">367</property>
+            <child>
+              <widget class="Gtk.ScrolledWindow" id="scrolledwindow2">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="ShadowType">In</property>
+                <child>
+                  <widget class="Gtk.Viewport" id="GtkViewport1">
+                    <property name="MemberName" />
+                    <property name="ShadowType">None</property>
+                    <child>
+                      <placeholder />
+                    </child>
+                  </widget>
+                </child>
+              </widget>
+              <packing>
+                <property name="Resize">False</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
+                <property name="MemberName" />
+                <property name="ShadowType">In</property>
+                <child>
+                  <widget class="Gtk.Viewport" id="GtkViewport2">
+                    <property name="MemberName" />
+                    <property name="ShadowType">None</property>
+                    <child>
+                      <widget class="Gtk.Label" id="descriptionLabel">
+                        <property name="MemberName" />
+                        <property name="ShowScrollbars">True</property>
+                        <property name="Xpad">6</property>
+                        <property name="Ypad">6</property>
+                        <property name="Xalign">0</property>
+                        <property name="Yalign">0</property>
+                        <property name="LabelProp" translatable="yes" />
+                        <property name="UseMarkup">True</property>
+                        <property name="MnemonicWidget">titleTextBox</property>
+                        <property name="Selectable">True</property>
+                      </widget>
+                    </child>
+                  </widget>
+                </child>
+              </widget>
+            </child>
+          </widget>
+          <packing>
+            <property name="Resize">False</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.Frame" id="frame1">
+            <property name="MemberName" />
+            <property name="ShadowType">None</property>
+            <child>
+              <widget class="Gtk.Alignment" id="GtkAlignment">
+                <property name="MemberName" />
+                <property name="Xalign">0</property>
+                <property name="Yalign">0</property>
+                <property name="LeftPadding">12</property>
+                <child>
+                  <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow1">
+                    <property name="MemberName" />
+                    <property name="ShadowType">In</property>
+                    <child>
+                      <widget class="Gtk.Viewport" id="GtkViewport3">
+                        <property name="MemberName" />
+                        <property name="ShadowType">None</property>
+                        <child>
+                          <widget class="Gtk.Label" id="disassemblerLabel">
+                            <property name="MemberName" />
+                            <property name="ShowScrollbars">True</property>
+                            <property name="Xpad">6</property>
+                            <property name="Ypad">6</property>
+                            <property name="Xalign">0</property>
+                            <property name="Yalign">0</property>
+                            <property name="LabelProp" translatable="yes" />
+                            <property name="UseMarkup">True</property>
+                            <property 
name="MnemonicWidget">titleTextBox</property>
+                            <property name="Selectable">True</property>
+                          </widget>
+                        </child>
+                      </widget>
+                    </child>
+                  </widget>
+                </child>
+              </widget>
+            </child>
+            <child>
+              <widget class="Gtk.Label" id="GtkLabel">
+                <property name="MemberName" />
+                <property name="LabelProp" 
translatable="yes">&lt;b&gt;Disassembler&lt;/b&gt;</property>
+                <property name="UseMarkup">True</property>
+              </widget>
+              <packing>
+                <property name="type">label_item</property>
+              </packing>
+            </child>
+          </widget>
+        </child>
+      </widget>
+    </child>
+  </widget>
+</stetic-interface>
\ No newline at end of file

Added: 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/objects.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/objects.xml
   2008-02-07 18:27:09 UTC (rev 95175)
+++ 
trunk/monodevelop/main/src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/objects.xml
   2008-02-07 18:30:10 UTC (rev 95176)
@@ -0,0 +1,6 @@
+<objects>
+  <object type="MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget" 
palette-category="MonoDevelop.AssemblyBrowser" allow-children="false" 
base-type="Gtk.Bin">
+    <itemgroups />
+    <signals />
+  </object>
+</objects>
\ No newline at end of file

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to