org.eclipse.cdt.internal.ui.viewsupport
Class ProblemsLabelDecorator.ProblemsLabelChangedEvent
java.lang.Object
java.util.EventObject
org.eclipse.jface.viewers.LabelProviderChangedEvent
org.eclipse.cdt.internal.ui.viewsupport.ProblemsLabelDecorator.ProblemsLabelChangedEvent
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ProblemsLabelDecorator
public static class ProblemsLabelDecorator.ProblemsLabelChangedEvent
- extends org.eclipse.jface.viewers.LabelProviderChangedEvent
This is a special LabelProviderChangedEvent
carring additional
information whether the event orgins from a maker change.
ProblemsLabelChangedEvent
s are only generated by
ProblemsLabelDecorator
s.
- See Also:
- Serialized Form
Constructor Summary |
ProblemsLabelDecorator.ProblemsLabelChangedEvent(org.eclipse.jface.viewers.IBaseLabelProvider source,
org.eclipse.core.resources.IResource[] changedResource,
boolean isMarkerChange)
Note: This constructor is for internal use only. |
Method Summary |
boolean |
isMarkerChange()
Returns whether this event origins from marker changes. |
Methods inherited from class org.eclipse.jface.viewers.LabelProviderChangedEvent |
getElement, getElements |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProblemsLabelDecorator.ProblemsLabelChangedEvent
public ProblemsLabelDecorator.ProblemsLabelChangedEvent(org.eclipse.jface.viewers.IBaseLabelProvider source,
org.eclipse.core.resources.IResource[] changedResource,
boolean isMarkerChange)
- Note: This constructor is for internal use only. Clients should not call this constructor.
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.