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> = ...
    context: ExtensionContext
    conversions: Conversion[]
    counter: number
    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

    • Creates and adds a new conversion item to the tree view.

      Parameters

      • name: string

        Name of the conversion that will be displayed in the tree view

      • descriptorFilePath: Uri

        URI of the descriptor file

      • csvFilePaths: [Uri, ...Uri[]]

        URIs of csv files in an array

      • rdfFilePaths: Partial<Record<RDFSerialization, vscode.Uri>>

        URIs of rdf files in multiple serilizations

      Returns Conversion

      The newly created conversion item.

    • 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 ProviderResult<TreeItem[]>

      Promise resolving to an array of child tree items.

    • 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.