PackagingElementPropertiesPanel (@NotNull DirectoryPackagingElement element, @NotNull ArtifactEditorContext context) { if (JpsArtifactUtil.isArchiveName(element.getDirectoryName())) { return new DirectoryElementPropertiesPanel(element, context); } return null; }