public class ElementChangeEvent extends java.lang.Object implements IElementChangeEvent
IElementChangeEvent.POST_CHANGE, POST_RECONCILE| Constructor and Description |
|---|
ElementChangeEvent(int type,
IElementDelta... deltas)
Constructs an element change event with the given type
and the given top-level deltas.
|
| Modifier and Type | Method and Description |
|---|---|
IElementDelta[] |
getDeltas()
Returns the top-level deltas describing the change.
|
int |
getType()
Returns the type of event being reported.
|
public ElementChangeEvent(int type,
IElementDelta... deltas)
type - the type of event being reporteddeltas - the top-level deltas describing the change
(at least one delta is required)IElementChangeEvent.POST_CHANGE,
IElementChangeEvent.POST_RECONCILEpublic int getType()
IElementChangeEvent
Some event types make sense for most models and are predefined
in this interface, while others are model-specific and are defined by
the model implementor. The range for model-specific types starts from
0x10000 and includes the upper 16 bits of int
value. The lower 16 bits are reserved for predefined generic event types.
getType in interface IElementChangeEventIElementChangeEvent.POST_CHANGE,
IElementChangeEvent.POST_RECONCILEpublic IElementDelta[] getDeltas()
IElementChangeEventgetDeltas in interface IElementChangeEventnull,
never empty). Clients must not modify the returned array.Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0