@Override
    protected boolean isEnabled(@NotNull JTree tree) {
      final AntConfiguration config = myConfig;
      return config != null && !config.getBuildFileList().isEmpty() && super.isEnabled(tree);
    }
@Override
    protected boolean isEnabled(@NotNull JTree tree)