public interface IElementDeltaBuilder
IElementDelta tree based on elementary changes.
Note that, despite having a dependency on IResourceDelta
and IMarkerDelta, this interface can be used even when
org.eclipse.core.resources bundle is not available.
This is based on the "outward impression" of late resolution of
symbolic references a JVM must provide according to the JVMS.
| Modifier and Type | Method and Description |
|---|---|
default IElementDeltaBuilder |
added(IElement element)
Has the same effect as
added(element, 0). |
IElementDeltaBuilder |
added(IElement element,
long flags)
Informs this builder that an element has been added.
|
IElementDeltaBuilder |
addResourceDelta(IElement element,
org.eclipse.core.resources.IResourceDelta resourceDelta)
Informs this builder about changes to children of the given element's
corresponding resource that cannot be described in terms of element deltas.
|
IElementDeltaBuilder |
changed(IElement element,
long flags)
Informs this builder that an element has been changed.
|
IElementDelta |
getDelta()
Returns the root of the built delta tree.
|
IElementDeltaBuilder |
markersChanged(IElement element,
org.eclipse.core.resources.IMarkerDelta[] markerDeltas)
Informs this builder about changes to markers on the given element's
corresponding resource.
|
IElementDeltaBuilder |
movedFrom(IElement movedFromElement,
IElement movedToElement)
Informs this builder that an element has been removed
as it has moved to a new location.
|
IElementDeltaBuilder |
movedTo(IElement movedToElement,
IElement movedFromElement)
Informs this builder that an element has been added
as it has moved from an old location.
|
default IElementDeltaBuilder |
removed(IElement element)
Has the same effect as
removed(element, 0). |
IElementDeltaBuilder |
removed(IElement element,
long flags)
Informs this builder that an element has been removed.
|
default IElementDeltaBuilder added(IElement element)
added(element, 0).element - the added element (not null)added(IElement, long)IElementDeltaBuilder added(IElement element, long flags)
element - the added element (not null)flags - delta flagsdefault IElementDeltaBuilder removed(IElement element)
removed(element, 0).element - the removed element (not null)removed(IElement, long)IElementDeltaBuilder removed(IElement element, long flags)
element - the removed element (not null)flags - delta flagsIElementDeltaBuilder changed(IElement element, long flags)
element - the changed element (not null)flags - delta flagsIElementDeltaBuilder movedFrom(IElement movedFromElement, IElement movedToElement)
movedFromElement - the element before it was moved to its
current location (not null)movedToElement - the element in its new location
(not null)IElementDeltaBuilder movedTo(IElement movedToElement, IElement movedFromElement)
movedToElement - the element in its new location
(not null)movedFromElement - the element before it was moved to its
current location (not null)IElementDeltaBuilder markersChanged(IElement element, org.eclipse.core.resources.IMarkerDelta[] markerDeltas)
element - the element with changed markers
(not null)markerDeltas - the marker deltas for the element
(not null, not empty)IElementDeltaBuilder addResourceDelta(IElement element, org.eclipse.core.resources.IResourceDelta resourceDelta)
element - the element with a resource change
(not null)resourceDelta - the resource delta for the element
(not null)IElementDelta getDelta()
null if noneCopyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0