Skip to content

Methods_T_Aml_Editor_Plugin_Contracts_INotifyAMLDocumentLoad

AutomationML edited this page Jun 24, 2019 · 1 revision

INotifyAMLDocumentLoad Methods

AutomationML Editor

The INotifyAMLDocumentLoad type exposes the following members.

Methods

 

Name Description
Public method ApplicationClose Method called by the AutomationML editor, when the editor application is closed.
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 method DocumentLoaded Method called by the AutomationML editor, when a document is loaded.
Public method DocumentUnLoaded Method called by the AutomationML editor, when the current document is unloaded.
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

See Also

Reference

INotifyAMLDocumentLoad Interface
Aml.Editor.Plugin.Contracts Namespace

Clone this wiki locally