diff --git a/plugins/c9.ide.dialog/dialog.js b/plugins/c9.ide.dialog/dialog.js index dca0cb9b..ffb5579f 100644 --- a/plugins/c9.ide.dialog/dialog.js +++ b/plugins/c9.ide.dialog/dialog.js @@ -195,6 +195,10 @@ define(function(require, module, exports) { }, force); } + function show() { + return plugin.queue(function(){}, true); + } + function hide(){ dialog && dialog.hide(); } @@ -509,6 +513,13 @@ define(function(require, module, exports) { */ queue: queue, + /** + * Show the dialog. When using queing overwrite this method + * with your own show function. + * @fires show + */ + show: show, + /** * Hide the dialog. * @fires hide diff --git a/plugins/c9.ide.editors/tabmanager.js b/plugins/c9.ide.editors/tabmanager.js index a52b9e6c..e8372b07 100644 --- a/plugins/c9.ide.editors/tabmanager.js +++ b/plugins/c9.ide.editors/tabmanager.js @@ -1852,6 +1852,7 @@ define(function(require, module, exports) { * @param {Pane} [options.pane] The pane to attach the new tab to * @param {String} [options.editorType] The type of the editor for this tab * @param {Boolean} [options.active=false] Whether this tab is set as active + * @param {Boolean} [options.focus=false] Whether this tab is set as focussed * @param {Boolean} [options.forceNew=false] Always create a tab * @param {Boolean} [options.demandExisting=false] Whether to try opening an * existing tab even for tabs without a path.