Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/notebook
browser/service/notebook-kernel-history-service
NotebookKernelHistoryService
Class NotebookKernelHistoryService
Implements
Disposable
Index
Constructors
constructor
Properties
command
Service
most
Recent
Kernels
Map
notebook
Kernel
Service
storage
Service
STORAGE_
KEY
Methods
add
Most
Recent
Kernel
clear
dispose
get
Kernels
init
load
State
resolve
Selected
Kernel
save
State
Constructors
constructor
new
NotebookKernelHistoryService
()
:
NotebookKernelHistoryService
Returns
NotebookKernelHistoryService
Properties
Protected
command
Service
commandService
:
CommandService
Protected
most
Recent
Kernels
Map
mostRecentKernelsMap
:
KernelsList
= {}
Protected
notebook
Kernel
Service
notebookKernelService
:
NotebookKernelService
Protected
storage
Service
storageService
:
StorageService
Protected
Static
STORAGE_
KEY
STORAGE_KEY
:
string
= 'notebook.kernelHistory'
Methods
add
Most
Recent
Kernel
addMostRecentKernel
(
kernel
:
NotebookKernel
)
:
void
Parameters
kernel
:
NotebookKernel
Returns
void
clear
clear
()
:
void
Returns
void
dispose
dispose
()
:
void
Dispose this object.
Returns
void
get
Kernels
getKernels
(
notebook
:
NotebookTextModelLike
)
:
MostRecentKernelsResult
Parameters
notebook
:
NotebookTextModelLike
Returns
MostRecentKernelsResult
Protected
init
init
()
:
void
Returns
void
Protected
load
State
loadState
()
:
Promise
<
void
>
Returns
Promise
<
void
>
resolve
Selected
Kernel
resolveSelectedKernel
(
notebook
:
NotebookModel
,
)
:
Promise
<
undefined
|
NotebookKernel
>
Parameters
notebook
:
NotebookModel
Returns
Promise
<
undefined
|
NotebookKernel
>
Protected
save
State
saveState
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
command
Service
most
Recent
Kernels
Map
notebook
Kernel
Service
storage
Service
STORAGE_
KEY
Methods
add
Most
Recent
Kernel
clear
dispose
get
Kernels
init
load
State
resolve
Selected
Kernel
save
State
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
Dispose this object.