ToolkitWrapperPane.js 838 B

1234567891011121314151617181920212223242526
  1. "use strict";
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: admin
  5. * Copyright IBM Corp. 2015, 2018
  6. * US Government Users Restricted Rights -
  7. * Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  8. */
  9. define(['bi/commons/ui/AccessibleView', 'react', 'react-dom', 'bi/admin/nls/StringResource', 'underscore'], function (BasePane, React, ReactDOM, StringResource, underscore) {
  10. /**
  11. * Sample content view that extends the glass AdminPane class
  12. *
  13. */
  14. var ToolkitWrapperPane = BasePane.extend({
  15. init: function init(options) {
  16. ToolkitWrapperPane.inherited('init', this, arguments);
  17. $.extend(this, options);
  18. },
  19. render: function render() {
  20. this.$el.append($("<div/>"));
  21. return Promise.resolve();
  22. }
  23. });
  24. return ToolkitWrapperPane;
  25. });