void (final CompositePackagingElement<?> element, List<String> classpath) { myLayoutTreeComponent.saveElementProperties(); ManifestFileConfiguration manifest = myContext.getManifestFile(element, getArtifact().getArtifactType()); if (manifest == null) { final VirtualFile file = ManifestFileUtil.showDialogAndCreateManifest(myContext, element); if (file == null) { return; } ManifestFileUtil.addManifestFileToLayout(file.getPath(), myContext, element); manifest = myContext.getManifestFile(element, getArtifact().getArtifactType()); } if (manifest != null) { manifest.addToClasspath(classpath); } myLayoutTreeComponent.resetElementProperties(); }