Package org.eclipse.handly.model
Interface IElementDeltaConstants
public interface IElementDeltaConstants
Provides constants which define element delta kinds and
describe element changes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Delta kind constant indicating that the element has been added to its parent.static final int
Delta kind constant indicating that the element has been changed, as described by change flag constants.static final long
Change flag constant (bit-mask) indicating that there are changes to the children of the element.static final long
Change flag constant (bit-mask) indicating that the content of the element has changed.static final long
Change flag constant (bit-mask) indicating that the underlyingIProject
's description has changed.static final long
Change flag constant (bit-mask) indicating that this is a fine-grained delta, that is, an analysis down to the source constructs level was done to determine if there were structural changes to source constructs.static final long
Change flag constant (bit-mask) indicating that markers on the element's corresponding resource have changed.static final long
Change flag constant (bit-mask) indicating that the element was moved from another location.static final long
Change flag constant (bit-mask) indicating that the element was moved to another location.static final long
Change flag constant (bit-mask) indicating that the underlyingIProject
has been opened or closed.static final long
Change flag constant (bit-mask) indicating that the element has changed position relatively to its siblings.static final long
Change flag constant (bit-mask) indicating that sync status of the element's corresponding resource has changed.static final long
Change flag constant (bit-mask) indicating that the underlyingIFile
of a working copy has changed.static final long
Change flag constant (bit-mask) indicating that a source file has become a working copy, or that a working copy has reverted to a source file.static final int
Delta kind constant indicating that the element has not been changed in any way.static final int
Delta kind constant indicating that the element has been removed from its parent.
-
Field Details
-
NO_CHANGE
static final int NO_CHANGEDelta kind constant indicating that the element has not been changed in any way.- See Also:
-
ADDED
static final int ADDEDDelta kind constant indicating that the element has been added to its parent. Note that an added element delta has no children, as they are all implicitly added.- See Also:
-
REMOVED
static final int REMOVEDDelta kind constant indicating that the element has been removed from its parent. Note that a removed element delta has no children, as they are all implicitly removed.- See Also:
-
CHANGED
static final int CHANGEDDelta kind constant indicating that the element has been changed, as described by change flag constants.- See Also:
-
F_CONTENT
static final long F_CONTENTChange flag constant (bit-mask) indicating that the content of the element has changed.- See Also:
-
F_CHILDREN
static final long F_CHILDRENChange flag constant (bit-mask) indicating that there are changes to the children of the element.- See Also:
-
F_MOVED_FROM
static final long F_MOVED_FROMChange flag constant (bit-mask) indicating that the element was moved from another location.- See Also:
-
F_MOVED_TO
static final long F_MOVED_TOChange flag constant (bit-mask) indicating that the element was moved to another location.- See Also:
-
F_REORDER
static final long F_REORDERChange flag constant (bit-mask) indicating that the element has changed position relatively to its siblings.- See Also:
-
F_FINE_GRAINED
static final long F_FINE_GRAINEDChange flag constant (bit-mask) indicating that this is a fine-grained delta, that is, an analysis down to the source constructs level was done to determine if there were structural changes to source constructs.Clients can use this flag to find out if a source file that has an
F_CONTENT
change should assume that there are no finer grained changes (F_FINE_GRAINED
is set) or if finer grained changes were not considered (F_FINE_GRAINED
is not set).- See Also:
-
F_OPEN
static final long F_OPENChange flag constant (bit-mask) indicating that the underlyingIProject
has been opened or closed. This flag is only valid if the element represents a project.- See Also:
-
F_DESCRIPTION
static final long F_DESCRIPTIONChange flag constant (bit-mask) indicating that the underlyingIProject
's description has changed. This flag is only valid if the element represents a project.- See Also:
-
F_WORKING_COPY
static final long F_WORKING_COPYChange flag constant (bit-mask) indicating that a source file has become a working copy, or that a working copy has reverted to a source file. This flag is only valid if the element represents a source file.- See Also:
-
F_UNDERLYING_RESOURCE
static final long F_UNDERLYING_RESOURCEChange flag constant (bit-mask) indicating that the underlyingIFile
of a working copy has changed. This flag is only valid if the element represents a source file.- See Also:
-
F_MARKERS
static final long F_MARKERSChange flag constant (bit-mask) indicating that markers on the element's corresponding resource have changed. This flag is only valid if the element has a corresponding resource.- See Also:
-
F_SYNC
static final long F_SYNCChange flag constant (bit-mask) indicating that sync status of the element's corresponding resource has changed. This flag is only valid if the element has a corresponding resource.- See Also:
-