com.corticon.eclipse.core

## Interface IResourceListener

-     public interface IResourceListener

  Interface IResourceListener is an interface used by clients to subscribe to receive notifications of events that occur at an EMF resource level, such as loading, unloading, saving and removal.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `LOAD`
    `static int` | `REMOVE`
    `static int` | `SAVE`
    `static int` | `UNLOAD`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `notifyChanged(int aiEvent, org.eclipse.emf.ecore.resource.Resource aResource)` This method is invoked whenever a resource-level event occurs.

- - ### Field Detail

    - #### LOAD

          static final int LOAD

      See Also:
        Constant Field Values

    - #### UNLOAD

          static final int UNLOAD

      See Also:
        Constant Field Values

    - #### SAVE

          static final int SAVE

      See Also:
        Constant Field Values

    - #### REMOVE

          static final int REMOVE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### notifyChanged

          void notifyChanged(int aiEvent,
                           org.eclipse.emf.ecore.resource.Resource aResource)

      This method is invoked whenever a resource-level event occurs.
      Parameters:
        `aiEvent` - Event that occurred (e.g., IResourceListener.LOAD).
        `aResource` - Resource upon which event occurred.

Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.