-
Notifications
You must be signed in to change notification settings - Fork 4
M_Aml_Editor_Plugin_Contracts_IAMLEditorPlugin_PublishAutomationMLFileAndObject
AutomationML Editor
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.
Namespace: Aml.Editor.Plugin.Contracts
Assembly: AML.Editor.PluginContracts (in AML.Editor.PluginContracts.dll) Version: 2.1
C#
void PublishAutomationMLFileAndObject(
string amlFilePath,
CAEXBasicObject selectedObject
)VB
Sub PublishAutomationMLFileAndObject (
amlFilePath As String,
selectedObject As CAEXBasicObject
)C++
void PublishAutomationMLFileAndObject(
String^ amlFilePath,
CAEXBasicObject^ selectedObject
)
- amlFilePath
- Type: System.String
The AML file path. - selectedObject
- Type: CAEXBasicObject
The selected CAEX Object.
// To Load the content of the AutomationML Document the AmlEngine can be used
var document = CAECDocument.LoadFromFile (amlFilePath); ///
IAMLEditorPlugin Interface
Aml.Editor.Plugin.Contracts Namespace
The AutomationML Editor PlugIn Implementation Guide
Copyright © AutomationML e.V. 2018
Send comments on this topic to AutomationML office.
- AutomationML Editor API Reference Guide
- Version History
-
AutomationML Editor Plugin Development
- PluginBase Class
- DockPositionEnum Enumeration
- IAMLEditorExternalsPlugin Interface
- IAMLEditorPlugin Interface
- IAMLEditorPluginMetadata Interface
- IAMLEditorView Interface
- IAMLEditorViewCollection Interface
- INotifyAMLDocumentLoad Interface
- INotifyViewActivation Interface
- ISupportsSelection Interface
- IToolBarIntegration Interface
- PluginCommand Class
- PluginCommandsEnum Enumeration
- Aml.Editor.Plugin.Contracts.Commanding Namespace