ICommonUI interface
Namespace: NextDesign.Desktop
Description
Provides access to UI such as basic dialogs.
Affiliation area
Name | Description |
---|---|
User interface | A group of APIs that access the UI such as the editor and navigator. |
Inherit Base
Name | Description |
---|---|
IUIElement | Provides access to UI elements. |
Method
Name | Description |
---|---|
MessageBox | [Obsolete] View the message. |
SelectRevision | Displays the revision list of the specified model file in the current project and gets the selected revision. If the model file is not specified, the revision list of the current project is displayed. Returns null if no revision was selected. If the specified model file is not under the control of the current project, or if the current project is not linked to SCM, an exception will be thrown. |
ShowConfirmDialog | Shows the confirmation dialog. Returns the operation result of the dialog (OK=true/Cancel=false). |
ShowInformationDialog | Shows the notification dialog. |
ShowMessageBox | Shows the message. |
ShowOpenFileDialog | Shows the open file dialog and gets the path of the file selected in the dialog. Returns null if the dialog was canceled. |
ShowRevisions | Displays a list of revisions of the specified model file in the current project. If the model file is not specified, the revision list of the current project is displayed. If the specified model file is not under the control of the current project, or if the current project is not linked to SCM, an exception will be thrown. |
ShowSaveFileDialog | Shows the save file dialog and gets the path of the file selected in the dialog. Returns null if the dialog was canceled. |
ShowSelectFolderDialog | Shows the Open Folder dialog and gets the path of the folder selected in the dialog. Returns null if the dialog was canceled. |