Click or drag to resize

IWorkbench Methods

The IWorkbench type exposes the following members.

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
See Also