Determines whether this contribution can handle the given element and with what priority. All contributions are ordered by the returned number if greater than zero. The highest number wins. If two or more contributions return the same positive number one of those will be used. It is undefined which one.
Returns the name of the root, or undefined to fall back to the label of the file tree node.
Shows the name given to a workspace root in the workspace file on its node in the navigator. The name is only shown for the root node: where the folder appears otherwise, e.g. nested in another root, it shows its folder name, as in VS Code.