IWorkspaceState Interface
Namespace: NextDesign.Desktop
Description
Workspace state management object.
Belonging area
Name | Description |
---|---|
Workspace Project | A set of APIs to access the application workspace and projects open in the application. |
Property
Name | Description |
---|---|
ActiveEditorSelectedModel | Selected element in active editor |
ActiveEditorSelectedModels | Selected elements (multiple) in active editor |
CurrentModel | Current model in current workspace |
DisplayMode | Display mode |
InspectedObject | Inspected element The element currently being displayed in the inspector. If there are no elements to display (i.e. the Inspector tab is not displayed), this will be null. |
InspectedObjects | Inspected elements (multiple) The elements (multiple) currently being displayed in the Inspector. If there are no elements to display in the Inspector, this will be an empty collection. It does not necessarily include elements that can be obtained with IWorkspaceState.InspectedObject{get;}. |
Method
Name | Description |
---|---|
SetActiveEditorSelectedModel | Sets the selected element of the active editor. This API only changes the stored state, and does not change the selection state on the screen. If you get the selected elements with IWorkspaceState.ActiveEditorSelectedModel{get;}, you can get the value changed by this API. If you execute this function on the main editor, the model to be displayed in the sub-editor will be switched if the sub-editor's display mode is "Detail" mode. If you specify a model other than the project being edited, nothing will be done and the function will terminate normally. |
SetActiveEditorSelectedModels | Sets the selected elements (multiple) in the active editor. This API only changes the retained state, and the selection state on the screen will not change. If you get the selected elements with IWorkspaceState.ActiveEditorSelectedModels{get;}, you can get the value changed by this API. It does not necessarily include the selected elements that can be obtained with IWorkspaceState.ActiveEditorSelectedModel{get;}. If you specify a model other than the project you are editing, it will be excluded from the selected elements. |
SetCurrentModel | Sets the current model of the current workspace. |
SetInspectedObject | Sets the elements to be inspected. |
SetInspectedObjects | Sets the elements (multiple) to be inspected. |