IApplication interface
Namespace: NextDesign.Desktop
Description
Shared variables given to the extension execution environment.
Scripts can access various information about the application through these variables.
Belonging area
Name | Description |
---|---|
Global | A set of APIs to access the extension execution environment and execution status. |
Property
Name | Description |
---|---|
Commands | Command manager |
CustomUI | A registry for custom user interface extensions. |
Diff | Difference extraction object |
EditionId | Edition identification name |
EditionShortName | Edition short name |
Env | Application execution environment |
Errors | Error list |
Extensions | Extension management |
FileUtil | File operation utility object |
Output | Output |
Resources | Resource manipulation utilities |
Search | Search manager |
Util | General utility objects |
Version | Application version number |
Window | Workspace window UI manipulation objects |
Workspace | Workspace |
Method
Name | Description |
---|---|
CreateCommandParams | Create command parameters. |
CreateScriptParams | Create script parameters. |
CreateSearch | [Obsolete] Creates a search object. |
ExecuteCommand | Executes the command with the specified identifier. |
ExecuteScript | Loads and executes the specified script file. |
ExecuteScriptCode | Executes the given script code. |
GetFeatureValue | Gets the specified key (attribute) value of the specified feature in the current edition. The value can be obtained regardless of whether the specified feature is enabled or disabled. Note that if the specified feature is not found, the value returns null. Note that if the specified feature key name is not found, the value returns null. |
IsFeatureEnabled | Checks whether the specified feature is enabled in the current edition. |
Quit | Quits the application. |
Restart | Requests the application to be restarted. If a project is open when the restart is requested, the same project will be opened after the restart. If the restart fails, it returns false. |
ThrowUserException | Throws a user exception. You can use this method to explicitly notify an exception in the extension's runtime exception handling. |
Related items
Name | Description |
---|---|
Shared variables | Shared variables given to the extension execution environment. Through these variables, your scripts can access various information about your application. |