@Override
    public boolean remove(@NotNull Collection<? extends Artifact> artifacts) {
      for (Artifact artifact : artifacts) {
        myPackagingEditorContext.getOrCreateModifiableArtifactModel().removeArtifact(artifact);
        myContext.getDaemonAnalyzer().removeElement(myPackagingEditorContext.getOrCreateArtifactElement(artifact));
      }
      return true;
    }
@Override
    public boolean remove(@NotNull Collection<? extends Artifact> artifacts)