ilog.rules.studio.model.event

Interface IlrResourceManagerListener



  • public interface IlrResourceManagerListener
    Represents the model object 'Resource Manager Listener'.

    This class is a listener of the IWorkspace positioned on the IlrResourceManager.

    The IlrResourceManager listens to the workspace and then notifies its listeners of the workspace changes. By using this listener instead of a IResourceChangeListener you ensure that the resource manager will have correctly processed the resource change before you receive notification of the change. This is useful when a workspace change creates some elements in the model and you want to access these elements in your listener.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
      Called when a resource has changed.
      void resourceElementUnloaded(IlrResourceElement element)
      Called when this resource element has been unloaded by the resource manager.
    • Method Detail

      • resourceChanged

        void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
        Called when a resource has changed.

        See Also:
        IResourceChangeListener.resourceChanged(org.eclipse.core.resources.IResourceChangeEvent)
      • resourceElementUnloaded

        void resourceElementUnloaded(IlrResourceElement element)
        Called when this resource element has been unloaded by the resource manager. This occurs when a model file is changed in the workspace.
        Parameters:
        element - An instance of IlrResourceElement.

© Copyright IBM Corp. 1987, 2017