Class CellModelAbstract

An implementation of the cell model.

Hierarchy (View Summary)

Implements

Constructors

Properties

contentChanged: Signal<CellModel, void> = ...

A signal emitted when the state of the model changes.

sharedModel: ISharedCell

The shared model for the cell editor.

standaloneModel: boolean

Whether the model should disposed the shared model on disposal or not.

stateChanged: Signal<
    CellModel,
    IChangedArgs<
        any,
        any,
        "trusted"
        | "isDirty"
        | "executionCount"
        | "executionState",
    >,
> = ...

A signal emitted when a model state changes.

Accessors

  • get isDisposed(): boolean
  • Whether the model is disposed.

    Returns boolean

  • get mimeType(): string
  • A mime type of the model.

    Returns string

  • set mimeType(newValue: string): void
  • A mime type of the model.

    It is never null, the default mime type is text/plain.

    Parameters

    • newValue: string

    Returns void

  • get mimeTypeChanged(): ISignal<this, IChangedArgs<string, string, string>>
  • A signal emitted when a mimetype changes.

    Returns ISignal<this, IChangedArgs<string, string, string>>

Methods