Class AbstractImageViewerPluginWithRestore

    • Field Detail

      • m_Backup

        protected List m_Backup
        the backup of the current state.
    • Constructor Detail

      • AbstractImageViewerPluginWithRestore

        public AbstractImageViewerPluginWithRestore()
    • Method Detail

      • backup

        public List backup()
        Backs up the current image state.
        Returns:
        the backup
      • restore

        public void restore​(List state)
        Restores the image state.
        Parameters:
        state - the state backup
      • getBackup

        public List getBackup()
        Returns the current backup.
        Returns:
        the backup, null if none present
      • doInteract

        protected abstract String doInteract()
        The actual interaction with the user.
        Returns:
        null if OK, otherwise error message