com.aptana.ide.core.resources
Interface IUniformResourceChangeEvent

All Known Implementing Classes:
UniformResourceChangeEvent

public interface IUniformResourceChangeEvent

Author:
Max Stepanov

Method Summary
 org.eclipse.core.resources.IMarkerDelta[] findMarkerDeltas(java.lang.String type, boolean includeSubtypes)
          Returns all marker deltas of the specified type that are associated with resource deltas for this event.
 org.eclipse.core.resources.IMarkerDelta[] getMarkerDeltas()
          Returns the changes to markers on the corresponding resource.
 IUniformResource getResource()
          getResource
 java.lang.Object getSource()
          Returns an object identifying the source of this event.
 

Method Detail

getMarkerDeltas

org.eclipse.core.resources.IMarkerDelta[] getMarkerDeltas()
Returns the changes to markers on the corresponding resource. Returns an empty array if no markers changed.

Returns:
the marker deltas

findMarkerDeltas

org.eclipse.core.resources.IMarkerDelta[] findMarkerDeltas(java.lang.String type,
                                                           boolean includeSubtypes)
Returns all marker deltas of the specified type that are associated with resource deltas for this event. If includeSubtypes is false, only marker deltas whose type exactly matches the given type are returned. Returns an empty array if there are no matching marker deltas.

Calling this method is equivalent to walking the entire resource delta for this event, and collecting all marker deltas of a given type. The speed of this method will be proportional to the number of changed markers, regardless of the size of the resource delta tree.

Parameters:
type - the type of marker to consider, or null to indicate all types
includeSubtypes - whether or not to consider sub-types of the given type
Returns:
an array of marker deltas

getResource

IUniformResource getResource()
getResource

Returns:
IUniformResource

getSource

java.lang.Object getSource()
Returns an object identifying the source of this event.

Returns:
an object identifying the source of this event
See Also:
EventObject