index.ts 687 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. import {
  4. IInstanceTracker
  5. } from '@jupyterlab/apputils';
  6. import {
  7. IDocumentWidget
  8. } from '@jupyterlab/docregistry';
  9. import {
  10. Token
  11. } from '@phosphor/coreutils';
  12. import {
  13. FileEditor
  14. } from './widget';
  15. import '../style/index.css';
  16. export * from './widget';
  17. /**
  18. * A class that tracks editor widgets.
  19. */
  20. export
  21. interface IEditorTracker extends IInstanceTracker<IDocumentWidget<FileEditor>> {}
  22. /* tslint:disable */
  23. /**
  24. * The editor tracker token.
  25. */
  26. export
  27. const IEditorTracker = new Token<IEditorTracker>('@jupyterlab/fileeditor:IEditorTracker');
  28. /* tslint:enable */