public class ArtifactEditorContextImpl extends java.lang.Object implements ArtifactEditorContext
Constructor and Description |
---|
ArtifactEditorContextImpl(ArtifactsStructureConfigurableContext parent,
ArtifactEditorEx editor) |
public ArtifactEditorContextImpl(ArtifactsStructureConfigurableContext parent, ArtifactEditorEx editor)
public ModifiableArtifactModel getOrCreateModifiableArtifactModel()
getOrCreateModifiableArtifactModel
in interface ArtifactEditorContext
public ModifiableModuleModel getModifiableModuleModel()
getModifiableModuleModel
in interface ArtifactEditorContext
public ModifiableRootModel getOrCreateModifiableRootModel(Module module)
getOrCreateModifiableRootModel
in interface ArtifactEditorContext
public ManifestFileConfiguration getManifestFile(CompositePackagingElement<?> element, ArtifactType artifactType)
getManifestFile
in interface ArtifactEditorContext
public Project getProject()
getProject
in interface PackagingElementResolvingContext
public CompositePackagingElement<?> getRootElement(Artifact artifact)
getRootElement
in interface ArtifactEditorContext
public void editLayout(Artifact artifact, java.lang.Runnable runnable)
editLayout
in interface ArtifactEditorContext
public ArtifactEditor getOrCreateEditor(Artifact artifact)
getOrCreateEditor
in interface ArtifactEditorContext
public ArtifactEditor getThisArtifactEditor()
getThisArtifactEditor
in interface ArtifactEditorContext
public void selectArtifact(Artifact artifact)
selectArtifact
in interface ArtifactEditorContext
public void selectFacet(Facet<?> facet)
selectFacet
in interface ArtifactEditorContext
public void selectModule(Module module)
selectModule
in interface ArtifactEditorContext
public void selectLibrary(Library library)
selectLibrary
in interface ArtifactEditorContext
public java.util.List<Artifact> chooseArtifacts(java.util.List<? extends Artifact> artifacts, java.lang.String title)
chooseArtifacts
in interface ArtifactEditorContext
public ArtifactModel getArtifactModel()
getArtifactModel
in interface PackagingElementResolvingContext
public ModulesProvider getModulesProvider()
getModulesProvider
in interface PackagingElementResolvingContext
public FacetsProvider getFacetsProvider()
getFacetsProvider
in interface PackagingElementResolvingContext
public Library findLibrary(java.lang.String level, java.lang.String libraryName)
findLibrary
in interface PackagingElementResolvingContext
public ManifestFileProvider getManifestFileProvider()
getManifestFileProvider
in interface PackagingElementResolvingContext
public void queueValidation()
queueValidation
in interface ArtifactEditorContext
public ArtifactType getArtifactType()
getArtifactType
in interface ArtifactEditorContext
public java.util.List<Module> chooseModules(java.util.List<? extends Module> modules, java.lang.String title)
chooseModules
in interface ArtifactEditorContext
public java.util.List<Library> chooseLibraries(java.lang.String title)
chooseLibraries
in interface ArtifactEditorContext
public Artifact getArtifact()
getArtifact
in interface ArtifactEditorContext
public ArtifactsStructureConfigurableContext getParent()