#
Browser View

###### Identifier:

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

###### Since:

1.0

###### Description:

This extension point allows views to be declared that will be created by opened browsers. This extension point allows views that request a certain adapter from the browser to obtain an instance of that class specified in the extension point from the browser.

###### Configuration Markup:

<!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>

- class - The view class to be created by the browser
- type - The adapter class for this view
- browser - The browser this view is valid for

###### Examples:

The following example creates the com.xyz.MyDOMInspectorPage for the adapter type org.eclipse.atf.mozilla.ide.ui.inspector.IDOMInspector for the Mozilla browser type.

    <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>

###### API Information:

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.

###### Supplied Implementation:

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