Package io.jmix.mapsflowui.sys.autowire
Class MapAutowireUtils
java.lang.Object
io.jmix.mapsflowui.sys.autowire.MapAutowireUtils
Helper class for
GeoMap
dependencies autowiring.-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
findGeoMapTarget
(Class<?> type, String name, com.vaadin.flow.component.Composite<?> composite) Finds the target in passed composite by ID.
-
Method Details
-
findGeoMapTarget
@Nullable public static Object findGeoMapTarget(Class<?> type, String name, com.vaadin.flow.component.Composite<?> composite) Finds the target in passed composite by ID.- Parameters:
type
- target typename
- ID pathcomposite
- composite for search- Returns:
- found target object or
null
if target not found - Throws:
IllegalStateException
- if the composite content is not a container
-