artifacts editor: create manifest file if needed, highlighting fixed

This commit is contained in:
nik
2009-11-20 14:33:01 +03:00
parent ac12d94e35
commit aa3c7bae15
16 changed files with 186 additions and 196 deletions
@@ -45,11 +45,9 @@ public interface ArtifactEditorContext extends PackagingElementResolvingContext
@Nullable
ModifiableModuleModel getModifiableModuleModel();
@NotNull
@Nullable
ManifestFileConfiguration getManifestFile(CompositePackagingElement<?> element, ArtifactType artifactType);
boolean isManifestFile(String path);
CompositePackagingElement<?> getRootElement(@NotNull Artifact artifact);
@@ -33,7 +33,7 @@ public class ManifestFileConfiguration {
copyFrom(configuration);
}
public ManifestFileConfiguration(@Nullable List<String> classpath, @Nullable String mainClass, @Nullable String manifestFilePath) {
public ManifestFileConfiguration(@NotNull String manifestFilePath, @Nullable List<String> classpath, @Nullable String mainClass) {
if (classpath != null) {
myClasspath.addAll(classpath);
}