CSVW RDF Convertor - Documentation
    Preparing search index...

    Tree data provider for the CSVW Actions view in VS Code. Manages the display and interaction with conversion items in the tree view.

    Implements

    Index

    Constructors

    Properties

    _onDidChangeTreeData: EventEmitter<undefined | null | void | TreeItem> = ...
    conversionCounter: number = 1
    conversions: ConversionItem[] = []
    onDidChangeTreeData: Event<undefined | null | void | TreeItem> = ...

    An optional event to signal that an element or root has changed. This will trigger the view to update the changed element/root and its children recursively (if shown). To signal that root has changed, do not pass any argument or pass undefined or null.

    Methods

    • Adds a new conversion item to the tree view.

      Parameters

      • Optionalname: string

        Optional name for the conversion. If not provided, a default name will be generated.

      Returns ConversionItem

      The newly created conversion item.

    • Creates a tree item for conversion actions with appropriate commands and icons.

      Parameters

      • action: string

        The action string in format "conversionId:actionName".

      Returns TreeItem

      A configured tree item for the specific action.

    • Gets the children of a tree item for hierarchical display.

      Parameters

      • Optionalelement: TreeItem

        The parent element to get children for. If undefined, returns root items.

      Returns Thenable<TreeItem[]>

      Promise resolving to an array of child tree items.

    • Gets the parent of a tree item for navigation purposes.

      Parameters

      • element: TreeItem

        The element to get the parent for.

      Returns ProviderResult<TreeItem>

      The parent tree item or null if no parent exists.

    • Creates a tree item representation for display in the VS Code tree view.

      Parameters

      • element: TreeItem

        The element to create a tree item for.

      Returns TreeItem

      A VS Code tree item configured for display.

    • Removes a conversion item from the tree view.

      Parameters

      • id: string

        The ID of the conversion to remove.

      Returns void