Class ObjectIndex
java.lang.Object
com._1c.g5.v8.dt.internal.validation.indexing.ObjectIndex
Indexes for data related to the marker's object. Uses
dynamic data providers
.
Caches results for faster indexing.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MarkerIndex
Searching index for marker's object.static final MarkerIndex
Searching index for marker's object subsystems. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Drops all cache entries.static String
loadObjectPresentation
(org.eclipse.emf.ecore.EObject object) Returns human-friendly localized string representation of the object.loadSubsystemsPresentation
(Marker marker, org.eclipse.emf.ecore.EObject object) Returns human-friendly localized string representation of the object's subsystems.
-
Field Details
-
OBJECT_SEARCHING_INDEX
Searching index for marker's object. -
SUBSYSTEMS_SEARCHING_INDEX
Searching index for marker's object subsystems.
-
-
Method Details
-
loadObjectPresentation
Returns human-friendly localized string representation of the object.- Parameters:
object
- object to return presentation for, cannot benull
.- Returns:
- human-friendly localized string representation of the object, never
null
.
-
loadSubsystemsPresentation
public static List<String> loadSubsystemsPresentation(Marker marker, org.eclipse.emf.ecore.EObject object) Returns human-friendly localized string representation of the object's subsystems.- Parameters:
marker
- marker, cannot benull
.object
- object to return presentation for, cannot benull
.- Returns:
- human-friendly localized string representation of the object's subsystems, never
null
.
-
dropCache
public static void dropCache()Drops all cache entries.
-