Gallio.UI
Wrapper for static UnhandledExceptionPolicy
class (to improve testability).
Reports an unhandled exception.
A message to explain how the exception was intercepted.
The unhandled exception.
Thrown if or
is null.
Holder for the current sync context (e.g. the winforms current).
Wrapper for Send on the shared sync context.
The SendOrPostCallback delegate to call.
The object passed to the delegate.
Wrapper for Post on the shared sync context.
The SendOrPostCallback delegate to call.
The object passed to the delegate.
Returns a shared SynchronizationContext instance.
Usually used to stash a reference to the win forms synchronization
context (WindowsFormsSynchronizationContext.Current), used for
cross-thread data binding.
Presents the control panel dialog.
Presents the control panel dialog.
Shows the control panel dialog.
The dialog owner control.
The dialog result, either
or depending on how the dialog
was closed.
Creates a control panel presenter.
The preference page provider handles, not null.
The elevation manager, not null.
Base class for components that present control panel tabs.
Base class for user controls for editing settings with deferred application.
Applies pending settings changes.
An elevation context when
is true, otherwise null.
The progress monitor, not null.
The default implementation simply sets to false.
Raises the event.
The event arguments.
Raises the event.
The event arguments.
Event raised when the value of changes.
Event raised when the value of changes.
Gets or sets whether there are pending settings changes yet to be applied.
Gets or sets whether elevation will be required to apply pending modifications.
Creates a control panel tab.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Describes the traits of a .
Creates a traits object for a control panel tab provider.
The control panel tab name.
Thrown if is null.
Thrown if is empty.
Gets the control panel tab name.
Gets or sets an integer index used to sort control panel tabs in ascending order.
Provides a preference pane to be incorporated into the Gallio control panel.
Creates a control panel tab to include in the control panel.
The control panel tab.
Presents a dialog with control panel options.
Creates a control panel dialog.
Adds a tab.
The tab name.
The tab factory.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Gets or sets the elevation manager used to obtain an elevation context.
Gets or sets the progress monitor provider to use.
The Gallio.UI.ControlPanel.Plugins namespace contains types for a standard Control
Panel extension that displays installed plugins.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
A control panel tab for managing installed plugins.
Creates a control panel tab for managing installed plugins.
The plugin registry, not null.
The Gallio.UI.ControlPanel namespace contains types for using and extending the
Preference Tab of the Gallio Control Panel UI.
Contains a preference pane and decorates it with a title.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Gets or sets the preference pane, or null if none.
Gets or sets the preference pane title, or null if none.
Specifies the scope of the changes effected by a preference pane.
Changes affect the current user only.
Changes affect all users of the machine.
Applies changes made by the .
Base class for components that present preference panels.
Creates a preference pane.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
A preference pane provider that is used as an empty placeholder for a
non-leaf node in the preference pane tree.
Provides a preference pane to be incorporated into the Gallio control panel.
Creates a preference pane to include in the control panel.
The preference pane.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Provides the preference pane for the Gallio runtime paths.
Adds a preference pane.
The preference pane path consisting of slash-delimited name segments
specifying tree nodes.
The preference pane icon, or null if none.
The preference pane scope, or null if none.
The preference pane factory.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Provides the preferences control panel tab.
Creates a control panel tab provider for preference panes.
The preference page provider handles, not null.
Describes the traits of a .
Creates a traits object for a preference pane provider.
The preference pane path consisting of slash-delimited name segments
specifying tree nodes.
Thrown if is null.
Thrown if is empty.
Gets the preference pane path consisting of slash-delimited name segments
specifying tree nodes.
Gets or sets an icon (16x16) for the preference pane, or null if none.
Gets or sets an integer index used to sort control panel tabs in ascending order.
Gets or sets a value that describes the scope of the changes effected by a preference pane.
The scope. by default.
The Gallio.UI.ControlPanel namespace contains types for using and extending the
Gallio Control Panel UI.
Extends the win forms ToolStripMenuItem to wrap a MenuCommand.
Constructor providing a menu command.
When clicked, the command will be run synchronously.
The command to use.
Constructor providing a command and task manager.
When clicked, the command will be queued with the
supplied task manager.
The command to use.
The task manager to use.
Constructor providing a command, task manager and keys parser.
The command to use.
The task manager to use.
The keys parser to use.
A menu item that truncates the text, using ellipses (...), if necessary.
Sub-class of ToolStripMenuItem,
making databinding easier.
Gets or sets the collection of currency managers for the IBindableComponent.
Gets the collection of data-binding objects for this IBindableComponent.
Ctor.
The text for the menu item to display.
The full text will be the tooltip, but the display text
will be truncated if longer than specified.
The maximum length text to display.
Parses a string representation of a enum.
Parses a string representation of a enum.
The shortcut string to parse.
A enum.
For example, "Ctrl + S" would parse as Keys.Control | Keys.S
Sub-class of ToolStripButton,
making databinding easier.
Gets or sets the collection of currency managers for the IBindableComponent.
Gets the collection of data-binding objects for this IBindableComponent.
Wrapper for a field, that implements INotifyPropertyChanged.
The type to wrap.
All credit to Ayende:
http://ayende.com/Blog/archive/2009/08/08/an-easier-way-to-manage-inotifypropertychanged.aspx
Default constructor.
Constructor initializing field.
The initial value to wrap.
Implicit operator allowing use of value.
The value being wrapped.
Event fired when the value changes.
List that raises an event when the contents are modified.
Wraps a List<T>.
The type of elements in the list.
Copies the elements of the list to a new array.
An array containing copies of the elements of the list.
Adds the elements of the specified collection to the end of the list.
Presents an error dialog consisting of a title, a message and a detailed message.
Creates the dialog.
Shows the error dialog.
The owner window, or null if none.
The error title.
The error message.
The error details.
Thrown if ,
or is null.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Gets or sets the error title.
Thrown if is null.
Gets or sets the error message.
Thrown if is null.
Gets or sets the error details.
Thrown if is null.
Gets or sets whether the error details panel is visible.
The Gallio.UI.Controls namespace contains types for reusable Windows Forms custom controls.
An extension of the Button class that displays the "Shield" icon when
privilege elevation is required.
Creates a shield button.
Raises the event.
The event arguments.
An event raised when the value of has changed.
Gets or sets whether the shield icon should be displayed.
Installs an unhandled exception handler that displays an error dialog.
Installs the handler.
The handler is automatically removed when the form is disposed.
The owner window.
Thrown if is null.
Thrown if there is already a handler installed for a different owner.
Uninstalls the handler.
Runs an application
The main form.
Marker class for Events.
An event aggregator.
http://martinfowler.com/eaaDev/EventAggregator.html
Send an event to all interested parties (synchronous).
The sender of the message.
The message to send.
The type of event.
Ctor.
A service locator used to find registered handlers.
Proxy event handler.
The type of event.
Marker interface used by the EventAggregator to
locate classes interested in an event.
The type of event.
Handle an .
The event to handle.
Ctor.
The handler to proxy for.
Wraps an ICommand and provides
hints for the UI.
Inspired by the WPF Command pattern.
http://msdn.microsoft.com/en-us/library/system.windows.input.icommand.aspx
Default constructor.
The command that will be executed.
Whether the command can currently be executed, or not.
Defaults to true.
The text description of the command.
The shortcut to use for the command.
The image to use for the command.
A task queue, for use by the .
Adds a task to the specified queue.
The id of the queue to use.
An to queue.
Get the next task for the specified queue.
The id of the queue to use.
An , or null if the queue is empty.
Removes all tasks from the specified queue.
The id of the queue to use.
Takes care of running queued tasks.
Run the next task for a named queue, if there is one.
The id of the queue to use.
Event fired when a task is cancelled.
Ctor.
The id of the queue.
The id of the queue.
Event fired when a task is completed.
Ctor.
The id of the queue.
The id of the queue.
Manages multiple queues of tasks.
Queue id is an arbitrary string, used as a key.
Ctor.
Adds a task to the specified queue.
The id of the queue to use.
An to queue.
Get the next task for the specified queue.
The id of the queue to use.
An , or null if the queue is empty.
Removes all tasks from the specified queue.
The id of the queue to use.
Ctor.
The task queue to use.
An event aggregator.
An exception policy.
Command pattern.
Run a task (with progress information).
The progress monitor.
A task manager for UI applications.
Run a task as a background action (uses ThreadPool).
No progress information will be displayed.
The action to perform.
Empty the queue of tasks.
Add a task to the queue. If nothing is in the queue or
running, then the task will be executed.
The command to queue.
Progress dialog.
Default constructor.
The progress monitor to display information for.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Default constructor.
A task queue.
A task runner.
Event fired when a task is started.
Ctor.
The queue id.
A progress monitor.
The id of the queue.
A progress monitor attached to the task.
Impl of a tool strip progress bar for Gallio progress monitoring.
Total work to do.
Total work to do.
An optimized HTML renderer for individual test step runs and their descendants.
Attempting to load flash content in a 64bit process on Windows is doomed to failure
because Adobe does not ship a 64bit version of the Flash plug-in at this time.
Unfortunately instead of failing gracefully, what happens is that Windows pops up a
warning dialog (when the browser is disposed) complaining about a missing flash.ocx.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
The Gallio.UI.Reports namespace contains types for formatting reports for
display in a Windows Forms UI.
Displays a summary of a set of test step runs.
This control is optimized to display individual test run results to the user on
demand more quickly than could be done if we had to show the whole report at once.
Creates a test step run viewer.
Raises the event.
An that contains the event data.
Clears the contents of the report viewer and discards all cached content.
Displays information about a set of test step run.
The test step runs.
Displays information about a set of test step runs, using additional
information from the test model when available.
The test step runs.
The test model data, or null if not available.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Node check box.
Node check box.
Gets the value from the node.
The node.
The value.
Sets the check state of the node.
The node.
The value.
Gets the new check state.
The state.
The new check state.
A three-state node.
Ctor.
The text to display.
Returns the 'combined' state for all siblings of a node.
Manages updating related child and parent nodes of this instance.
Recursively update child node's state based on the state of this node.
Allows inheriting classes to block cascading check state.
The child to evaluate.
The proposed check state.
True if the check state can be cascaded, otherwise false.
Recursively update parent node state based on the current state of this node.
The check state of the node