Class ProblemsLabelDecorator.ProblemsLabelChangedEvent

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    ProblemsLabelDecorator

    public static class ProblemsLabelDecorator.ProblemsLabelChangedEvent
    extends LabelProviderChangedEvent
    This is a special LabelProviderChangedEvent carrying additional information whether the event origins from a maker change.

    ProblemsLabelChangedEvents are only generated by ProblemsLabelDecorators.

    See Also:
    Serialized Form
    • Constructor Detail

      • ProblemsLabelChangedEvent

        public ProblemsLabelChangedEvent​(IBaseLabelProvider eventSource,
                                         IResource[] changedResource,
                                         boolean isMarkerChange)
        Parameters:
        eventSource - the base label provider
        changedResource - the changed resources
        isMarkerChange - true if the change is a marker change; otherwise false
    • Method Detail

      • isMarkerChange

        public boolean isMarkerChange()
        Returns whether this event origins from marker changes. If false an annotation model change is the origin. In this case viewers not displaying working copies can ignore these events.
        Returns:
        if this event origins from a marker change.