function SearchResultsView(model, panelID, panelName, type) {
        var panelHtml  = Mustache.render(searchPanelTemplate, {panelID: panelID});

        this._panel    = WorkspaceManager.createBottomPanel(panelName, $(panelHtml), 100);
        this._$summary = this._panel.$panel.find(".title");
        this._$table   = this._panel.$panel.find(".table-container");
        this._model    = model;
        this._searchResultsType = type;
    }
@constructor
Handles the search results panel.
Dispatches the following events:
     replaceBatch - when the "Replace" button is clicked.
     close - when the panel is closed.

@param {SearchModel} model The model that this view is showing.
@param {string} panelID The CSS ID to use for the panel.
@param {string} panelName The name to use for the panel, as passed to WorkspaceManager.createBottomPanel().
@param {string} type type to identify if it is reference search or string match serach