/// <summary>
 /// Called to have the log message command object register all commands that it supports.
 /// </summary>
 /// <param name="controller"/>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand(AddDefectCommandName, true, "Create New Defect...", "Use this message to create a new defect");
     controller.RegisterCommand("sample1", true, "Grouped Command 1", "Our first log message command", "firstgroup", null);
     controller.RegisterCommand("sample2", false, "Second Global", "Our second log message command");
     controller.RegisterCommand("sample3", true, "Third Command", "Our third log message command");
     controller.RegisterCommand("sample4", true, "Grouped Command 2", "Our second log message command", "firstgroup", null);
     controller.RegisterCommand("sample5", false, "Configure", "Show the configuration dialog for our add in");
     controller.RegisterCommand("sample6", true, "Group 2 Command 1", "Our second log message command", "secondgroup", null);
     controller.RegisterCommand("sample7", true, "Group 2 Command 2", "Our second log message command", "secondgroup", null);
     controller.RegisterCommand("sample8", true, "Grouped Command 3", "Our second log message command", "firstgroup", null);
     controller.RegisterCommand("sample9", true, "Group 3 Command 1", "Our second log message command", "thirdgroup", null);
 }
        /// <summary>
        /// Called to have the log message command object register all commands that it supports.
        /// </summary>
        /// <param name="controller"/>
        public void RegisterCommands(IUserInterfaceContext controller)
        {
            controller.RegisterCommand(AddDefectCommandName, true, "Create New Defect...", "Use this message to create a new defect");
            controller.RegisterCommand("sample1", true, "Grouped Command 1", "Our first log message command", "firstgroup", null);
            controller.RegisterCommand("sample2", false, "Second Global", "Our second log message command");
            controller.RegisterCommand("sample3", true, "Third Command", "Our third log message command");
            controller.RegisterCommand("sample4", true, "Grouped Command 2", "Our second log message command", "firstgroup", null);
            controller.RegisterCommand("sample5", false, "Configure", "Show the configuration dialog for our add in");
            controller.RegisterCommand("sample6", true, "Group 2 Command 1", "Our second log message command", "secondgroup", null);
            controller.RegisterCommand("sample7", true, "Group 2 Command 2", "Our second log message command", "secondgroup", null);
            controller.RegisterCommand("sample8", true, "Grouped Command 3", "Our second log message command", "firstgroup", null);
            controller.RegisterCommand("sample9", true, "Group 3 Command 1", "Our second log message command", "thirdgroup", null);

        }
Exemplo n.º 3
0
 /// <summary>
 /// Called to have the command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("sample1", true, "Grouped Command 1", "Our first global command", "firstgroup", null);
     controller.RegisterCommand("sample2", false, "Second Global", "Our second global command");
     controller.RegisterCommand("sample3", true, "Third Command", "Our third global command");
     controller.RegisterCommand("sample4", true, "Grouped Command 2", "Our second global command", "firstgroup", null);
     controller.RegisterCommand("configure", true, "Configure", "Show the configuration dialog for our add in");
     controller.RegisterCommand("sample6", true, "Group 2 Command 1", "Our second global command", "secondgroup", null);
     controller.RegisterCommand("sample7", true, "Group 2 Command 2", "Our second global command", "secondgroup", null);
     controller.RegisterCommand("sample8", true, "Grouped Command 3", "Our second global command", "firstgroup", null);
     controller.RegisterCommand("sample9", true, "Group 3 Command 1", "Our second global command", "thirdgroup", null);
 }
 /// <summary>
 /// Called to have the command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and 
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("sample1", true, "Grouped Command 1", "Our first global command", "firstgroup", null);
     controller.RegisterCommand("sample2", false, "Second Global", "Our second global command");
     controller.RegisterCommand("sample3", true, "Third Command", "Our third global command");
     controller.RegisterCommand("sample4", true, "Grouped Command 2", "Our second global command", "firstgroup", null);
     controller.RegisterCommand("configure", true, "Configure", "Show the configuration dialog for our add in");
     controller.RegisterCommand("sample6", true, "Group 2 Command 1", "Our second global command", "secondgroup", null);
     controller.RegisterCommand("sample7", true, "Group 2 Command 2", "Our second global command", "secondgroup", null);
     controller.RegisterCommand("sample8", true, "Grouped Command 3", "Our second global command", "firstgroup", null);
     controller.RegisterCommand("sample9", true, "Group 3 Command 1", "Our second global command", "thirdgroup", null);
 }
 /// <summary>
 /// Called to have the session command object register all commands that it supports.
 /// </summary>
 /// <param name="controller"/>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("export", false, "Save Session as Text", "Exports the session as a text file in all of its detail");
     controller.RegisterCommand("openSession", true, "Custom Command Open Session", null);
     controller.RegisterCommand("invisible", true, "Invisible", null);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Called to have the log message command object register all commands that it supports.
 /// </summary>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand(AddDefectCommandName, true, "Create New Defect...", "Use this message to create a new defect");
 }
 /// <summary>
 /// Called to have the session command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("scan", false, "Analyze Session", "Reports errors to FogBugz");
 }
Exemplo n.º 8
0
 /// <summary>
 /// Called to have the command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and 
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand(OpenSiteCommand, true, "Open FogBugz", "Display your FogBugz site in a new web browser", "view", null);
     controller.RegisterCommand(ConfigureCommand, true, "Configure Integration...", "View and edit the FogBugz integration configuration", "config", null);
 }
 /// <summary>
 /// Called to have the session command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and 
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("DoNothing", false, "Do Nothing at All", "This just means you have a session for the demo product");
 }
Exemplo n.º 10
0
 /// <summary>
 /// Called to have the log message command object register all commands that it supports.
 /// </summary>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand(AddDefectCommandName, true, "Create New Defect...", "Use this message to create a new defect");
 }
Exemplo n.º 11
0
 /// <summary>
 /// Called to have the session command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and 
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("scan", false, "Analyze Session", "Reports errors to FogBugz");
 }
Exemplo n.º 12
0
 /// <summary>
 /// Register the context menu commands we support.
 /// </summary>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("scan", false, "Scan session(s) for users", "Scan for users associated with each session", "scan",
                                Properties.Resources.UserIcon);
 }
Exemplo n.º 13
0
 /// <summary>
 /// Register the context menu commands we support.
 /// </summary>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("export", false, "Export Session(s)", "Export session data to text files in configured export folder","export", null);
     controller.RegisterCommand("edit", true, "Configure Export based on this Session", "Copy the list of metrics in this session to the clipboard","export", null);
     controller.RegisterCommand("view", false, "View Exported Data", "Open the folder containing exported session data", "export", null);
 }
Exemplo n.º 14
0
 /// <summary>
 /// Register the context menu commands we support.
 /// </summary>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("scan", false, "Scan session(s) for users", "Scan for users associated with each session", "scan",
         Properties.Resources.UserIcon);
 }
Exemplo n.º 15
0
 /// <summary>
 /// Called to have the session command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("DoNothing", false, "Do Nothing at All", "This just means you have a session for the demo product");
 }
 /// <summary>
 /// Called to have the command object register all commands that it supports.
 /// </summary>
 /// <param name="controller">The User Interface Controller for the current process</param>
 /// <remarks>
 /// The controller should not be persisted or accessed between calls, it may change and
 ///             the same object may get calls from multiple controllers.
 /// </remarks>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand(OpenSiteCommand, true, "Open FogBugz", "Display your FogBugz site in a new web browser", "view", null);
     controller.RegisterCommand(ConfigureCommand, true, "Configure Integration...", "View and edit the FogBugz integration configuration", "config", null);
 }
 /// <summary>
 /// Register the context menu commands we support.
 /// </summary>
 public void RegisterCommands(IUserInterfaceContext controller)
 {
     controller.RegisterCommand("export", false, "Export Session(s)", "Export session data to text files in configured export folder", "export", null);
     controller.RegisterCommand("edit", true, "Configure Export based on this Session", "Copy the list of metrics in this session to the clipboard", "export", null);
     controller.RegisterCommand("view", false, "View Exported Data", "Open the folder containing exported session data", "export", null);
 }