Skip to content

T_Aml_Editor_Plugin_Contracts_Commanding_AMLEditorCommandEnum

AutomationML edited this page Jun 24, 2019 · 1 revision

AMLEditorCommandEnum Enumeration

AutomationML Editor

The available commands of the AMLEditor, which can be invoked by a PlugIn, implementing the IEditorCommanding interface.

Namespace: Aml.Editor.Plugin.Contracts.Commanding
Assembly: AML.Editor.PluginContracts (in AML.Editor.PluginContracts.dll) Version: 2.1

Syntax

C#

public enum AMLEditorCommandEnum

VB

Public Enumeration AMLEditorCommandEnum

C++

public enum class AMLEditorCommandEnum

Members

 

Member name Value Description
CloseFileCommand 0 The close file command. Use this command with the CloseCAEXFileCommandArguments callback arguments. The command executes identical to the close command invoked from the File/Close menu item of the AutomationML Editor.
SaveFileCommand 1 The save file command. Use this command with the SaveCAEXFileCommandArguments callback arguments. The command executes identical to the save command invoked from the File/Save menu item of the AutomationML Editor.
OpenFileCommand 2 The open file command. Use this command with the OpenFileCommandArguments callback arguments. The command executes nearly identical to the open command invoked from the File/Open menu item, except that no open file browser dialog is presented to the user.
NewFileCommand 3 The new file command. Use this command with the NewCAEXFileCommandArguments callback arguments. The command executes identical to the close command invoked from the File/New menu item. The new file's CAEX schema is set to the currently selected schema.
GetCAEXFileCommand 4 The get current CAEX file command. Use this command with the GetCAEXFileCommandArguments callback arguments.
ImportLibrariesCommand 5 The command to insert AML libraries from an external file into the current document. Use this command with the ImportLibrariesCommandArguments callback arguments. The command executes nearly identical to the import from file command invoked from the File/ImportFromFile menu item, except that no selection dialog is presented to the user, if the command mode is set to silent. In silent mode, libraries are automatically transformed if a schema transformation is needed.

See Also

Reference

Aml.Editor.Plugin.Contracts.Commanding Namespace

Clone this wiki locally