Class RootLifecycleHandlerImpl

java.lang.Object
org.praxislive.ide.pxr.RootLifecycleHandlerImpl
All Implemented Interfaces:
RootLifecycleHandler

public class RootLifecycleHandlerImpl extends Object implements RootLifecycleHandler
  • Constructor Details

    • RootLifecycleHandlerImpl

      public RootLifecycleHandlerImpl(org.openide.util.Lookup lookup)
  • Method Details

    • getDeletionTask

      public Optional<Task> getDeletionTask(String description, Set<String> rootIDs)
      Description copied from interface: RootLifecycleHandler
      Provide a task to run when one or more roots are about to be deleted.
      Specified by:
      getDeletionTask in interface RootLifecycleHandler
      Parameters:
      description - user readable description of event triggering deletion
      rootIDs - roots to be deleted
      Returns:
      optional task to run