org.eclipse.jdt.ui
Class ProblemsLabelDecorator.ProblemsLabelChangedEvent
java.lang.Object
java.util.EventObject
org.eclipse.jface.viewers.LabelProviderChangedEvent
org.eclipse.jdt.ui.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.
ProblemsLabelChangedEvent
s are only generated by
ProblemsLabelDecorator
s.
- See Also:
- Serialized Form
Method Summary |
boolean |
isMarkerChange()
Returns whether this event origins from marker changes. |
ProblemsLabelDecorator.ProblemsLabelChangedEvent
public ProblemsLabelDecorator.ProblemsLabelChangedEvent(IBaseLabelProvider eventSource,
IResource[] changedResource,
boolean isMarkerChange)
- Note: This constructor is for internal use only. Clients should not call this constructor.
- Parameters:
eventSource
- the base label providerchangedResource
- the changed resourcesisMarkerChange
- true if the change is a marker change; otherwise
false
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.
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.