For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/classes/SelectionManager.md.

Class: SelectionManager

Beta

The SelectionManager (accessible from the ExtensionContext) is responsible for the management of all SelectionContainerVolume objects, and provides the user the ability to create new SelectionContainerVolume objects for use within an extension.

Properties

entity

实验性

readonly entity: SelectionContainerEntity

Beta


volume

实验性

readonly volume: SelectionContainerVolume

Beta

Methods

deselectBlocks()

deselectBlocks(blockIdentifier): Promise<number>

World Mutation Beta

Parameters

blockIdentifier

string

Returns

Promise<number>

Remarks

Privilege

Tip

no-restricted-execution -


generateManifest()

generateManifest(): Promise<SelectionManifestData>

World Mutation Beta

Returns

Promise<SelectionManifestData>

Remarks

Privilege

Tip

no-restricted-execution -


getCurrentManifest()

getCurrentManifest(): SelectionManifestData | undefined

World Mutation Beta

Returns

SelectionManifestData | undefined

Remarks

Privilege

Tip

no-restricted-execution -


replaceBlocks()

replaceBlocks(fromBlockIdentifier, toBlockIdentifier): Promise<number>

World Mutation Beta

Parameters

fromBlockIdentifier

string

toBlockIdentifier

string

Returns

Promise<number>

Remarks

Privilege

Tip

no-restricted-execution -