Class Revert

    • Constructor Detail

      • Revert

        public Revert()
        Instantiates the action.
    • Method Detail

      • hasChanged

        protected boolean hasChanged​(DataContainer cont)
        Checks whether the container got changed or the source has changed.
        Parameters:
        cont - the container to check
        Returns:
        true if changed
      • canRevert

        protected boolean canRevert()
        Checks whether any selected container can be reverted.
        Returns:
        true if any container can be reverted