function DirectEditing(eventBus, canvas) {

  this._eventBus = eventBus;

  this._providers = [];
  this._textbox = new TextBox({
    container: canvas.getContainer(),
    keyHandler: bind(this._handleKey, this),
    resizeHandler: bind(this._handleResize, this)
  });
}
/**
 * A direct editing component that allows users
 * to edit an elements text directly in the diagram
 *
 * @param {EventBus} eventBus the event bus
 */
A direct editing component that allows users
to edit an elements text directly in the diagram

@param {EventBus} eventBus the event bus
A direct editing component that allows users to edit an elements text directly in the diagram @param { EventBus } eventBus the event bus
function DirectEditing(eventBus, canvas) {
  this._eventBus = eventBus;
  this._providers = [];
  this._textbox = new TextBox({
    container: canvas.getContainer(),
    keyHandler: bind(this._handleKey, this),
    resizeHandler: bind(this._handleResize, this)
  });
}
function DirectEditing ( eventBus , canvas ) { this . _eventBus = eventBus ; this . _providers = [ ] ; this . _textbox = new TextBox ( { container : canvas . getContainer ( ) , keyHandler : bind ( this . _handleKey , this ) , resizeHandler : bind ( this . _handleResize , this ) } ) ; }
A direct editing component that allows users
 to edit an elements text directly in the diagram
A direct editing component that allows users to edit an elements text directly in the diagram