ProjectSelectionService

Properties

Link copied to clipboard

Functions

Link copied to clipboard

null when no context is active.

Link copied to clipboard

The selection of the active context.

Link copied to clipboard
abstract fun addListener(listener: ProjectSelectionListener): Long

Returns a token for removeListener.

Link copied to clipboard
abstract fun clear(context: SelectionContextId)
Link copied to clipboard
abstract fun createContext(ownerObjectId: ProjectObjectId? = null): SelectionContextId

ownerObjectId is the clip or track the context belongs to; it is dropped with its owner.

Link copied to clipboard
abstract fun hasContext(context: SelectionContextId): Boolean
Link copied to clipboard

projectSelection(): what selection means for clips, tracks and a time range.

Link copied to clipboard
abstract fun removeContext(context: SelectionContextId)
Link copied to clipboard
abstract fun removeListener(token: Long)
Link copied to clipboard

Replaces a context's selection. Fails for an unknown context, an object not in the document, or an invalid region.

Link copied to clipboard

null deactivates. False for an unknown context.

Link copied to clipboard

null for an unknown context.