Class AbstractObjectFilter

    • Field Detail

      • m_FlowContext

        protected Actor m_FlowContext
        the flow context.
    • Constructor Detail

      • AbstractObjectFilter

        public AbstractObjectFilter()
    • Method Detail

      • getFlowContext

        public Actor getFlowContext()
        Returns the flow context, if any.
        Specified by:
        getFlowContext in interface FlowContextHandler
        Returns:
        the actor, null if none available
      • requiresFlowContext

        protected boolean requiresFlowContext()
        Returns whether flow context is actually required.
        Returns:
        true if required
      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Default implementation returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • check

        protected String check​(LocatedObjects objects)
        Hook method for checking the object list before processing it.
        Parameters:
        objects - the object list to check
        Returns:
        null if successful, otherwise error message
      • doFilter

        protected abstract LocatedObjects doFilter​(LocatedObjects objects)
        Filters the image objects.
        Parameters:
        objects - the objects to filter
        Returns:
        the updated object list