IWorkspaceState interface
Namespace: NextDesign.Desktop
Description
Workspace state management object.
Area you belong to
Name | Description |
---|---|
Workspace Project | This is a group of APIs that access the application's work area and the projects open in the application. |
Property
Name | Description |
---|---|
ActiveEditorSelectedModel | Active editor selection element |
ActiveEditorSelectedModels | Active editor selected elements (multiple) |
CurrentModel | Current model in current workspace |
DisplayMode | Display Mode |
InspectedObject | Element to be inspected The element that is currently displayed in the inspector. If there is no element to display (that is, the inspector tab is not displayed), it will be null. |
InspectedObjects | Elements to be inspected Elements that are currently displayed in the inspector . If there are no elements to display in the inspector, it will be an empty collection. IWorkspaceState.InspectedObject does not necessarily contain elements that can be retrieved with{get;}. |
Method
Name | Description |
---|---|
SetActiveEditorSelectedModel | Sets the active editor's selected element. When executed on the main editor, if the display mode of the sub editor is "Detail" mode, the model to be displayed in the sub editor will be switched. If you specify a model other than the project being edited, nothing will be done and the process will end normally. |
SetActiveEditorSelectedModels | Sets the active editor's selected elements. If you specify a model other than the project being edited, it will be excluded from the selected elements. |
SetCurrentModel | Sets the current model in the current workspace. |
SetInspectedObject | Sets the inspected element. |
SetInspectedObjects | Set the elements to be inspected. |