rendered paste bodySLShowcase.View.FilterPanelCloudRenderer.prototype = {
toString: function() {
return "[FilterPanelCloudRenderer]"
},
initialize: function() {
this._eventDispatcher = StepChange.MVC.EventDispatcher.getInstance();
this._model = SLShowcase.Model.ModelLocator.getInstance();
this._model.get_appState().add_propertyChanged(Function.createDelegate(this, this._onPropertyChanged));
this._controls = [this._cloud = $addFromElement(this._control, SLShowcase.View.Cloud, $assetManager.getElement("Cloud")), this._searchFilter = this.addChildFromXaml(SLShowcase.View.SearchFilterControl, $assetManager.getText("SearchFilterControl"), {
top: 130,
label: "Search Terms:",
active: false
}, {
Clear: Function.createDelegate(this, this._onFilterClear)
}), this._sortFilter = this.addChildFromXaml(SLShowcase.View.SortFilterControl, $assetManager.getText("SortFilterControl"), {
top: 130,
label: "Sort By:",
active: true
})];