mozilla
Your Search Results

    addonsManager

    This class simplifies the access to the Add-ons Manager.

    Method overview

    addonsManager();
    close();
    string getListItem(in string name, in string value);
    string getPane();
    boolean isPluginEnabled(in string id);
    open(in MozMillController controller);
    search(in string searchTerm);
    setPane(in string paneId);
    setPluginState(in string id, in boolean enable);

    Attributes

    Attribute Type Description
    controller
    MozMillController Controller of the browser window to operate on.
    searchField
    ElemBase Get the search bar element.
    searchFieldButton
    ElemBase Get the drop down button element of the search bar.

    Methods

    addonsManager()

    Constructor of the class.

    addonsManager();
    
    Parameters

    None.

    close()

    Closes the Add-ons Manager window.

    close();
    
    Parameters

    None.

    getListItem()

    Get the specified element string from the listbox of the currently selected pane.

    string getListItem(
      in string name,
      in string value
    );
    Parameters
    name
    nodeName of the specified listbox element.
    value
    nodeValue of the specified listbox element.
    Return value

    Element lookup string of the listbox entry.

    getPane()

    Gets the currently selected pane.

    string getPane();
    Return value

    ID of the currently selected pane. See setPane() for supported values.

    isPluginEnabled()

    Reports whether or not the specified plug-in is enabled..

    boolean isPluginEnabled(
      in string id
    );
    Parameters
    id
    AddonID of the plug-in (as shown by the DOM Inspector).
    Return value

    true if the plug-in is enabled.

    open()

    Opens the Add-ons Manager window.

    open(
      in MozMillController controller
    );
    Parameters
    controller
    Mozmill controller of the browser window to operate on.

    search()

    Searches for the specified search term inside the "Get Add-ons" pane.

    search(
      in string searchTerm
    );
    Parameters
    searchTerm
    Term to search for.

    setPane()

    Sets the specified pane as the active one.

    setPane(
      in string paneId
    );
    Parameters
    paneId
    ID of the pane to activate. Supported IDs are search, extensions, themes, locales, plugins, updates, and installs.

    setPluginState()

    Sets the enabled state of the specified plug-in.

    setPluginState(
      in string id,
      in boolean enable
    );
    Parameters
    id
    AddonID of the plug-in (as shown by the DOM Inspector).
    enable
    true if the plug-in should be enabled. To disable a plug-in use false.

    Document Tags and Contributors

    Contributors to this page: Sheppy, Whimboo
    Last updated by: Sheppy,