PackagingElementPropertiesPanel (@NotNull ArchivePackagingElement element, @NotNull ArtifactEditorContext context) { final String name = element.getArchiveFileName(); if (JpsArtifactUtil.isArchiveName(name)) { return new ArchiveElementPropertiesPanel(element, context); } return null; }