Module TreeViewStateDTO

Module TreeViewStateDTO 

Source
Expand description

§TreeViewStateDTO

§RESPONSIBILITY

  • Data transfer object for tree view state
  • In-memory state tracking (not serializable due to trait object)
  • Used by Mountain to track tree view provider instances

§FIELDS

  • ViewIdentifier: Unique tree view identifier
  • Provider: Native Rust provider reference
  • SideCarIdentifier: Extension sidecar host ID
  • CanSelectMany: Multi-selection support flag
  • HasHandleDrag: Drag-and-drop source support
  • HasHandleDrop: Drop target support
  • Message: Optional UI message
  • Title: Tree view title
  • Description: Optional description text

Structs§

TreeViewStateDTO
Holds the static options and provider for a tree view instance that has been registered by an extension or natively. This is stored in ApplicationState to track active tree views.

Constants§

MAX_DESCRIPTION_LENGTH 🔒
Maximum description length
MAX_MESSAGE_LENGTH 🔒
Maximum message length
MAX_SIDECAR_IDENTIFIER_LENGTH 🔒
Maximum sidecar identifier length
MAX_TITLE_LENGTH 🔒
Maximum title length
MAX_VIEW_IDENTIFIER_LENGTH 🔒
Maximum view identifier length