_addDuplicateTab(webContents) {
    webContents.send('register-context-action', {
      label: 'Duplicate tab',
      selector: 'anypoint-tab > span.tab-name',
      action: 'request-panel-duplicate-tab'
    });
  }
/**
   * Adds default action to close all request workspace tab.
   *
   * @param {Object} webContents
   */
Adds default action to close all request workspace tab.
@param {Object} webContents
Adds default action to close all request workspace tab . @param { Object } webContents
_addDuplicateTab(webContents) {
    webContents.send('register-context-action', {
      label: 'Duplicate tab',
      selector: 'anypoint-tab > span.tab-name',
      action: 'request-panel-duplicate-tab'
    });
  }
_addDuplicateTab ( webContents ) { webContents . send ( 'register-context-action' , { label : 'Duplicate tab' , selector : 'anypoint-tab > span.tab-name' , action : 'request-panel-duplicate-tab' } ) ; }
Adds default action to close all request workspace tab.
Adds default action to close all request workspace tab .