function Modeling(eventBus, elementFactory, commandStack) {
  this._eventBus = eventBus;
  this._elementFactory = elementFactory;
  this._commandStack = commandStack;

  var self = this;

  eventBus.on('diagram.init', function() {
    // register modeling handlers
    self.registerHandlers(commandStack);
  });
}
/**
 * The basic modeling entry point.
 *
 * @param {EventBus} eventBus
 * @param {ElementFactory} elementFactory
 * @param {CommandStack} commandStack
 */
The basic modeling entry point.
The basic modeling entry point .
function Modeling(eventBus, elementFactory, commandStack) {
  this._eventBus = eventBus;
  this._elementFactory = elementFactory;
  this._commandStack = commandStack;
  var self = this;
  eventBus.on('diagram.init', function() {
    self.registerHandlers(commandStack);
  });
}
function Modeling ( eventBus , elementFactory , commandStack ) { this . _eventBus = eventBus ; this . _elementFactory = elementFactory ; this . _commandStack = commandStack ; var self = this ; eventBus . on ( 'diagram.init' , function ( ) { self . registerHandlers ( commandStack ) ; } ) ; }
The basic modeling entry point.
The basic modeling entry point .
// register modeling handlers