All Implemented Interfaces:
RelativePathProvider, com.jidesoft.dialog.Laziness, ImageObserver, MenuContainer, Serializable, Accessible

public class ExpressionCategory extends AbstractTagEditingCategory implements RelativePathProvider
See Also:
  • Constructor Details

  • Method Details

    • getTagPath

      public TagPath getTagPath()
      Description copied from interface: RelativePathProvider
      The tag that the new path will be relative to. NOTE: Expects the full path to the tag, not the tag's parent folder.
      Specified by:
      getTagPath in interface RelativePathProvider
    • getShowWritebackPanel

      public boolean getShowWritebackPanel()
    • restrictToSameSource

      public boolean restrictToSameSource()
      Description copied from interface: RelativePathProvider
      Returns whether or not the new tag reference must be in the under the same tag provider as the current tag.
      Specified by:
      restrictToSameSource in interface RelativePathProvider
    • setSameSourceRestrictionOverride

      public void setSameSourceRestrictionOverride(boolean value)
      Overrides the logic for same source restrictions. TRUE means that there will be no restriction on source.
    • init

      public void init(@Nonnull TagEditController tag)
      Description copied from class: AbstractTagEditingCategory
      Sets the selection to the given tag.
      Overrides:
      init in class AbstractTagEditingCategory
      Parameters:
      tag - the tag to select
    • dryRunCommit

      public boolean dryRunCommit()
      Description copied from class: AbstractTagEditingCategory
      Performs a dry run commit.
      Overrides:
      dryRunCommit in class AbstractTagEditingCategory
      Returns:
      returning TRUE if the edits are valid, false if an error occurred.
    • initComponents

      protected void initComponents()
    • isRelevantFor

      public boolean isRelevantFor(TagEditController tag)
      Description copied from class: AbstractTagEditingCategory
      Returns true if this category is relevant for the given tag. If the category isn't relevant, it will not be initialized, and will be disabled in the UI.
      Specified by:
      isRelevantFor in class AbstractTagEditingCategory
      Returns:
      true if this editing category applies to the tag
    • setCurrentExpressionType

      protected void setCurrentExpressionType(ExpressionType type)