Browser View

org.eclipse.atf.mozilla.ide.ui.view

1.0

This extension point allows views to be declared that will be created by opened browsers.

<!ELEMENT extension (view)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT view EMPTY>

<!ATTLIST view

class   CDATA #REQUIRED

type    CDATA #REQUIRED

browser CDATA #IMPLIED>


<extension point=

"org.eclipse.atf.mozilla.ide.ui.view"

>

<view browser=

"Mozilla"

type=

"org.eclipse.atf.mozilla.ide.ui.inspector.IDOMInspector"

class=

"com.xyz.MyDOMInspectorPage"

/>

</extension>

The specified class must have a default constructor and if it implements the org.eclipse.atf.mozilla.ide.ui.browser.views.IBrowserView interface then the setBrowser method will be called with the parameter of the browser creating the view.

ATF uses this extension point to contribute the DOM Inspector, DOM Source, CSS, and Request Monitor views.