Skip to content

Methods_T_Aml_Editor_Plugin_Contracts_Commanding_IEditorCommanding

AutomationML edited this page Jun 24, 2019 · 1 revision

IEditorCommanding Methods

AutomationML Editor

The IEditorCommanding type exposes the following members.

Methods

 

Name Description
Public method ChangeAMLFilePath Changes the current amlFilePath. The Host Application will call this method when the PlugIns IsReactive Property is set to true and the Currently opened AutomationML File changes in the AMLEditor Host Application. (Inherited from IAMLEditorPlugin.)
Public method ChangeSelectedObject Changes the selected object. The Host Application will call this method when the PlugIns IsReactive Property is set to true and the Current Selection changes in the AMLEditor Host Application. (Inherited from IAMLEditorPlugin.)
Public methodCode example ExecuteCommand This Method enables the AutomationML Editor to execute a command. Only those commands are executable, which are identifiable via the PluginCommandsEnum. (Inherited from IAMLEditorPlugin.)
Public methodCode example PublishAutomationMLFileAndObject PublishAutomationMLFileAndObject after the PlugIn is activated. This Method is called by the AutomationML Editor when the PluginActivated Event is handled. The AutomationML Editor will send the actual Path of the AutomationML File and the actual selected Object to the PlugIn, when an AutomationML File is currently open. If the Activation happened, when no AutomationML File was opened so far, the PlugIn will be informed as soon as this will happen, but only if the IsReactive Flag is set to true. (Inherited from IAMLEditorPlugin.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method CloseCAEXFile Calls the command, to close the CAEX file. (Defined by EditorCommandBase.)
Public Extension Method GetCAEXFileCommand Calls the command, to get the currently edited CAEX file from the AutomationML editor. (Defined by EditorCommandBase.)
Public Extension Method ImportLibraries Calls the command, to open the CAEX file. (Defined by EditorCommandBase.)
Public Extension Method NewCAEXFile Calls the command, to create a new CAEX file. (Defined by EditorCommandBase.)
Public Extension Method OpenCAEXFile(String, OpenFileCommandArguments) Overloaded.
Calls the command, to open the CAEX file. (Defined by EditorCommandBase.)
Public Extension Method OpenCAEXFile(Stream, OpenFileCommandArguments) Overloaded.
Calls the command, to open the CAEX file from a stream. (Defined by EditorCommandBase.)
Public Extension Method SaveCAEXFile Calls the command, to save the CAEX file. (Defined by EditorCommandBase.)
  Back to Top

See Also

Reference

IEditorCommanding Interface
Aml.Editor.Plugin.Contracts.Commanding Namespace

Clone this wiki locally