Class SelectDirectoryToEnterManyValuesTransfer


  • public class SelectDirectoryToEnterManyValuesTransfer
    extends AbstractOptionTransfer
    Transfers options from SelectDirectory to EnterManyValues actors.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • SelectDirectoryToEnterManyValuesTransfer

        public SelectDirectoryToEnterManyValuesTransfer()
    • Method Detail

      • handles

        public boolean handles​(Object source,
                               Object target)
        Returns whether it can handle the transfer.
        Specified by:
        handles in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        true if options can be transferred by this class
      • doTransfer

        protected String doTransfer​(Object source,
                                    Object target)
        Does the actual transfer of options.
        Specified by:
        doTransfer in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        null if successful, otherwise error message