public IDialController TryCreateController(IDialControllerHost host)
        {
            string iconFilePath = VsHelpers.GetFileInVsix("Providers\\Editor\\icon.png");

            host.AddMenuItem(Moniker, iconFilePath);

            return(new EditorController(CompletionBroker));
        }
Ejemplo n.º 2
0
        public IDialController TryCreateController(IDialControllerHost host)
        {
            string iconFilePath = VsHelpers.GetFileInVsix("Providers\\Customizable\\icon.png");

            host.AddMenuItem(Moniker, iconFilePath);

            return(new CustomizableController());
        }
Ejemplo n.º 3
0
        public IDialController TryCreateController(IDialControllerHost host)
        {
            string iconFilePath = VsHelpers.GetFileInVsix("Providers\\Bookmarks\\icon.png");

            host.AddMenuItem(Moniker, iconFilePath);

            return(new BookmarksController(host));
        }
Ejemplo n.º 4
0
        public IDialController TryCreateController(IDialControllerHost host)
        {
            string folder       = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
            string iconFilePath = Path.Combine(folder, "Providers\\Errors\\icon.png");

            host.AddMenuItem(Moniker, iconFilePath);

            return(new ErrorsController());
        }
Ejemplo n.º 5
0
        public IDialController TryCreateController(IDialControllerHost host)
        {
            host.AddMenuItem(PredefinedMonikers.Scroll, Windows.UI.Input.RadialControllerMenuKnownIcon.Scroll);

            return(new ScrollController());
        }
Ejemplo n.º 6
0
        public IDialController TryCreateController(IDialControllerHost host)
        {
            host.AddMenuItem(PredefinedMonikers.Navigate, Windows.UI.Input.RadialControllerMenuKnownIcon.NextPreviousTrack);

            return(new NavigateController());
        }