Class MarkLocation

    • Constructor Detail

      • MarkLocation

        public MarkLocation()
    • Method Detail

      • canExecute

        public boolean canExecute​(ImagePanel panel)
        Checks whether the plugin can be executed given the specified panel.
        Specified by:
        canExecute in class AbstractToolPlugin<ImagePanel>
        Parameters:
        panel - the panel to use as basis for decision
        Returns:
        true if plugin can be executed
      • showHighlights

        protected void showHighlights​(Properties props)
        Displays the highlight specified in the properties.
        Parameters:
        props - the overlay setup and locations
      • doExecute

        protected String doExecute()
        Executes the plugin.
        Specified by:
        doExecute in class AbstractToolPlugin<ImagePanel>
        Returns:
        null if OK, otherwise error message. Using an empty string will suppress the error message display and the creation of a log entry.