bundles/org.eclipse.orion.client.ui/web/gcli/gcli/ui/output_terminal.js
function OutputTerminal(options, components) {
  this.element = components.element;
  this.requisition = components.requisition;

  this.requisition.commandOutputManager.onOutput.add(this.outputted, this);

  var document = components.element.ownerDocument;
  if (outputViewCss != null) {
    this.style = util.importCss(outputViewCss, document, 'gcli-output-view');
  }

  this.template = util.toDom(document, outputViewHtml);
  this.templateOptions = { allowEval: true, stack: 'output_terminal.html' };
}
function OutputTerminal(options, components) {
  this.element = components.element;
  this.requisition = components.requisition;

  this.requisition.commandOutputManager.onOutput.add(this.outputted, this);

  var document = components.element.ownerDocument;
  if (outputViewCss != null) {
    this.style = util.importCss(outputViewCss, document, 'gcli-output-view');
  }

  this.template = util.toDom(document, outputViewHtml);
  this.templateOptions = { allowEval: true, stack: 'output_terminal.html' };
}
function OutputTerminal ( options , components ) { this . element = components . element ; this . requisition = components . requisition ; this . requisition . commandOutputManager . onOutput . add ( this . outputted , this ) ; var document = components . element . ownerDocument ; if ( outputViewCss != null ) { this . style = util . importCss ( outputViewCss , document , 'gcli-output-view' ) ; } this . template = util . toDom ( document , outputViewHtml ) ; this . templateOptions = { allowEval : true , stack : 'output_terminal.html' } ; }
A wrapper for a set of rows|command outputs.
Register with the canon to be notified when commands have output to be
displayed.
@param options Object containing user customization properties, although
none are currently supported
@param components Object that links to other UI components. GCLI provided:
- element: Root element to populate
- requisition (optional): A click/double-click to an input row causes the
command to be sent to the input/executed if we know the requisition use
A wrapper for a set of rows|command outputs . Register with the canon to be notified when commands have output to be displayed .