Package com.e1c.langtool.collector
Class CacheChangeEvent
java.lang.Object
java.util.EventObject
com.e1c.langtool.collector.CacheChangeEvent
- All Implemented Interfaces:
Serializable
The change event of the collecting cache by resources.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCacheChangeEvent(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 TypeMethodDescriptionorg.eclipse.core.runtime.IPathgetPath()Gets the path.org.eclipse.core.resources.IProjectGets the source project of the change.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
CacheChangeEvent
public CacheChangeEvent(org.eclipse.core.resources.IProject project) Instantiates a new cache change event.- Parameters:
project- the project, cannot benull.
-
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 benull.path- the project relative path, cannot benull.
-
-
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.
-