/// <summary>
        /// Default constructor.  Must be initialized with the instance of <see cref="ExtensionBrowserComponent"/>
        /// that it will interact with.
        /// </summary>
        /// <param name="browser"></param>
        public ExtensionBrowserControl(ExtensionBrowserComponent browser)
        {
            InitializeComponent();

            _browser = browser;

            _pluginTreeView.BeforeExpand   += new TreeViewCancelEventHandler(TreeView_BeforeExpand);
            _extPointTreeView.BeforeExpand += new TreeViewCancelEventHandler(TreeView_BeforeExpand);

            BuildTreeView(_pluginTreeView, _browser.PluginTree);
            BuildTreeView(_extPointTreeView, _browser.ExtensionPointTree);
        }
Beispiel #2
0
        /// <summary>
        /// Default constructor.  Must be initialized with the instance of <see cref="ExtensionBrowserComponent"/>
        /// that it will interact with.
        /// </summary>
        /// <param name="browser"></param>
        public ExtensionBrowserControl(ExtensionBrowserComponent browser)
        {
            InitializeComponent();

            _browser = browser;

            _pluginTreeView.BeforeExpand += new TreeViewCancelEventHandler(TreeView_BeforeExpand);
            _extPointTreeView.BeforeExpand += new TreeViewCancelEventHandler(TreeView_BeforeExpand);

            BuildTreeView(_pluginTreeView, _browser.PluginTree);
            BuildTreeView(_extPointTreeView, _browser.ExtensionPointTree);

        }
 /// <summary>
 /// Implementation of <see cref="IApplicationComponentView.SetComponent"/>
 /// </summary>
 /// <param name="component"></param>
 public void SetComponent(IApplicationComponent component)
 {
     _browser = (ExtensionBrowserComponent)component;
 }
Beispiel #4
0
 /// <summary>
 /// Implementation of <see cref="IApplicationComponentView.SetComponent"/>
 /// </summary>
 /// <param name="component"></param>
 public void SetComponent(IApplicationComponent component)
 {
     _browser = (ExtensionBrowserComponent)component;
 }