~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/TreeViewPad.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-07-05 13:00:05 UTC
  • mfrom: (1.2.8 upstream) (1.3.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100705130005-d6hp4k5gcn1xkj8c
Tags: 2.4+dfsg-1ubuntu1
* debian/patches/remove_support_for_moonlight.patch,
  debian/patches/dont_add_moonlight_to_core_addins.patch,
  debian/control:
  + Enable support for Moonlight
* debian/rules:
  + Ensure Moonlight addin isn't shipped in main MonoDevelop package by
    mistake

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
using Mono.Addins;
42
42
using MonoDevelop.Core;
43
43
using MonoDevelop.Projects;
44
 
using MonoDevelop.Core.Gui.Dialogs;
 
44
using MonoDevelop.Ide.Gui.Dialogs;
45
45
using MonoDevelop.Components;
46
46
using MonoDevelop.Ide.Commands;
47
 
using MonoDevelop.Core.Gui;
48
47
using MonoDevelop.Components.Commands;
49
48
using MonoDevelop.Ide.Gui.Components;
50
49
 
55
54
        /// </summary>
56
55
        public class TreeViewPad : AbstractPadContent, IMementoCapable, ICommandDelegatorRouter
57
56
        {
 
57
                internal Action Initializer;
 
58
                
58
59
                protected ExtensibleTreeView treeView = new ExtensibleTreeView ();
59
60
                
60
61
                public ExtensibleTreeView TreeView {
72
73
                public TreeViewPad ()
73
74
                {
74
75
                        treeView.Tree.CursorChanged += new EventHandler (OnSelectionChanged);
75
 
                }
 
76
                        treeView.Tree.EnableAutoTooltips ();
 
77
                }
 
78
                
 
79
                public override void Initialize (IPadWindow container)
 
80
                {
 
81
                        base.Initialize (container);
 
82
                        TreeView.Id = Id;
 
83
                        if (Initializer != null)
 
84
                                Initializer ();
 
85
                }
 
86
 
76
87
                
77
88
                protected virtual void OnSelectionChanged (object sender, EventArgs args)
78
89
                {