Package org.aspectj.org.eclipse.jdt.core
Klasse ElementChangedEvent
java.lang.Object
java.util.EventObject
org.aspectj.org.eclipse.jdt.core.ElementChangedEvent
- Alle implementierten Schnittstellen:
Serializable
An element changed event describes a change to the structure or contents
of a tree of Java elements. The changes to the elements are described by
the associated delta object carried by this event.
This class is not intended to be instantiated or subclassed by clients. Instances of this class are automatically created by the Java model.
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int
Event type constant (bit mask) indicating an after-the-fact report of creations, deletions, and modifications to one or more Java element(s) expressed as a hierarchical java element delta as returned bygetDelta()
.static final int
Event type constant (bit mask) indicating an after-the-fact report of creations, deletions, and modifications to one or more Java element(s) expressed as a hierarchical java element delta as returned bygetDelta
.static final int
Veraltet.- no longer used, such deltas are now notified during POST_CHANGEVon Klasse geerbte Felder java.util.EventObject
source
-
Konstruktorübersicht
KonstruktorBeschreibungElementChangedEvent
(IJavaElementDelta delta, int type) Creates an new element changed event (based on aIJavaElementDelta
). -
Methodenübersicht
Von Klasse geerbte Methoden java.util.EventObject
getSource, toString
-
Felddetails
-
POST_CHANGE
public static final int POST_CHANGEEvent type constant (bit mask) indicating an after-the-fact report of creations, deletions, and modifications to one or more Java element(s) expressed as a hierarchical java element delta as returned bygetDelta()
. Note: this notification occurs during the corresponding POST_CHANGE resource change notification, and contains a full delta accounting for any JavaModel operation and/or resource change.- Seit:
- 2.0
- Siehe auch:
-
PRE_AUTO_BUILD
public static final int PRE_AUTO_BUILDVeraltet.- no longer used, such deltas are now notified during POST_CHANGEEvent type constant (bit mask) indicating an after-the-fact report of creations, deletions, and modifications to one or more Java element(s) expressed as a hierarchical java element delta as returned bygetDelta
. Note: this notification occurs during the corresponding PRE_AUTO_BUILD resource change notification. The delta, which is notified here, only contains information relative to the previous JavaModel operations (in other words, it ignores the possible resources which have changed outside Java operations). In particular, it is possible that the JavaModel be inconsistent with respect to resources, which got modified outside JavaModel operations (it will only be fully consistent once the POST_CHANGE notification has occurred).- Seit:
- 2.0
- Siehe auch:
-
POST_RECONCILE
public static final int POST_RECONCILEEvent type constant (bit mask) indicating an after-the-fact report of creations, deletions, and modifications to one or more Java element(s) expressed as a hierarchical java element delta as returned bygetDelta
. Note: this notification occurs as a result of a working copy reconcile operation.- Seit:
- 2.0
- Siehe auch:
-
-
Konstruktordetails
-
ElementChangedEvent
Creates an new element changed event (based on aIJavaElementDelta
).- Parameter:
delta
- the Java element delta.type
- the type of delta (ADDED, REMOVED, CHANGED) this event contains
-
-
Methodendetails
-
getDelta
Returns the delta describing the change.- Gibt zurück:
- the delta describing the change
-
getType
public int getType()Returns the type of event being reported.- Gibt zurück:
- one of the event type constants
- Seit:
- 2.0
- Siehe auch:
-