Embedded Object Plugin

The section describes how to create an Embedded object and outlines Embedded object’s functions, and events.

Definition File

This file is as defined above (see the Object Definition File section). The JSON object in the definition file must be put in the ‘proiv.plugins.eo.definitions’ object.

proiv.plugins.eo.definitions.TreeControl = {

Creating an Embedded Object

An Embedded object should use the node supplied in the object definition in the constructor function and should not change the style of other properties of this node. The Embedded object may change the contents of this node or add child nodes to it. The child nodes are fully under the control of the Embedded object.

The constructor function must be in the ‘proiv.plugins.eo.constructors’ object.

For example:

proiv.plugins.eo.constructors.MyTreeControl = function(objectDefinition) {

Embedded Object Interface

The constructor function returns an object that is used by the Open Client to control the Embedded object. This interface object must have the specific functions set up.

Comment on this topic

Topic ID: 800063