Skip to main content

ICommonUI interface

Namespace: NextDesign.Desktop

Description

Provides access to UI such as basic dialogs.

Affiliation area

NameDescription
User interfaceA group of APIs that access the UI such as the editor and navigator.

Inherit Base

NameDescription
IUIElementProvides access to UI elements.

Method

NameDescription
MessageBox[Obsolete] View the message.
SelectRevisionDisplays 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.
ShowConfirmDialogShows the confirmation dialog.
Returns the operation result of the dialog (OK=true/Cancel=false).
ShowInformationDialogShows the notification dialog.
ShowMessageBoxShows the message.
ShowOpenFileDialogShows the open file dialog and gets the path of the file selected in the dialog.
Returns null if the dialog was canceled.
ShowRevisionsDisplays 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.
ShowSaveFileDialogShows the save file dialog and gets the path of the file selected in the dialog.
Returns null if the dialog was canceled.
ShowSelectFolderDialogShows the Open Folder dialog and gets the path of the folder selected in the dialog.
Returns null if the dialog was canceled.