ViewerEventsConfig.js 803 B

1234567891011121314151617181920212223242526
  1. /*
  2. *+------------------------------------------------------------------------+
  3. *| Licensed Materials - Property of IBM
  4. *| IBM Cognos Products: Viewer
  5. *| (C) Copyright IBM Corp. 2013
  6. *|
  7. *| US Government Users Restricted Rights - Use, duplication or
  8. *| disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. *|
  10. *+------------------------------------------------------------------------+
  11. */
  12. function ViewerEventsConfig() {
  13. this.showContextMenuOnClick = false;
  14. }
  15. /**
  16. * The data passed to this function is PUBLIC and show always be backwards compatible.
  17. */
  18. ViewerEventsConfig.prototype.configure = function(configuration) {
  19. applyJSONProperties(this, configuration);
  20. };
  21. ViewerEventsConfig.prototype.getShowContextMenuOnClick = function() {
  22. return this.showContextMenuOnClick;
  23. };