if (node == null) view.onDisplayChange( model.getParentModel().getBrowser().getSelectedDisplay()); else firePropertyChange(ClipBoard.LOCALIZE_IMAGE_DISPLAY, null, node);
    public void setPaneIndex(int index)    {        if (index != SEARCH_PANEL && index != ANNOTATION_PANEL)            throw new IllegalArgumentException("Pane index not valid.");        if (model.getPaneIndex() == index) return;        model.setPaneIndex(index);        view.onDisplayChange(                model.getParentModel().getBrowser().getSelectedDisplay());        view.setSelectedPane(index);        if (index != ANNOTATION_PANEL) discardAnnotation();    }