Class AbstractSelectedTrailsFilter

    • Field Detail

      • m_FilterError

        protected String m_FilterError
        for storing filtering errors.
    • Constructor Detail

      • AbstractSelectedTrailsFilter

        public AbstractSelectedTrailsFilter()
    • Method Detail

      • canExecute

        public boolean canExecute​(TrailPanel panel)
        Checks whether the plugin can be executed given the specified trail panel.

        Panel must be non-null and must contain an trail.
        Overrides:
        canExecute in class AbstractSelectedTrailsViewerPlugin
        Parameters:
        panel - the panel to use as basis for decision
        Returns:
        true if plugin can be executed
      • filter

        protected abstract Trail filter​(Trail trail)
        Filters the trail.
        Parameters:
        trail - the trail to filter
        Returns:
        the processed trail