RSX Code Reference
    Preparing search index...

    Class CloudVersionResourceDataElement

    Data element representing a concrete project resource with a local ResourceEntry.

    Hierarchy (View Summary)

    Index
    catalogEntry: CatalogEntry

    The cloud catalog entry associated with this resource.

    isAllPruneableHeadsBlockedByDeployment: boolean

    Whether all pruneable head versions are blocked by deployment references.

    isMarkedForPruning: boolean

    Whether this resource is selected for pruning.

    isPruneable: boolean

    Whether the resource has more than one effective head version and can be pruned.

    isVersionHistoryLoaded: boolean

    Whether version history has been successfully loaded from the server.

    isVersionHistoryLoading: boolean

    Whether version history is currently being fetched.

    latestHeadSequentialVersion: number

    Sequential version number of the most recent effective head.

    loadingPlaceholder: TreeViewDataElement

    Placeholder element displayed while version history is being fetched.

    resourceEntry: ResourceEntry

    The local project library resource entry.

    secondToLatestHeadSequentialVersion: number

    Sequential version number of the second-to-latest effective head.

    secondToLatestHeadVersionID: UUID

    Version UUID of the second-to-latest effective head, used as the default prune target.

    totalVersionSize: number

    Total size in bytes across all loaded versions.

    versionHistoryError: string

    Error message from the last version history fetch attempt, empty on success.

    • get childCount(): number

      Checks is the provided element part of the parent hierarchy of this element.

      Returns number

    • get height(): number

      Sets the optional height for the element, if not set, the tree element uses the element height of the tree.

      Returns number

    • set height(value: number): void

      Parameters

      • value: number

      Returns void

    • get iconImage(): Image

      The current icon image.

      Returns Image

    • set iconImage(value: Image): void

      The current icon image.

      Parameters

      Returns void

    • get id(): UUID

      The ID of the element, useful to correlate the tree element to the object it represents.

      Returns UUID

    • set id(value: UUID): void

      Parameters

      Returns void

    • get isDisabled(): boolean

      Determines if the element is currently Disabled.

      Returns boolean

    • set isDisabled(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isEditable(): boolean

      Determines if the element is currently Editable.

      Returns boolean

    • set isEditable(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isExpandable(): boolean

      Determines if the element is currently Expandable.

      Returns boolean

    • set isExpandable(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isExpanded(): boolean

      Determines if the element is currently Expanded.

      Returns boolean

    • get isHighlighted(): boolean

      Determines if the element is currently Highlighted.

      Returns boolean

    • set isHighlighted(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get isSelected(): boolean

      Determines if the element is currently Selected.

      Returns boolean

    • get isVisible(): boolean

      Determines if the element is currently visible.

      Returns boolean

    • set isVisible(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get name(): string

      The current name.

      Returns string

    • set name(value: string): void

      Parameters

      • value: string

      Returns void

    • get resourceUUID(): UUID

      The UUID of the underlying resource.

      Returns UUID

    • get visualElement(): TreeViewVisualElement

      Gets the visual element if the data element is currently visible on screen.

      Returns TreeViewVisualElement

      Not all data element have a visual representation. If the element is currently scrolled out of view, it is possible that it has no visual element representation.