hasDataToSave(display);
    public void setSelectedDisplays(TreeImageDisplay[] nodes)    {        if (nodes.length == 0) return;        TreeImageDisplay oldDisplay = model.getLastSelectedDisplay();        TreeImageDisplay display = nodes[nodes.length-1];        if (oldDisplay != null && oldDisplay.equals(display)) return;        model.setSelectedDisplays(nodes);        firePropertyChange(SELECTED_DISPLAY_PROPERTY, oldDisplay, display);    }