An source control is able to provide {@link SourceControlResourceState resource states} to the editor and interact with the editor in several source control related ways.
An source control is able to provide {@link SourceControlResourceState resource states} to the editor and interact with the editor in several source control related ways.
(accept-input-command source-control)
Optional accept input command.
This command will be invoked when the user accepts the value in the Source Control input.
Optional accept input command. This command will be invoked when the user accepts the value in the Source Control input.
(commit-template source-control)
Optional commit template string.
The Source Control viewlet will populate the Source Control input with this value when appropriate.
Optional commit template string. The Source Control viewlet will populate the Source Control input with this value when appropriate.
(count source-control)
The UI-visible count of {@link SourceControlResourceState resource states} of this source control.
If undefined, this source control will
The UI-visible count of {@link SourceControlResourceState resource states} of this source control. If undefined, this source control will - display its UI-visible count as zero, and - contribute the count of its {@link SourceControlResourceState resource states} to the UI-visible aggregated count for all source controls
(create-resource-group source-control id label)
Create a new {@link SourceControlResourceGroup resource group}.
Parameters:
id
: string
label
: string
Returns: SourceControlResourceGroup
Create a new {@link SourceControlResourceGroup resource group}. **Parameters:** - `id`: `string` - `label`: `string` **Returns:** `SourceControlResourceGroup`
(dispose source-control)
Dispose this source control.
Returns: void
Dispose this source control. **Returns:** `void`
(id source-control)
The id of this source control.
The id of this source control.
(input-box source-control)
The {@link SourceControlInputBox input box} for this source control.
The {@link SourceControlInputBox input box} for this source control.
(label source-control)
The human-readable label of this source control.
The human-readable label of this source control.
(quick-diff-provider source-control)
An optional {@link QuickDiffProvider quick diff provider}.
An optional {@link QuickDiffProvider quick diff provider}.
(root-uri source-control)
The (optional) Uri of the root of this source control.
The (optional) Uri of the root of this source control.
(set-accept-input-command! source-control value)
Optional accept input command.
This command will be invoked when the user accepts the value in the Source Control input.
Optional accept input command. This command will be invoked when the user accepts the value in the Source Control input.
(set-commit-template! source-control value)
Optional commit template string.
The Source Control viewlet will populate the Source Control input with this value when appropriate.
Optional commit template string. The Source Control viewlet will populate the Source Control input with this value when appropriate.
(set-count! source-control value)
The UI-visible count of {@link SourceControlResourceState resource states} of this source control.
If undefined, this source control will
The UI-visible count of {@link SourceControlResourceState resource states} of this source control. If undefined, this source control will - display its UI-visible count as zero, and - contribute the count of its {@link SourceControlResourceState resource states} to the UI-visible aggregated count for all source controls
(set-quick-diff-provider! source-control value)
An optional {@link QuickDiffProvider quick diff provider}.
An optional {@link QuickDiffProvider quick diff provider}.
(set-status-bar-commands! source-control value)
Optional status bar commands.
These commands will be displayed in the editor's status bar.
Optional status bar commands. These commands will be displayed in the editor's status bar.
(status-bar-commands source-control)
Optional status bar commands.
These commands will be displayed in the editor's status bar.
Optional status bar commands. These commands will be displayed in the editor's status bar.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close