Class AbstractCurrentTrailFilterWithGOE

  • All Implemented Interfaces:
    adams.core.logging.LoggingSupporter, adams.core.SizeOfHandler, Serializable

    public abstract class AbstractCurrentTrailFilterWithGOE
    extends AbstractCurrentTrailFilter
    Ancestor for trail filters that process the current trail with a setup obtained from a GenericObjectEditorDialog.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • AbstractCurrentTrailFilterWithGOE

        public AbstractCurrentTrailFilterWithGOE()
    • Method Detail

      • getEditorType

        protected abstract Class getEditorType()
        Returns the class to use as type (= superclass) in the GOE.
        Returns:
        the class
      • getDefaultValue

        protected abstract Object getDefaultValue()
        Returns the default object to use in the GOE if no last setup is yet available.
        Returns:
        the object
      • getCanChangeClassInDialog

        protected boolean getCanChangeClassInDialog()
        Returns whether the class can be changed in the GOE.
        Returns:
        true if class can be changed by the user
      • doFilter

        protected abstract Trail doFilter​(Trail trail)
        Performs the actual filtering of the trail.
        Parameters:
        trail - the trail to filter
        Returns:
        the processed trail