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
    • Method Detail

      • onModuleFolderResource

        void onModuleFolderResource​(int op,
                                    ModuleFolder folder,
                                    org.eclipse.core.resources.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.