File: /home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/preview-reply.js
/**
*
* Allows the results of a preview to be sent to the preview requester.
*
* @module ScopeJS
*
* @class PreviewReply
*/
function PreviewReply(){}
PreviewReply.prototype = {
/**
* Registers a list of column layouts for the current preview
* @method register_layout
* @param layout {Array of Column layout}
*/
register_layout: function(layout) {
},
/**
* Sends widget definitions to the sender of the preview query
* @method push
* @param widget_list {Array of PreviewWidget}
*/
push: function(widget_list) {
},
/**
* Informs the source of a query that the query results are complete
* @method finished
* @return Boolean
*/
finished: function() {
},
/**
* Informs the source of a query that the query was terminated due to an error
* @method error
* @return error String error
*/
error: function(error) {
}
};