Monkey DOM

org.eclipse.eclipsemonkey.dom

Rule Studio 6.5

Defines the variable available in the javascripts which are run in eclpise monkey

<!ELEMENT extension (dom)*>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT dom EMPTY>

<!ATTLIST dom

id           CDATA #IMPLIED

variableName CDATA #REQUIRED

class        CDATA #REQUIRED

resource     CDATA #IMPLIED

name         CDATA #IMPLIED>


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.