Browser Toolbar
Identifier:
org.eclipse.atf.mozilla.ide.ui.toolbar
Since:
1.0
Description:
This extension point allows toolbars to be contributed to the browser.
Configuration Markup:
<!ELEMENT extension (toolbar)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT toolbar EMPTY>
<!ATTLIST toolbar
class CDATA #REQUIRED
browser CDATA #REQUIRED
icon CDATA #IMPLIED
show (true | false)
name CDATA #REQUIRED>
- class - The toolbar class that must extend BrowserToolbar
- browser - The browser that this toolbar is valid for. (i.e "Mozilla")
- icon - The file path to the icon to display in the toolbar menu
- show - Boolean with true displaying the toolbar when the browser is opened, false hides the toolbar on startup.
- name - Name of the toolbar, will be used for tooltip and menu text.
Examples:
This example creates the com.xyz.AjaxMetricsToolbar for the Mozilla browser. The toolbar will be displayed when the browser is opened. The tooltip and menu text will contain the name Ajax Metrics Bar.
<extension
point=
"org.eclipse.atf.mozilla.ide.ui.toolbar"
>
<toolbar
browser=
"Mozilla"
class=
"com.xyz.AjaxMetricsToolbar"
name=
"Ajax Metrics Bar"
show=
"true"
/>
</extension>
API Information:
The specified class must extend org.eclipse.atf.mozilla.ide.ui.browser.toolbar.BrowserToolbar
Supplied Implementation:
ATF provides a selection path toolbar (DOMSelectionBar) that can be found in the org.eclipse.atf.mozilla.ide.ui.browser.toolbar package.