Interface RelativePathProvider

All Known Implementing Classes:
AbstractExpressionPropertyCustomEditor, DerivedTagCategory, DrivenExpressionPropertyEditor, ExpressionCategory, TagExpressionPropertyEditor, TagQueryPropertyEditor

public interface RelativePathProvider
The relative path provider, as the name suggests, is used for building relative paths. It provides the current tag path for a selected tag, and whether or not the context expects any referenced tag to be under the same provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    The tag that the new path will be relative to.
    boolean
    Returns whether or not the new tag reference must be in the under the same tag provider as the current tag.
  • Method Details

    • getTagPath

      @Nullable TagPath getTagPath()
      The tag that the new path will be relative to. NOTE: Expects the full path to the tag, not the tag's parent folder.
    • restrictToSameSource

      boolean restrictToSameSource()
      Returns whether or not the new tag reference must be in the under the same tag provider as the current tag.