Exemplo n.º 1
0
        public static void DumpToOutput(DTEHandler handler)
        {
            //CommandBars bars = (CommandBars)handler.Application.CommandBars;

            //string buildName = CommandBarStrings.GetName("Output", handler.Application);
            ////OutputWindowPane output = handler.ApplicationOutputWindow.OutputWindowPanes.Item("output");


            //foreach (CommandBar bar in bars)
            //{
            //    output.OutputString("Name: " + bar.NameLocal + " : ID: " + bar.Id + Environment.NewLine);
            //}
        }
Exemplo n.º 2
0
        public static CreateDeploymentFolder Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            CreateDeploymentFolder instance = new CreateDeploymentFolder(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "CREATEDEPLOYMENTFOLDER",
                "Create Deployment &Folder",
                "Creates a folder that can be copied to deloy on other systems",
                "Global::Ctrl+Shift+Alt+B,f",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 3
0
        public static AttachToWorkerProcesses Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            AttachToWorkerProcesses instance = new AttachToWorkerProcesses(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "ATTACHTOWORKERPROCESSES",
                "&Attach to IIS Worker Processes",
                "Attaches the debugger to all instances of w3wp.exe",
                "Global::Ctrl+Shift+Alt+B,a",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 4
0
        public static CopyToSharePointRoot Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            CopyToSharePointRoot instance = new CopyToSharePointRoot(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "COPYTO12HIVE",
                "&Copy to SharePoint Root",
                "Copy the files to the SharePoint Root",
                "Global::Ctrl+Shift+Alt+B,c",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 5
0
        public static UpgradeWSP Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            UpgradeWSP instance = new UpgradeWSP(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "UPGRADEWSP",
                "Up&grade",
                "Upgrads the solution package",
                "Global::Ctrl+Shift+Alt+B,p",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 6
0
        public static CopyToGAC Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            CopyToGAC instance = new CopyToGAC(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "COPYTOGAC",
                "Copy to &GAC",
                "Copies the DLL's to Global Assembly Cache.",
                "Global::Ctrl+Shift+Alt+B,g",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 7
0
        public static RecycleAppPools Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            RecycleAppPools instance = new RecycleAppPools(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "RECYCLEAPPPOOLS",
                "&Recycle AppPools",
                "Recycles the applicationpools (IIS)",
                "Global::Ctrl+Shift+Alt+B,r",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 8
0
        public static DeployWSP Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            DeployWSP instance = new DeployWSP(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "DEPLOYWSP",
                "&Deploy",
                "Installs and deploys the solution package to SharePoint globally",
                "Global::Ctrl+Shift+Alt+B,d",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 9
0
        public static RecycleSPTimer Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            RecycleSPTimer instance = new RecycleSPTimer(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "RECYCLESPTIMERV3",
                "&Recycle Services Timer",
                "Recycles the Windows SharePoint Services Timer",
                "Global::Ctrl+Shift+Alt+B,t",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 10
0
        public static UninstallWSP Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            UninstallWSP instance = new UninstallWSP(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "UNISTALLWSP",
                "&Uninstall",
                "Retracts and uninstalls the solution package from SharePoint",
                "Global::Ctrl+Shift+Alt+B,u",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 11
0
        public static BuildWSP Create(DTEHandler dteHandler, bool beginGroup, CommandBar[] commandbars)
        {
            BuildWSP instance = new BuildWSP(dteHandler);

            instance.CommandInstance = dteHandler.Menu.CreateCommand(
                "BUILDPROJECTWSP",
                "&Build WSP",
                "Build a SharePoint solution from current project",
                "Global::Ctrl+Shift+Alt+B,b",
                new ExecuteDelegate(instance.Execute),
                new StatusDelegate(instance.Status));

            dteHandler.Menu.AddToCommandBars(instance.CommandInstance, beginGroup, commandbars);

            return(instance);
        }
Exemplo n.º 12
0
 public CopyToGAC(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 13
0
 public IIS7Handler(DTEHandler handler)
 {
     this.DTEInstance = handler;
     this.MachineName = Environment.MachineName;
 }
Exemplo n.º 14
0
 public DeployWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 15
0
 public WindowsServices(DTEHandler dteHandler)
 {
     this.DTEInstance = dteHandler;
 }
Exemplo n.º 16
0
 public UninstallWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 17
0
 public AttachToWorkerProcesses(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 18
0
 public CreateDeploymentFolder(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 19
0
 public WSPFileHandle(DTEHandler dteHandler)
 {
     this.SelectedProject = new ProjectPaths(dteHandler.SelectedProject);
 }
Exemplo n.º 20
0
 public RecycleSPTimer(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 21
0
 public CopyToSharePointRoot(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 22
0
 public UpgradeWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 23
0
 public CommandBase(DTEHandler dteHandler)
 {
     this.DTEInstance = dteHandler;
 }
Exemplo n.º 24
0
 public RecycleAppPools(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
Exemplo n.º 25
0
 public BuildWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }