Class AbstractReportBasedAnnotator

    • Field Detail

      • m_Prefix

        protected String m_Prefix
        the prefix for the objects.
    • Constructor Detail

      • AbstractReportBasedAnnotator

        public AbstractReportBasedAnnotator()
    • Method Detail

      • getDefaultPrefix

        protected abstract String getDefaultPrefix()
        Returns the default prefix to use for the objects.
        the default
      • setPrefix

        public void setPrefix​(String value)
        Sets the prefix to use for the objects.
        Specified by:
        setPrefix in interface ObjectPrefixHandler
        value - the prefix
      • prefixTipText

        public String prefixTipText()
        Returns the tip text for this property.
        Specified by:
        prefixTipText in interface ObjectPrefixHandler
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • valuesForIndex

        protected Map<String,​Object> valuesForIndex​(Report report,
                                                          int index)
        Returns all the values stored in the report under this index.
        report - the report to look up the index in
        index - the index to retrieve the values for
        the values
      • removeIndex

        protected boolean removeIndex​(Report report,
                                      int index)
        Removes the specified index from the report.
        true if successfully removed
      • findLastIndex

        protected int findLastIndex​(Report report)
        Determines the last index used with the given prefix.