boolean (final DataContext dc) { final Project project = CommonDataKeys.PROJECT.getData(dc); return (project != null) && (UpdateInfoTree.LABEL_BEFORE.getData(dc) != null) && (UpdateInfoTree.LABEL_AFTER.getData(dc) != null); }