}
}
public void doUpdate(AnActionEvent event) {
try {
GenerateFavorites_ActionGroup.this.removeAll();
<BUG>Project project = MPSDataKeys.PROJECT.getData(event.getDataContext());
ProjectView projectView = ProjectView.getInstance(project);
AbstractProjectViewPane pane = projectView.getCurrentProjectViewPane();
boolean isInFavorites = pane instanceof FavoritesProjectPane;
if (!(isInFavorites)) {</BUG>
return;

}
}
public void doUpdate(AnActionEvent event) {
try {
GenerateFavorites_ActionGroup.this.removeAll();
Project project = MPSDataKeys.PROJECT.getData(event.getDataContext());
if (!(FavoritesUtil.isActiveFavorites(project))) {
