Class ElementChangeEvent

java.lang.Object
org.eclipse.handly.model.impl.support.ElementChangeEvent
All Implemented Interfaces:
IElementChangeEvent

public class ElementChangeEvent extends Object implements IElementChangeEvent
Default implementation of IElementChangeEvent.
  • Constructor Details

  • Method Details

    • getType

      public int getType()
      Description copied from interface: IElementChangeEvent
      Returns the type of event being reported.

      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.

      Specified by:
      getType in interface IElementChangeEvent
      Returns:
      the type of event being reported
      See Also:
    • getDeltas

      public IElementDelta[] getDeltas()
      Description copied from interface: IElementChangeEvent
      Returns the top-level deltas describing the change. Each top-level delta describes a change in a separate element tree.
      Specified by:
      getDeltas in interface IElementChangeEvent
      Returns:
      the top-level deltas describing the change (never null, never empty). Clients must not modify the returned array.