-
Notifications
You must be signed in to change notification settings - Fork 4
M_Aml_Editor_Plugin_Base_PluginBase_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.Base
Assembly: AML.Editor.PluginContracts (in AML.Editor.PluginContracts.dll) Version: 2.1
C#
public abstract void PublishAutomationMLFileAndObject(
string amlFilePath,
CAEXBasicObject selectedObject
)VB
Public MustOverride Sub PublishAutomationMLFileAndObject (
amlFilePath As String,
selectedObject As CAEXBasicObject
)C++
public:
virtual void PublishAutomationMLFileAndObject(
String^ amlFilePath,
CAEXBasicObject^ selectedObject
) abstract
- amlFilePath
- Type: System.String
The AML file path. - selectedObject
- Type: CAEXBasicObject
The selected CAEX Object.
IAMLEditorPlugin.PublishAutomationMLFileAndObject(String, CAEXBasicObject)
// To Load the content of the AutomationML Document the AmlEngine can be used
var document = CAECDocument.LoadFromFile (amlFilePath);
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