@Override public Renderer getRenderer(AnnotationLayer aLayer) { return new ChainRenderer(createAdapter(aLayer), featureSupportRegistry, layerBehaviorsRegistry.getLayerBehaviors(this, SpanLayerBehavior.class)); } }
@Bean public LayerSupportRegistry layerSupportRegistry() { return new LayerSupportRegistryImpl(asList( new SpanLayerSupport(featureSupportRegistry(), null, annotationService(), null), new RelationLayerSupport(featureSupportRegistry(), null, annotationService(), null), new ChainLayerSupport(featureSupportRegistry(), null, annotationService(), null))); } }
new RelationLayerSupport(featureSupportRegistry, null, schemaService, layerBehaviorRegistry), new ChainLayerSupport(featureSupportRegistry, null, schemaService, layerBehaviorRegistry))); layerRegistry.init();
new RelationLayerSupport(featureSupportRegistry, null, annotationSchemaService, layerBehaviorRegistry), new ChainLayerSupport(featureSupportRegistry, null, annotationSchemaService, layerBehaviorRegistry))); layerSupportRegistry.init();
@Override public Renderer getRenderer(AnnotationLayer aLayer) { return new ChainRenderer(createAdapter(aLayer), featureSupportRegistry, layerBehaviorsRegistry.getLayerBehaviors(this, SpanLayerBehavior.class)); } }