public void mouseClicked(MouseEvent e) {
        // clear the selection.
//        requestFocus();

        if (!(documentViewModel.getViewToolMode() ==
                DocumentViewModel.DISPLAY_TOOL_SELECTION ||
                documentViewModel.getViewToolMode() ==
                DocumentViewModel.DISPLAY_TOOL_LINK_ANNOTATION)&&
                isInteractiveAnnotationsEnabled) {

            if (documentViewController.getAnnotationCallback() != null) {
                documentViewController.getAnnotationCallback()
                        .proccessAnnotationAction(annotation);
            }
        } 
    }