Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
main/browser/notebooks/notebook-editors-main
NotebookEditorsMainImpl
Class NotebookEditorsMainImpl
Implements
NotebookEditorsMain
Index
Constructors
constructor
Properties
main
Thread
Editors
notebook
Open
Handler
notebook
Service
proxy
Methods
$try
Reveal
Range
$try
Set
Selections
$try
Show
Notebook
Document
dispose
handle
Editors
Added
handle
Editors
Removed
Constructors
constructor
new
NotebookEditorsMainImpl
(
rpc
:
RPCProtocol
,
container
:
Container
,
)
:
NotebookEditorsMainImpl
Parameters
rpc
:
RPCProtocol
container
:
Container
Returns
NotebookEditorsMainImpl
Properties
Protected
Readonly
main
Thread
Editors
mainThreadEditors
:
Map
<
string
,
NotebookEditorWidget
>
= ...
Protected
Readonly
notebook
Open
Handler
notebookOpenHandler
:
NotebookOpenHandler
Protected
Readonly
notebook
Service
notebookService
:
NotebookService
Protected
Readonly
proxy
proxy
:
NotebookEditorsExt
Methods
$try
Reveal
Range
$tryRevealRange
(
id
:
string
,
range
:
CellRange
,
revealType
:
NotebookEditorRevealType
,
)
:
Promise
<
void
>
Parameters
id
:
string
range
:
CellRange
revealType
:
NotebookEditorRevealType
Returns
Promise
<
void
>
$try
Set
Selections
$trySetSelections
(
id
:
string
,
range
:
CellRange
[]
)
:
void
Parameters
id
:
string
range
:
CellRange
[]
Returns
void
$try
Show
Notebook
Document
$tryShowNotebookDocument
(
uriComponents
:
UriComponents
,
viewType
:
string
,
options
:
NotebookDocumentShowOptions
,
)
:
Promise
<
string
>
Parameters
uriComponents
:
UriComponents
viewType
:
string
options
:
NotebookDocumentShowOptions
Returns
Promise
<
string
>
dispose
dispose
()
:
void
Dispose this object.
Returns
void
handle
Editors
Added
handleEditorsAdded
(
editors
:
readonly
NotebookEditorWidget
[]
)
:
Promise
<
void
>
Parameters
editors
:
readonly
NotebookEditorWidget
[]
Returns
Promise
<
void
>
handle
Editors
Removed
handleEditorsRemoved
(
editorIds
:
readonly
string
[]
)
:
void
Parameters
editorIds
:
readonly
string
[]
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
main
Thread
Editors
notebook
Open
Handler
notebook
Service
proxy
Methods
$try
Reveal
Range
$try
Set
Selections
$try
Show
Notebook
Document
dispose
handle
Editors
Added
handle
Editors
Removed
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
Dispose this object.