List<AnAction> titleActions = ContainerUtil.newSmartList();
myActionGroup.removeAll();
if (ProjectViewDirectoryHelper.getInstance(myProject).supportsFlattenPackages()) {
List<AnAction> titleActions = ContainerUtil.newSmartList();
myActionGroup.removeAll();
if (ProjectViewDirectoryHelper.getInstance(myProject).supportsFlattenPackages()) {