Click or drag to resize

IWorkbench Interface

Summary description for IWorkbench.

Namespace: Altaxo.Gui.Workbench
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IWorkbench : INotifyPropertyChanged, 
	IMementoCapable

The IWorkbench type exposes the following members.

Properties
 NameDescription
Public propertyActiveContent The active content, depending on where the focus currently is. If a document is currently active, this will be equal to ActiveViewContent, if a pad has the focus, this property will return the IPadContent instance.
Public propertyActiveViewContent The active view content inside the active workbench window.
Public propertyFullScreen Gets or sets a value indicating whether the workbench is shown full screen, or not.
Public propertyPadContentCollection A collection in which all content which is shown as pads (not as documents).
Public propertyViewContentCollection A collection in which all opened view contents (including all secondary view contents) are saved.
Public propertyViewObjectGets the corresponding workbench GUI object, i.e for Windows the main windows.
Top
Methods
 NameDescription
Public methodClose Closes the workbench by closing the main window of the workbench.
Public methodCloseAllViews Closes all views.
Public methodCloseContent Closes the workbench view content.
Public methodClosePad Closes a pad. Be aware that only those pads could be closed, which are treated as documents, but are located in the pad area. Those pads don't have a pad descriptor. Pads that have a pad descriptor can not be closed by this command. To hide them, set the IsVisible property to false.
Public methodCreateMemento Creates a new memento from the state.
(Inherited from IMementoCapable)
Public methodEhProjectChanged Informs the workbench that the project instance has changed.
Public methodGetViewModelT Gets the content for the provided document.
Public methodGetViewModelsT Gets the content for the provided document.
Public methodSaveCompleteWorkbenchStateAndLayoutInPropertyService 
Public methodSetMemento Sets the state, using the given memento.
(Inherited from IMementoCapable)
Public methodShowPad Shows the provided pad content in the pad area.
Public methodShowView Shows the view content. The type of object content depends on the GUI type. SharpDevelop's GUI requires an object of type IViewContent;
Top
Events
 NameDescription
Public eventActiveContentChanged Occurs when the active view content changed. When active view content changed, first, the corresponding PropertyChanged event will be raised. Only after that, the event here will be raised.
Public eventActiveViewContentChanged Occurs when the active view content changed. When active view content changed, first, the PropertyChanged event will be raised. Only after that, the event here will be raised.
Public eventPropertyChangedOccurs when a property value changes.
(Inherited from INotifyPropertyChanged)
Top
See Also