Class FileEditorFactory

A widget factory for editors.

Hierarchy

Constructors

Properties

_services: any

Accessors

  • get autoStartDefault(): boolean
  • Whether to automatically select the preferred kernel during a kernel start

    Returns boolean

  • set autoStartDefault(value): void
  • Whether to automatically start the preferred kernel

    Parameters

    • value: boolean

    Returns void

  • get canStartKernel(): boolean
  • Whether the widgets can start a kernel when opened.

    Returns boolean

  • get defaultFor(): string[]
  • The file types for which the factory should be the default.

    Returns string[]

  • get defaultRendered(): string[]
  • The file types for which the factory should be the default for rendering a document model, if different from editing.

    Returns string[]

  • get fileTypes(): string[]
  • The file types the widget can view.

    Returns string[]

  • get isDisposed(): boolean
  • Get whether the model factory has been disposed.

    Returns boolean

  • get label(): string
  • The label of the widget to display in dialogs. If not given, name is used instead.

    Returns string

  • get modelName(): string
  • The registered name of the model type used to create the widgets.

    Returns string

  • get name(): string
  • A unique name identifying of the widget.

    Returns string

  • get preferKernel(): boolean
  • Whether the widgets prefer having a kernel started.

    Returns boolean

  • get readOnly(): boolean
  • Whether the widget factory is read only.

    Returns boolean

  • get shutdownOnClose(): boolean
  • Whether the kernel should be shutdown when the widget is closed.

    Returns boolean

  • set shutdownOnClose(value): void
  • Whether the kernel should be shutdown when the widget is closed.

    Parameters

    • value: boolean

    Returns void

  • get translator(): ITranslator
  • The application language translator.

    Returns ITranslator

  • get widgetCreated(): ISignal<IWidgetFactory<T, U>, T>
  • A signal emitted when a widget is created.

    Returns ISignal<IWidgetFactory<T, U>, T>

Methods

  • Dispose of the resources used by the document manager.

    Returns void

Generated using TypeDoc