boolean (final DataContext dc) { final Project project = CommonDataKeys.PROJECT.getData(dc); if (project == null) return false; List<ShelvedChangeList> changeLists = ShelvedChangesViewManager.getShelvedLists(dc); return changeLists.size() == 1; }