Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
DocumentsMainImpl
Class DocumentsMainImpl
Hierarchy
DocumentsMainImpl
Implements
DocumentsMain
Disposable
Index
Constructors
constructor
Properties
model
Reference
Cache
proxy
save
Timeout
synced
Models
to
Dispose
Methods
$try
Close
Document
$try
Create
Document
$try
Open
Document
$try
Save
Document
$try
Show
Document
dispose
on
Model
Added
on
Model
Changed
on
Model
Removed
to
Editor
Opener
Options
Constructors
constructor
new
Documents
Main
Impl
(
editorsAndDocuments
:
EditorsAndDocumentsMain
, modelService
:
EditorModelService
, rpc
:
RPCProtocol
, editorManager
:
EditorManager
, openerService
:
OpenerService
, shell
:
ApplicationShell
, untitledResourceResolver
:
UntitledResourceResolver
, fileResourceResolver
:
FileResourceResolver
)
:
DocumentsMainImpl
Parameters
editorsAndDocuments:
EditorsAndDocumentsMain
modelService:
EditorModelService
rpc:
RPCProtocol
editorManager:
EditorManager
openerService:
OpenerService
shell:
ApplicationShell
untitledResourceResolver:
UntitledResourceResolver
fileResourceResolver:
FileResourceResolver
Returns
DocumentsMainImpl
Properties
Private
Readonly
model
Reference
Cache
model
Reference
Cache
:
ModelReferenceCollection
= ...
Private
Readonly
proxy
proxy
:
DocumentsExt
Protected
save
Timeout
save
Timeout
:
number
= 1750
Private
Readonly
synced
Models
synced
Models
:
Map
<
string
,
Disposable
>
= ...
Private
Readonly
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Methods
$try
Close
Document
$try
Close
Document
(
uri
:
UriComponents
)
:
Promise
<
boolean
>
Parameters
uri:
UriComponents
Returns
Promise
<
boolean
>
$try
Create
Document
$try
Create
Document
(
options
?:
{
content
?:
string
;
language
?:
string
}
)
:
Promise
<
UriComponents
>
Parameters
Optional
options:
{
content
?:
string
;
language
?:
string
}
Optional
content
?:
string
Optional
language
?:
string
Returns
Promise
<
UriComponents
>
$try
Open
Document
$try
Open
Document
(
uri
:
UriComponents
)
:
Promise
<
boolean
>
Parameters
uri:
UriComponents
Returns
Promise
<
boolean
>
$try
Save
Document
$try
Save
Document
(
uri
:
UriComponents
)
:
Promise
<
boolean
>
Parameters
uri:
UriComponents
Returns
Promise
<
boolean
>
$try
Show
Document
$try
Show
Document
(
uri
:
UriComponents
, options
?:
TextDocumentShowOptions
)
:
Promise
<
void
>
Parameters
uri:
UriComponents
Optional
options:
TextDocumentShowOptions
Returns
Promise
<
void
>
dispose
dispose
(
)
:
void
Returns
void
Private
on
Model
Added
on
Model
Added
(
model
:
MonacoEditorModel
)
:
void
Parameters
model:
MonacoEditorModel
Returns
void
Private
on
Model
Changed
on
Model
Changed
(
event
:
{
model
:
MonacoEditorModel
;
oldModeId
:
string
}
)
:
void
Parameters
event:
{
model
:
MonacoEditorModel
;
oldModeId
:
string
}
model
:
MonacoEditorModel
old
Mode
Id
:
string
Returns
void
Private
on
Model
Removed
on
Model
Removed
(
url
:
Uri
)
:
void
Parameters
url:
Uri
Returns
void
Static
to
Editor
Opener
Options
to
Editor
Opener
Options
(
shell
:
ApplicationShell
, options
?:
TextDocumentShowOptions
)
:
undefined
|
EditorOpenerOptions
Parameters
shell:
ApplicationShell
Optional
options:
TextDocumentShowOptions
Returns
undefined
|
EditorOpenerOptions
Exports
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Known
Commands
Notification
Main
Object
Identifier
Objects
Transferrer
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Schemes
Scm
Command
Arg
Selection
Provider
Commands
Signature
Help
Signature
Information
Symbol
Kind
Symbol
Kind
Converter
Text
Document
Show
Options
Text
Editor
Selection
Change
Kind
Themable
Decoration
Attachment
Render
Options
Themable
Decoration
Render
Options
Theme
Icon
Timeline
Command
Arg
Tree
View
Node
Tree
View
Selection
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
Documents
Main
Impl
constructor
model
Reference
Cache
proxy
save
Timeout
synced
Models
to
Dispose
$try
Close
Document
$try
Create
Document
$try
Open
Document
$try
Save
Document
$try
Show
Document
dispose
on
Model
Added
on
Model
Changed
on
Model
Removed
to
Editor
Opener
Options