function PopupMenu(config, eventBus, canvas) {

  var scale = isDefined(config && config.scale) ? config.scale : {
    min: 1,
    max: 1.5
  };

  this._config = {
    scale: scale
  };

  this._eventBus = eventBus;
  this._canvas = canvas;
  this._providers = {};
  this._current = {};
}
/**
 * A popup menu that can be used to display a list of actions anywhere in the canvas.
 *
 * @param {Object} config
 * @param {boolean|Object} [config.scale={ min: 1.0, max: 1.5 }]
 * @param {number} [config.scale.min]
 * @param {number} [config.scale.max]
 * @param {EventBus} eventBus
 * @param {Canvas} canvas
 *
 * @class
 * @constructor
 */
A popup menu that can be used to display a list of actions anywhere in the canvas.

@class
@constructor
A popup menu that can be used to display a list of actions anywhere in the canvas . @class @constructor
function PopupMenu(config, eventBus, canvas) {
  var scale = isDefined(config && config.scale) ? config.scale : {
    min: 1,
    max: 1.5
  };
  this._config = {
    scale: scale
  };
  this._eventBus = eventBus;
  this._canvas = canvas;
  this._providers = {};
  this._current = {};
}
function PopupMenu ( config , eventBus , canvas ) { var scale = isDefined ( config && config . scale ) ? config . scale : { min : 1 , max : 1.5 } ; this . _config = { scale : scale } ; this . _eventBus = eventBus ; this . _canvas = canvas ; this . _providers = { } ; this . _current = { } ; }
A popup menu that can be used to display a list of actions anywhere in the canvas.
A popup menu that can be used to display a list of actions anywhere in the canvas .