Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
plugin/notebook/notebook-document
NotebookDocument
Class NotebookDocument
Implements
Disposable
Index
Constructors
constructor
Properties
uri
Accessors
api
Notebook
Methods
accept
Dirty
accept
Model
Changed
dispose
get
Cell
get
Cell
From
Api
Cell
get
Cell
From
Index
get
Cell
Index
Constructors
constructor
new
NotebookDocument
(
proxy
:
NotebookDocumentsMain
,
editorsAndDocuments
:
EditorsAndDocumentsExtImpl
,
textDocuments
:
DocumentsExtImpl
,
uri
:
Uri
,
notebookData
:
NotebookModelAddedData
,
)
:
NotebookDocument
Parameters
proxy
:
NotebookDocumentsMain
editorsAndDocuments
:
EditorsAndDocumentsExtImpl
textDocuments
:
DocumentsExtImpl
uri
:
Uri
notebookData
:
NotebookModelAddedData
Returns
NotebookDocument
Properties
Readonly
uri
uri
:
Uri
Accessors
api
Notebook
get
apiNotebook
()
:
NotebookDocument
Returns
NotebookDocument
Methods
accept
Dirty
acceptDirty
(
isDirty
:
boolean
)
:
void
Parameters
isDirty
:
boolean
Returns
void
accept
Model
Changed
acceptModelChanged
(
event
:
NotebookCellsChangedEventDto
,
isDirty
:
boolean
,
newMetadata
:
undefined
|
NotebookDocumentMetadata
,
)
:
NotebookDocumentChangeEvent
Parameters
event
:
NotebookCellsChangedEventDto
isDirty
:
boolean
newMetadata
:
undefined
|
NotebookDocumentMetadata
Returns
NotebookDocumentChangeEvent
dispose
dispose
()
:
void
Dispose this object.
Returns
void
get
Cell
getCell
(
cellHandle
:
number
)
:
undefined
|
Cell
Parameters
cellHandle
:
number
Returns
undefined
|
Cell
get
Cell
From
Api
Cell
getCellFromApiCell
(
apiCell
:
NotebookCell
)
:
undefined
|
Cell
Parameters
apiCell
:
NotebookCell
Returns
undefined
|
Cell
get
Cell
From
Index
getCellFromIndex
(
index
:
number
)
:
undefined
|
Cell
Parameters
index
:
number
Returns
undefined
|
Cell
get
Cell
Index
getCellIndex
(
cell
:
Cell
)
:
number
Parameters
cell
:
Cell
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
uri
Accessors
api
Notebook
Methods
accept
Dirty
accept
Model
Changed
dispose
get
Cell
get
Cell
From
Api
Cell
get
Cell
From
Index
get
Cell
Index
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
Dispose this object.