class AdvancedAnnotationListEditor implements IsWidget,
                   AdvancedAnnotationListEditorView.Presenter {

    protected void onDeleteAnnotation(final Annotation annotation) {
        String message = Constants.INSTANCE.advanced_domain_annotation_list_editor_message_confirm_annotation_deletion(
                annotation.getClassName(),
                (elementType != null ? elementType.name() : " object/field"));
        view.showYesNoDialog(message,
                             getDeleteAnnotationCommand(annotation),
                             getNoActionCommand(),
                             getNoActionCommand());
    }

    @Inject public  AdvancedAnnotationListEditor(AdvancedAnnotationListEditorView view,
                                        Caller<DataModelerService> modelerService,
                                        Instance<ValuePairEditorPopup> valuePairEditorInstance,
                                        Instance<AnnotationListItem> itemInstance);

}