Source: core/drawing/engine/engineElement.js

  1. /**
  2. * @fileoverview Abstract super-class of all engine elements.
  3. * @private
  4. */
  5. goog.provide('xrx.engine.Element');
  6. goog.require('goog.Disposable');
  7. goog.require('xrx.engine');
  8. /**
  9. * Abstract super-class of all engine elements.
  10. * @constructor
  11. * @private
  12. */
  13. xrx.engine.Element = function() {
  14. goog.base(this);
  15. };
  16. goog.inherits(xrx.engine.Element, goog.Disposable);
  17. xrx.engine.Element.prototype.startDrawing = function() {};
  18. xrx.engine.Element.prototype.finishDrawing = function() {};
  19. xrx.engine.Element.prototype.disposeInternal = function() {
  20. goog.base(this, 'disposeInternal');
  21. };