case DatasetImagesDiffPane.IMAGES_USED: images = control.getImagesInUserDatasetsDiff(); break;
    private void showImages()    {        int selectedIndex = view.selections.getSelectedIndex();        if (selectedIndex != selectionIndex) {            selectionIndex = selectedIndex;            List images = null;            switch (selectedIndex) {                case DatasetImagesDiffPane.IMAGES_IMPORTED:                    images = control.getImagesDiff(); break;                case DatasetImagesDiffPane.IMAGES_USED:                    images = control.getImagesInUserDatasetsDiff(); break;                case DatasetImagesDiffPane.IMAGES_GROUP:                    images = control.getImagesInUserGroupDiff(); break;                case DatasetImagesDiffPane.IMAGES_SYSTEM:                    images = control.getImagesInSystemDiff(); break;            }            if (images == null || images.size() == 0) return;            imagesDiff = images;            view.showImages(images);        }    }