Skip to main content

IEditorView Interface

Namespace: NextDesign.Desktop

Description

Common interface for main and sub-editor UIs.

Belonging Area

NameDescription
User InterfaceA set of APIs to access UIs such as editors and navigators.

Inherit Base

NameDescription
IUIElementProvides access to UI elements.

Property

NameDescription
DiffEditorDiff Editor
If the editor view does not have a diff editor (※), returns null.

(※)The following views are applicable.
・Configuration Editor
・Custom Editor
EditorCurrent Editor
HasDiffEditorChecks whether this editor view has a diff editor.
SelectedModelsModels selected in the editor
The order of the collection of selected elements is unspecified.
If no models are selected, returns an empty collection.
ViewDefinitionsList of view definitions that can be selected in this editor.
If there are no view definitions to select, returns an empty collection.

Method

NameDescription
GetImageGets a bitmap image of the view displayed in the editor.
If the image cannot be obtained, returns null.
SaveImageSaves a bitmap image of the view displayed in the editor to the specified path.
Images are saved in PNG, JPEG, BMP, GIF, and XPS formats.
The save format is determined from the extension of the specified file path to save to, and if the format cannot be determined from the extension, PNG format is used.
SelectViewDefinitionSwitches the view displayed in the editor.
Only view definitions that correspond to the editor's model and can be obtained from ViewDefinitions can be specified in the view definition.