Request Monitor Filter
Identifier:
org.eclipse.atf.mozilla.ide.ui.filter
Since:
1.0
Description:
This extension point allows filters to be declared that will be placed on the toolbar of the Request Monitor view.
Configuration Markup:
<!ELEMENT extension (filter)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT filter EMPTY>
<!ATTLIST filter
class CDATA #REQUIRED
tooltip CDATA #REQUIRED
icon CDATA #REQUIRED>
- class - The filter class that implements ViewerFilter and will be added to the Request Monitor table when selected
- tooltip - The tooltip displayed when hovering over this action
- icon - The file path of the icon display for this action on the toolbar
Examples:
An example contribution of a filter for displaying requests that have timed out. The filter class is specified along with a tooltip and icon. The icon specified will be displayed on the toolbar of the Request Monitor view with the tooltip displaying when the icon is moused over.
<extension
point=
"org.eclipse.atf.mozilla.ide.ui.filter"
>
<filter
class=
"com.xyz.TimeoutFilter"
tooltip=
"Show timeouts only."
icon=
"icons/timeout.gif"
/>
</extension>
API Information:
The class specified must implement the org.eclipse.jface.viewers.ViewerFilter.
Supplied Implementation:
The current ATF contributes to this extension point for filtering Image, CSS, Javascript, and HTML requests. These are found in the org.eclipse.mozilla.ide.ui.xhrmon.model package.