Class IndexProvider
java.lang.Object
com._1c.g5.v8.dt.internal.validation.indexing.IndexProvider
- All Implemented Interfaces:
IMarkerIndexProvider
Provides additional marker indexes, which are not included to
MarkerIndex.DEFAULT_MARKER_INDEXES
, because
they use dynamic marker data
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IndexProvider
public IndexProvider()
-
-
Method Details
-
getMarkerIndexes
Description copied from interface:IMarkerIndexProvider
Returns additional marker indexes forIMarkerManagerV2
to use.To create a new index call
MarkerIndex.from(String, Class, Function, Function, Activity...)
with necessary arguments.This method is called by
IMarkerManagerV2
only once during itsactivation
. Mind that it's very early during the Eclipse startup routine.The returned indexes are used for all markers all the way until
deactivation
(essentially, until the application closes).- Specified by:
getMarkerIndexes
in interfaceIMarkerIndexProvider
- Returns:
- additional marker indexes for
IMarkerManagerV2
to use. Nevernull
.
-