Class AbstractEventProvidingContentProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventHandlersContentProvider
-
- com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventProvidingContentProvider
-
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
- Direct Known Subclasses:
EventHandlersViewerContentProvider
,FilterEventViewerContentProvider
public abstract class AbstractEventProvidingContentProvider extends AbstractEventHandlersContentProvider
Content provider which can provide configuration events.
-
-
Constructor Summary
Constructors Constructor Description AbstractEventProvidingContentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<Collection<Event>>
combineEvents(Collection<Event> events)
Combines events with equal name to single collection.protected Collection<Event>
getAllEvents(Configuration configuration)
Returns all events from given configuration.-
Methods inherited from class com._1c.g5.v8.dt.eventhandlers.ui.providers.AbstractEventHandlersContentProvider
dispose, getChildren, getParent, hasChildren, inputChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.viewers.ITreeContentProvider
getElements
-
-
-
-
Method Detail
-
getAllEvents
protected Collection<Event> getAllEvents(Configuration configuration)
Returns all events from given configuration.- Parameters:
configuration
- - configuration. Can't benull
.- Returns:
- all events. Can't be
null
.
-
combineEvents
protected Collection<Collection<Event>> combineEvents(Collection<Event> events)
Combines events with equal name to single collection.- Parameters:
events
- - events to combine. Can't benull
.- Returns:
- combined events. Can't return
null
.
-
-