Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
plugin/scm
ScmExtImpl
Class ScmExtImpl
Implements
ScmExt
Index
Constructors
constructor
Accessors
on
Did
Change
Active
Provider
Methods
$execute
Resource
Command
$on
Input
Box
Value
Change
$provide
Original
Resource
$set
Selected
Source
Control
$validate
Input
create
Source
Control
get
Last
Input
Box
Constructors
constructor
new
ScmExtImpl
(
rpc
:
RPCProtocol
,
commands
:
CommandRegistryImpl
)
:
ScmExtImpl
Parameters
rpc
:
RPCProtocol
commands
:
CommandRegistryImpl
Returns
ScmExtImpl
Accessors
on
Did
Change
Active
Provider
get
onDidChangeActiveProvider
()
:
Event
<
SourceControl
>
Returns
Event
<
SourceControl
>
Methods
$execute
Resource
Command
$executeResourceCommand
(
sourceControlHandle
:
number
,
groupHandle
:
number
,
handle
:
number
,
)
:
Promise
<
void
>
Parameters
sourceControlHandle
:
number
groupHandle
:
number
handle
:
number
Returns
Promise
<
void
>
$on
Input
Box
Value
Change
$onInputBoxValueChange
(
sourceControlHandle
:
number
,
value
:
string
,
)
:
Promise
<
void
>
Parameters
sourceControlHandle
:
number
value
:
string
Returns
Promise
<
void
>
$provide
Original
Resource
$provideOriginalResource
(
sourceControlHandle
:
number
,
uriComponents
:
string
,
token
:
CancellationToken
,
)
:
Promise
<
undefined
|
UriComponents
>
Parameters
sourceControlHandle
:
number
uriComponents
:
string
token
:
CancellationToken
Returns
Promise
<
undefined
|
UriComponents
>
$set
Selected
Source
Control
$setSelectedSourceControl
(
selectedSourceControlHandle
:
undefined
|
number
,
)
:
Promise
<
void
>
Parameters
selectedSourceControlHandle
:
undefined
|
number
Returns
Promise
<
void
>
$validate
Input
$validateInput
(
sourceControlHandle
:
number
,
value
:
string
,
cursorPosition
:
number
,
)
:
Promise
<
undefined
|
[
string
,
number
]
>
Parameters
sourceControlHandle
:
number
value
:
string
cursorPosition
:
number
Returns
Promise
<
undefined
|
[
string
,
number
]
>
create
Source
Control
createSourceControl
(
extension
:
Plugin
,
id
:
string
,
label
:
string
,
rootUri
:
undefined
|
Uri
,
)
:
SourceControl
Parameters
extension
:
Plugin
id
:
string
label
:
string
rootUri
:
undefined
|
Uri
Returns
SourceControl
get
Last
Input
Box
getLastInputBox
(
extension
:
Plugin
)
:
undefined
|
ScmInputBoxImpl
Parameters
extension
:
Plugin
Returns
undefined
|
ScmInputBoxImpl
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
on
Did
Change
Active
Provider
Methods
$execute
Resource
Command
$on
Input
Box
Value
Change
$provide
Original
Resource
$set
Selected
Source
Control
$validate
Input
create
Source
Control
get
Last
Input
Box
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...