public void clearSelectedText() {
        ArrayList<WeakReference<AbstractPageViewComponent>> selectedPages =
                documentViewModel.getSelectedPageText();
        documentViewModel.setSelectAll(false);
        if (selectedPages != null &&
                selectedPages.size() > 0) {
            for (WeakReference<AbstractPageViewComponent> page : selectedPages) {
                PageViewComponent pageComp = page.get();
                if (pageComp != null) {
                    pageComp.clearSelectedText();
                }
            }
            selectedPages.clear();
            documentView.repaint();
        }
        // fire property change
        firePropertyChange(PropertyConstants.TEXT_DESELECTED,
                    null,
                    null);

    }