Module org.jpo

Class RenameFileHandler

java.lang.Object
org.jpo.eventbus.RenameFileHandler

public class RenameFileHandler extends Object
Handles the request to rename a file
  • Constructor Details

    • RenameFileHandler

      public RenameFileHandler()
  • Method Details

    • handleEvent

      public void handleEvent(@NonNull RenameFileRequest request)
      Bring up a Dialog where the user can input a new name for a file and rename it. If the target file already exists and would overwrite the existing file A new name is suggested that the user can accept or abort the rename.
      Parameters:
      request - the request