org.eclipse.jdt.internal.core
Class DeltaProcessingState
java.lang.Object
org.eclipse.jdt.internal.core.DeltaProcessingState
- All Implemented Interfaces:
- java.util.EventListener, IResourceChangeListener
public class DeltaProcessingState
- extends java.lang.Object
- implements IResourceChangeListener
Keep the global states used during Java element delta processing.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementChangedListeners
public IElementChangedListener[] elementChangedListeners
elementChangedListenerMasks
public int[] elementChangedListenerMasks
elementChangedListenerCount
public int elementChangedListenerCount
preResourceChangeListeners
public IResourceChangeListener[] preResourceChangeListeners
preResourceChangeEventMasks
public int[] preResourceChangeEventMasks
preResourceChangeListenerCount
public int preResourceChangeListenerCount
roots
public java.util.HashMap roots
otherRoots
public java.util.HashMap otherRoots
oldRoots
public java.util.HashMap oldRoots
oldOtherRoots
public java.util.HashMap oldOtherRoots
sourceAttachments
public java.util.HashMap sourceAttachments
projectDependencies
public java.util.HashMap projectDependencies
rootsAreStale
public boolean rootsAreStale
externalTimeStamps
public java.util.Hashtable externalTimeStamps
DeltaProcessingState
public DeltaProcessingState()
addElementChangedListener
public void addElementChangedListener(IElementChangedListener listener,
int eventMask)
addForRefresh
public void addForRefresh(IJavaElement externalElement)
addPreResourceChangedListener
public void addPreResourceChangedListener(IResourceChangeListener listener,
int eventMask)
getDeltaProcessor
public DeltaProcessor getDeltaProcessor()
addClasspathValidation
public ClasspathValidation addClasspathValidation(JavaProject project)
addExternalFolderChange
public void addExternalFolderChange(JavaProject project,
IClasspathEntry[] oldResolvedClasspath)
addProjectReferenceChange
public void addProjectReferenceChange(JavaProject project,
IClasspathEntry[] oldResolvedClasspath)
initializeRoots
public void initializeRoots(boolean initAfterLoad)
removeClasspathValidations
public ClasspathValidation[] removeClasspathValidations()
removeExternalFolderChanges
public ExternalFolderChange[] removeExternalFolderChanges()
removeProjectReferenceChanges
public ProjectReferenceChange[] removeProjectReferenceChanges()
removeExternalElementsToRefresh
public java.util.HashSet removeExternalElementsToRefresh()
removeElementChangedListener
public void removeElementChangedListener(IElementChangedListener listener)
removePreResourceChangedListener
public void removePreResourceChangedListener(IResourceChangeListener listener)
resourceChanged
public void resourceChanged(IResourceChangeEvent event)
- Description copied from interface:
IResourceChangeListener
- Notifies this listener that some resource changes
are happening, or have already happened.
The supplied event gives details. This event object (and the
resource delta within it) is valid only for the duration of
the invocation of this method.
Note: This method is called by the platform; it is not intended
to be called directly by clients.
Note that during resource change event notification, further changes
to resources may be disallowed.
- Specified by:
resourceChanged
in interface IResourceChangeListener
- Parameters:
event
- the resource change event- See Also:
IResourceDelta
getExternalLibTimeStamps
public java.util.Hashtable getExternalLibTimeStamps()
findJavaProject
public IJavaProject findJavaProject(java.lang.String name)
getOldJavaProjecNames
public java.util.HashSet getOldJavaProjecNames()
resetOldJavaProjectNames
public void resetOldJavaProjectNames()
saveExternalLibTimeStamps
public void saveExternalLibTimeStamps()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
updateRoots
public void updateRoots(org.eclipse.core.runtime.IPath containerPath,
IResourceDelta containerDelta,
DeltaProcessor deltaProcessor)