public void LoadPlugins(PluginAction pluginAction)
        {
            var path1 = string.Format("{0}|^BioLink[.].*[.]dll$", AppDomain.CurrentDomain.BaseDirectory);
            var path2 = string.Format("{0}/plugins", AppDomain.CurrentDomain.BaseDirectory);

            LoadPlugins(pluginAction, path1, path2);

            NotifyProgress("Loading html...", 99, ProgressEventType.Update);

            var service = new SupportService(User);
            var links   = service.GetMultimediaItems(TraitCategoryType.Biolink.ToString(), SupportService.BIOLINK_HTML_INTRA_CAT_ID);

            if (links.Count > 0)
            {
                var directory = new DirectoryInfo(Path.Combine(SystemUtils.GetUserDataPath(), ".BioLink"));
                if (directory.Exists)
                {
                    directory.Delete(true);
                }

                directory.Create();


                string htmlfile = "";
                foreach (MultimediaLink link in links)
                {
                    var filename = Path.Combine(directory.FullName, link.Name + "." + link.Extension);
                    var bytes    = service.GetMultimediaBytes(link.MultimediaID);
                    File.WriteAllBytes(filename, bytes);

                    if (link.Extension.StartsWith("html", StringComparison.CurrentCultureIgnoreCase))
                    {
                        htmlfile = filename;
                    }
                }

                if (!string.IsNullOrWhiteSpace(htmlfile))
                {
                    BioLinkCorePlugin core = GetExtensionsOfType <BioLinkCorePlugin>()[0];
                    var browser            = new WebBrowser();
                    AddDocumentContent(core, browser, new DockableContentOptions {
                        Title = "Welcome"
                    });
                    browser.Navigate(string.Format("file:///{0}", htmlfile));
                }
            }
        }
        public void RefreshPinBoard()
        {
            BioLinkCorePlugin core = GetExtensionsOfType <BioLinkCorePlugin>()[0];

            core.RefreshPinBoard();
        }
        public void PinObject(PinnableObject pinnable)
        {
            BioLinkCorePlugin core = GetExtensionsOfType <BioLinkCorePlugin>()[0];

            core.PinObject(pinnable);
        }