Interface AnnotationToolbarInitializer

All Superinterfaces:
AnnotationProfiles.Handler
All Known Implementing Classes:
AbstractAnnotationToolbarInitializer, DefaultAnnotationToolbarInitializer, IconFontAnnotationToolbarInitializer

public interface AnnotationToolbarInitializer extends AnnotationProfiles.Handler
An implementation of AnnotationToolbarInitializer can be used to create a toolbar for an AnnotationProfile. To do this you have to add it as a AnnotationProfiles.Handler to the AnnotationProfile.

Instantiate an AnnotationProfileAwareToolbar with your own implementation to achieve special behaviour. The default implementation is DefaultAnnotationToolbarInitializer. The easiest way to change CreateAnnotationCommand behaviour is, to extend the default implementation and overwrite its initCreateAnnotationCommand(AnnotationProfile, AnnotationFactory)-method.

An example can be found in the showcase .