Java org.eclipse.jdt.core IJavaElementDelta fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core IJavaElementDelta fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core IJavaElementDelta.

The text is from its open source code.

Implementation

org.eclipse.jdt.core.IJavaElementDelta has the following implementations.
Click this link to see all its implementation.

Field

intADDED
Status constant indicating that the element has been added.
intREMOVED
Status constant indicating that the element has been removed.
intCHANGED
Status constant indicating that the element has been changed, as described by the change flags.
intF_CONTENT
Change flag indicating that the content of the element has changed.
intF_MODIFIERS
Change flag indicating that the modifiers of the element have changed.
intF_CHILDREN
Change flag indicating that there are changes to the children of the element.
intF_MOVED_FROM
Change flag indicating that the element was moved from another location.
intF_MOVED_TO
Change flag indicating that the element was moved to another location.
intF_ADDED_TO_CLASSPATH
Change flag indicating that a classpath entry corresponding to the element has been added to the project's classpath.
intF_REMOVED_FROM_CLASSPATH
Change flag indicating that a classpath entry corresponding to the element has been removed from the project's classpath.
intF_REORDER
Change flag indicating that the element has changed position relatively to its siblings.
intF_OPENED
Change flag indicating that the underlying org.eclipse.core.resources.IProject has been opened.
intF_CLOSED
Change flag indicating that the underlying org.eclipse.core.resources.IProject has been closed.
intF_SUPER_TYPES
Change flag indicating that one of the supertypes of an IType has changed.
intF_SOURCEATTACHED
Change flag indicating that the source attachment path or the source attachment root path of a classpath entry corresponding to the element was added.
intF_SOURCEDETACHED
Change flag indicating that the source attachment path or the source attachment root path of a classpath entry corresponding to the element was removed.
intF_FINE_GRAINED
Change flag indicating that this is a fine-grained delta, that is, an analysis down to the members level was done to determine if there were structural changes to members.
intF_ARCHIVE_CONTENT_CHANGED
Change flag indicating that the element's archive content on the classpath has changed.
intF_PRIMARY_WORKING_COPY
Change flag indicating that a compilation unit has become a primary working copy, or that a primary working copy has reverted to a compilation unit.
intF_CLASSPATH_CHANGED
Change flag indicating that the IJavaProject#getRawClasspath() raw classpath (or the IJavaProject#getOutputLocation() output folder ) of a project has changed.
intF_PRIMARY_RESOURCE
Change flag indicating that the resource of a primary compilation unit has changed.
intF_AST_AFFECTED
Change flag indicating that a reconcile operation has affected the compilation unit AST created in a previous reconcile operation.
intF_CATEGORIES
Change flag indicating that the categories of the element have changed.
intF_RESOLVED_CLASSPATH_CHANGED
Change flag indicating that the IJavaProject#getResolvedClasspath(boolean) resolved classpath of a project has changed.
intF_ANNOTATIONS
Change flag indicating that the annotations of the element have changed.

Method

IJavaElementDelta[]getAffectedChildren()
Returns deltas for the affected (added, removed, or changed) children.
IJavaElementDelta[]getAnnotationDeltas()
Returns deltas for affected annotations (added, removed, or changed).
IJavaElementDelta[]getChangedChildren()
Returns deltas for the children which have changed.
CompilationUnitgetCompilationUnitAST()
Returns the compilation unit AST created by the last reconcile operation on this delta's element.
IJavaElementgetElement()
Returns the element that this delta describes a change to.
intgetFlags()
Returns flags that describe how an element has changed.
intgetKind()
Returns the kind of this delta - one of #ADDED , #REMOVED , or #CHANGED .
IJavaElementgetMovedFromElement()
Returns an element describing this element before it was moved to its current location, or null if the #F_MOVED_FROM change flag is not set.
IJavaElementgetMovedToElement()
Returns an element describing this element in its new location, or null if the #F_MOVED_TO change flag is not set.
IResourceDelta[]getResourceDeltas()
Returns the collection of resource deltas.