Interface IModuleProjectResourceListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IModuleProjectResourceListener
Interface used to listen to changes in resources, when they are added, renamed or removed.
Author:
Christopher Mindus
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Resource is added.
    static final int
    Resource is removed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onModuleFolderResource(int op, ModuleFolder folder, IResource resource)
    Called when the resource is ADDED or REMOVED.
  • Field Details

  • Method Details

    • onModuleFolderResource

      void onModuleFolderResource(int op, ModuleFolder folder, IResource resource)
      Called when the resource is ADDED or REMOVED.
      Parameters:
      op - The operation ADDED or REMOVED.
      folder - The module BASE folder, null if not a module folder.
      resource - The resource being added (it's potential new name) or removed.