IView |
public interface IViewContent : IWorkbenchContent, IMVCController, IDisposable, INotifyPropertyChanged, IServiceProvider, ICanBeDirty
The IViewContent type exposes the following members.
Name | Description | |
---|---|---|
CloseCommand | ||
CloseWithSolution | Gets whether this view content should be closed when the solution is closed. | |
InfoTip | The tooltip that will be shown when you hover the mouse over the title | |
InitiallyFocusedControl |
Gets the control which has focus initially.
(Inherited from IWorkbenchContent) | |
IsActive | (Inherited from IWorkbenchContent) | |
IsDirty |
If this property returns true the content has changed since
the last load/save operation.
(Inherited from ICanBeDirty) | |
IsDisposed | ||
IsReadOnly | Gets if the view content is read-only (can be saved only when choosing another file name). | |
IsSelected |
Gets or sets a value indicating whether this pad or document is selected.
If this is a document, it is selected if the tab of the document is selected.
(Inherited from IWorkbenchContent) | |
IsViewOnly | Gets if the view content is view-only (cannot be saved at all). | |
IsVisible |
Gets or sets the visibility of a pad or document.
If false for a pad, the pad is not visible. If false for a document, the document tab header is not visible (but the document itself maybe visible).
If true for a pad, the pad may be visible or is collapsed. If true for a document, the document tab header is visible (if it fits in the bar),
and the document is visible, if it is selected, too.
(Inherited from IWorkbenchContent) | |
ModelObject |
Returns the model (document) that this controller manages.
(Inherited from IMVCController) | |
Title |
Returns the title of the pad (IPadContent), or the text on the tab page of the document window (IViewContent).
(Inherited from IWorkbenchContent) | |
ViewObject |
Returns the Gui element that shows the model to the user.
(Inherited from IMVCController) |
Name | Description | |
---|---|---|
BuildNavPoint | Builds an INavigationPoint for the current position. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
GetService | Gets the service object of the specified type. (Inherited from IServiceProvider) | |
SetDisposeInProgress | Announces that this view content is about to be disposed very soon. The view content should remain passiv (e.g. should not react to events any more), but should not release its resources yet (this is done later in Dispose). |
Name | Description | |
---|---|---|
Disposed | ||
IsDirtyChanged |
Is called when the content is changed after a save/load operation
and this signals that changes could be saved.
(Inherited from ICanBeDirty) | |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged) |