Community
Participate
Working Groups
* because the command framework will open and close parameter collectors as needed and
* call the command callback with the values of those parameters.
*/
closeParameterCollector: function() {
closeParameterCollector: function(toolbarId) {
if (this._parameterCollector) {
this._parameterCollector.close();
this._parameterCollector.close(toolbarId);
}
},
// close any open slideouts because if we are retargeting the command
if (toolbarItem.Location !== lastItemLoaded.Location) {
commandRegistry.closeParameterCollector();
commandRegistry.closeParameterCollector(toolbarId);
lastItemLoaded.Location = toolbarItem.Location;
CommandParameterCollector.prototype = /** @lends orion.parametercollectors.CommandParameterCollector.prototype */ {
close: function () {
close: function (toolbarId) {
if (this._activeElements) {
if (toolbarId && this._activeElements.toolbar && this._activeElements.toolbar.id !== toolbarId) {
return;
if (this._activeElements.parameterArea) {
lib.empty(this._activeElements.parameterArea);