Monkey DOM
Identifier:
org.eclipse.eclipsemonkey.dom
Since:
Rule Studio 6.5
Description:
Defines the variable available in the javascripts which are run in eclpise monkey
Configuration Markup:
<!ELEMENT extension (dom)*>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT dom EMPTY>
<!ATTLIST dom
id CDATA #IMPLIED
variableName CDATA #REQUIRED
class CDATA #REQUIRED
resource CDATA #IMPLIED
name CDATA #IMPLIED>
- id - specifies a unique identifier for this extension
- variableName - the Javascript global variable that will hold this DOM
- class - the IMonkeyDOMFactory that will generate the root DOM object
- resource - the class type generated by this DOM
- name -
Examples:
API Information:
The dom extension must be associated with a IMonkeyDOMFactory class. The IMonkeyDOMFactory
has to provide a public Object getDOMroot() method which is returning an instance of the object
class to bind.
This plugin is under the EPL license.