Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
editor-preview
EditorPreviewManager
Class EditorPreviewManager
Hierarchy
EditorManager
EditorPreviewManager
Index
Constructors
constructor
Properties
id
layout
Is
Set
preferences
state
Service
Methods
convert
Editor
On
Double
Click
create
Widget
Options
do
Open
get
Or
Create
Widget
get
Widget
handle
New
Preview
init
try
Get
Pending
Widget
Constructors
constructor
new
Editor
Preview
Manager
(
)
:
EditorPreviewManager
Returns
EditorPreviewManager
Properties
Readonly
id
id
:
string
= EditorPreviewWidgetFactory.ID
Protected
layout
Is
Set
layout
Is
Set
:
boolean
= false
Until the layout has been restored, widget state is not reliable, so we ignore creation events.
Protected
Readonly
preferences
preferences
:
EditorPreviewPreferences
Protected
Readonly
state
Service
state
Service
:
FrontendApplicationStateService
Methods
Protected
convert
Editor
On
Double
Click
convert
Editor
On
Double
Click
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
Protected
create
Widget
Options
create
Widget
Options
(
uri
:
URI
, options
?:
EditorOpenerOptions
)
:
EditorPreviewOptions
Parameters
uri:
URI
Optional
options:
EditorOpenerOptions
Returns
EditorPreviewOptions
Protected
do
Open
do
Open
(
widget
:
EditorPreviewWidget
, options
?:
EditorOpenerOptions
)
:
Promise
<
void
>
Parameters
widget:
EditorPreviewWidget
Optional
options:
EditorOpenerOptions
Returns
Promise
<
void
>
Protected
get
Or
Create
Widget
get
Or
Create
Widget
(
uri
:
URI
, options
?:
EditorOpenerOptions
)
:
Promise
<
EditorWidget
>
Parameters
uri:
URI
Optional
options:
EditorOpenerOptions
Returns
Promise
<
EditorWidget
>
Protected
get
Widget
get
Widget
(
uri
:
URI
, options
?:
EditorOpenerOptions
)
:
Promise
<
undefined
|
EditorWidget
>
Parameters
uri:
URI
Optional
options:
EditorOpenerOptions
Returns
Promise
<
undefined
|
EditorWidget
>
Protected
handle
New
Preview
handle
New
Preview
(
newPreviewWidget
:
EditorPreviewWidget
)
:
void
Parameters
newPreviewWidget:
EditorPreviewWidget
Returns
void
Protected
init
init
(
)
:
void
Returns
void
Protected
try
Get
Pending
Widget
try
Get
Pending
Widget
(
uri
:
URI
, options
?:
EditorOpenerOptions
)
:
undefined
|
MaybePromise
<
EditorWidget
>
Parameters
uri:
URI
Optional
options:
EditorOpenerOptions
Returns
undefined
|
MaybePromise
<
EditorWidget
>
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
Editor
Preview
Commands
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Editor
Preview
Manager
constructor
id
layout
Is
Set
preferences
state
Service
convert
Editor
On
Double
Click
create
Widget
Options
do
Open
get
Or
Create
Widget
get
Widget
handle
New
Preview
init
try
Get
Pending
Widget
Until the layout has been restored, widget state is not reliable, so we ignore creation events.