Interface TextPropertyProviderFactory
-
- All Known Implementing Classes:
TextPropertyProviderFactoryImpl
public interface TextPropertyProviderFactoryA factory to provide an instance ofTextPropertyProviderfor a givenElement.
-
-
Field Summary
Fields Modifier and Type Field Description static intCATCH_ALL_PRIORITYThe priority of anyTextPropertyProviderthat should behave as the "catch all" implementation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextPropertyProvidergetProvider(org.kie.workbench.common.stunner.core.graph.Element<? extends org.kie.workbench.common.stunner.core.graph.content.definition.Definition> element)Gets a provider for the givenElement.
-
-
-
Field Detail
-
CATCH_ALL_PRIORITY
static final int CATCH_ALL_PRIORITY
The priority of anyTextPropertyProviderthat should behave as the "catch all" implementation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getProvider
TextPropertyProvider getProvider(org.kie.workbench.common.stunner.core.graph.Element<? extends org.kie.workbench.common.stunner.core.graph.content.definition.Definition> element)
Gets a provider for the givenElement.- Parameters:
element- The element for which to retrieve the property representing the caption.- Returns:
- The caption.
-
-