AnnotationConfigurationRegistry

Interface for objects that manage a list of AnnotationConfiguration for supported annotation types.

Functions

Link copied to clipboard
abstract fun get(@NonNull annotationType: AnnotationType): AnnotationConfiguration
Retrieve configuration for given annotation type.
abstract fun get(@NonNull annotationTool: AnnotationTool): AnnotationConfiguration
Retrieve configuration for given annotation tool.
abstract fun <T : AnnotationConfiguration?> get(@NonNull annotationType: AnnotationType, @NonNull requiredClass: Class<T>): T
Retrieve configuration for given annotation type casted to required configuration type.
Retrieve configuration for given annotation tool and its tool variant.
abstract fun <T : AnnotationConfiguration?> get(@NonNull annotationTool: AnnotationTool, @NonNull requiredClass: Class<T>): T
Retrieve configuration for given annotation tool casted to required configuration type.
abstract fun <T : AnnotationConfiguration?> get(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant, @NonNull requiredClass: Class<T>): T
Retrieve configuration for given annotation tool and its variant casted to required configuration type.
Link copied to clipboard
Tests if annotation type supports editing given property.
Tests if annotation tool supports editing given property.
Tests if annotation tool variant supports editing given property.
Link copied to clipboard
abstract fun isZIndexEditingSupported(@NonNull annotationType: AnnotationType): Boolean
Tests if annotation tool supports editing z-index on a given annotation type.
Link copied to clipboard
abstract fun put(@NonNull annotationType: AnnotationType, @Nullable configuration: AnnotationConfiguration)
Registers annotation configuration for given annotation type.
abstract fun put(@NonNull annotationTool: AnnotationTool, @Nullable configuration: AnnotationConfiguration)
abstract fun put(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant, @Nullable configuration: AnnotationConfiguration)
Registers configuration for given annotation tool.