The underlying IModelDB
instance in which model
data is stored.
The shared model for the cell editor.
Whether the model is disposed.
A mime type of the model.
A signal emitted when a mimetype changes.
Get the selections for the model.
A signal emitted when the shared model was switched.
Get the value of the model.
Handle a change to the modelDB value.
We update the modeldb store when the shared model changes. To ensure that we don't run into infinite loops, we wrap this call in a "mutex". The "mutex" ensures that the wrapped code can only be executed by either the sharedModelChanged handler or the modelDB change handler.
Dispose of the resources used by the model.
When we initialize a cell model, we create a standalone model that cannot be shared in a YNotebook. Call this function to re-initialize the local representation based on a fresh shared model (e.g. models.YFile or models.YCodeCell).
Whether to reinitialize the shared model.
Generated using TypeDoc
The default implementation of the editor model.