예제 #1
0
파일: Log.cs 프로젝트: keutmann/wspbuilder
        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);
            //}
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #12
0
 public CopyToGAC(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #13
0
 public IIS7Handler(DTEHandler handler)
 {
     this.DTEInstance = handler;
     this.MachineName = Environment.MachineName;
 }
예제 #14
0
 public DeployWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #15
0
 public WindowsServices(DTEHandler dteHandler)
 {
     this.DTEInstance = dteHandler;
 }
예제 #16
0
 public UninstallWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #17
0
 public AttachToWorkerProcesses(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #18
0
 public CreateDeploymentFolder(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #19
0
 public WSPFileHandle(DTEHandler dteHandler)
 {
     this.SelectedProject = new ProjectPaths(dteHandler.SelectedProject);
 }
예제 #20
0
 public RecycleSPTimer(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #21
0
 public CopyToSharePointRoot(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #22
0
 public UpgradeWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #23
0
 public CommandBase(DTEHandler dteHandler)
 {
     this.DTEInstance = dteHandler;
 }
예제 #24
0
 public RecycleAppPools(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }
예제 #25
0
 public BuildWSP(DTEHandler dteHandler)
     : base(dteHandler)
 {
 }