Class CacheChangeEvent

java.lang.Object
java.util.EventObject
com.e1c.langtool.collector.CacheChangeEvent
All Implemented Interfaces:
Serializable

public final class CacheChangeEvent extends EventObject
The change event of the collecting cache by resources.
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    CacheChangeEvent(org.eclipse.core.resources.IProject project)
    Instantiates a new cache change event.
    CacheChangeEvent(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IPath path)
    Instantiates a new cache change event.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.core.runtime.IPath
    Gets the path.
    org.eclipse.core.resources.IProject
    Gets the source project of the change.

    Methods inherited from class java.util.EventObject

    getSource, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CacheChangeEvent

      public CacheChangeEvent(org.eclipse.core.resources.IProject project)
      Instantiates a new cache change event.
      Parameters:
      project - the project, cannot be null.
    • CacheChangeEvent

      public CacheChangeEvent(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IPath path)
      Instantiates a new cache change event.
      Parameters:
      project - the project, cannot be null.
      path - the project relative path, cannot be null.
  • Method Details

    • getProject

      public org.eclipse.core.resources.IProject getProject()
      Gets the source project of the change.
      Returns:
      the project, cannot return null.
    • getPath

      public org.eclipse.core.runtime.IPath getPath()
      Gets the path.
      Returns:
      the path, cannot return null.