IWorkbench Methods |
The IWorkbench type exposes the following members.
Name | Description | |
---|---|---|
![]() | Close | Closes the workbench by closing the main window of the workbench. |
![]() | CloseAllViews | Closes all views. |
![]() | CloseContent | Closes the workbench view content. |
![]() | ClosePad | 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. |
![]() | CreateMemento |
Creates a new memento from the state.
(Inherited from IMementoCapable) |
![]() | EhProjectChanged | Informs the workbench that the project instance has changed. |
![]() | GetViewModelT | Gets the content for the provided document. |
![]() | GetViewModelsT | Gets the content for the provided document. |
![]() | SaveCompleteWorkbenchStateAndLayoutInPropertyService | |
![]() | SetMemento |
Sets the state, using the given memento.
(Inherited from IMementoCapable) |
![]() | ShowPad | Shows the provided pad content in the pad area. |
![]() | ShowView | Shows the view content. The type of object content depends on the GUI type. SharpDevelop's GUI requires an object of type IViewContent; |