/// <summary>
        /// Called by the framework when the user clicks the "apply" menu item or toolbar button.
        /// </summary>
        public void Apply()
        {
            var component = new XnatWebBrowserComponent();

            ApplicationComponent.LaunchAsWorkspace(Context.DesktopWindow, component, SR.WorkspaceName);
            component.Url = "https://central.xnat.org/";
            component.SetDocumentTitle("XNAT Imaging");
            component.Go();
            component.Stopped += ComponentStopped;
            Active             = true;
        }
Пример #2
0
 public WebBrowserToolContext(XnatWebBrowserComponent component)
 {
     Platform.CheckForNullReference(component, "component");
     _component = component;
 }