GridSelectionInfo.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. 'use strict';
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2017
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. define(['../VisSelectionInfo'], function (VisSelectionInfo) {
  8. 'use strict';
  9. var GridSelectionInfo = VisSelectionInfo.extend({
  10. init: function init() {
  11. GridSelectionInfo.inherited('init', this, arguments);
  12. this._navigateActionSelections = null;
  13. },
  14. addNavigateActionSelection: function addNavigateActionSelection(oSlot, oDataItem, sValue) {
  15. if (!this._navigateActionSelection) {
  16. this._navigateActionSelections = [];
  17. }
  18. this._navigateActionSelections.push(this._createSelectionObject(oSlot, oDataItem, sValue));
  19. },
  20. _isEdgeSelection: function _isEdgeSelection() {
  21. //returns true so that the filter selection will not be a compound filter.
  22. return true;
  23. },
  24. getNavigateActionSelections: function getNavigateActionSelections() {
  25. return this._navigateActionSelections;
  26. }
  27. });
  28. return GridSelectionInfo;
  29. });
  30. //# sourceMappingURL=GridSelectionInfo.js.map