text: /**
   * @class Oskari.mapframework.ui.module.common.mapmodule.DrawPlugin.event.ActiveDrawingEvent
   * 
   * Used to notify components of an active drawing. Sends the skecth geometry.
   */
  Oskari.clazz.define('Oskari.mapframework.ui.module.common.mapmodule.DrawPlugin.event.ActiveDrawingEvent', 
  /**
   * @method create called automatically on construction
   * @static
   * @param {OpenLayers.Geometry} geometry the drawing that is being drawn
   */
  function(geometry, mode, creatorId) {
      this._drawing = geometry;
      this._drawMode = mode;
      this._creatorId = creatorId;
  }, {
      /** @static @property __name event name */
      __name : "DrawPlugin.ActiveDrawingEvent",
      /**
       * @method getName
       * Returns event name
       * @return {String}
       */
      getName : function() {
          return this.__name;
      },
      /**
       * @method getDrawing
       * Returns the drawings geometry
       * @return {OpenLayers.Geometry}
       */
      getDrawing : function() {
          return this._drawing;
      },
      getDrawMode : function() {
          return this._drawMode;
      },
      getCreatorId: function() {
          return this._creatorId;
      }
  }, {
      /**
       * @property {String[]} protocol array of superclasses as {String}
       * @static
       */
      'protocol' : ['Oskari.mapframework.event.Event']
  });
  