public class ArtifactEditorImpl extends java.lang.Object implements ArtifactEditorEx
Disposable.Parent
ARTIFACTS_EDITOR_KEY
Constructor and Description |
---|
ArtifactEditorImpl(ArtifactsStructureConfigurableContext context,
Artifact artifact,
ArtifactEditorSettings settings) |
public ArtifactEditorImpl(ArtifactsStructureConfigurableContext context, Artifact artifact, ArtifactEditorSettings settings)
protected ArtifactEditorContextImpl createArtifactEditorContext(ArtifactsStructureConfigurableContext parentContext)
public void apply()
public SourceItemsTree getSourceItemsTree()
public void addListener(ArtifactEditorListener listener)
public ArtifactEditorContextImpl getContext()
getContext
in interface ArtifactEditorEx
public void removeListener(ArtifactEditorListener listener)
public Artifact getArtifact()
getArtifact
in interface ArtifactEditorEx
public CompositePackagingElement<?> getRootElement()
getRootElement
in interface ArtifactEditorEx
public void rebuildTries()
rebuildTries
in interface ArtifactEditorEx
public void queueValidation()
queueValidation
in interface ArtifactEditorEx
public javax.swing.JComponent createMainComponent()
public void updateShowContentCheckbox()
public ArtifactEditorSettings createSettings()
public java.util.List<AnAction> createNewElementActions()
public ComplexElementSubstitutionParameters getSubstitutionParameters()
getSubstitutionParameters
in interface ArtifactEditorEx
public javax.swing.JComponent getMainComponent()
getMainComponent
in interface ArtifactEditorEx
public void addNewPackagingElement(PackagingElementType<?> type)
addNewPackagingElement
in interface ArtifactEditorEx
public void removeSelectedElements()
removeSelectedElements
in interface ArtifactEditorEx
public void removePackagingElement(java.lang.String pathToParent, PackagingElement<?> element)
removePackagingElement
in interface ArtifactEditorEx
public void replacePackagingElement(java.lang.String pathToParent, PackagingElement<?> element, PackagingElement<?> replacement)
replacePackagingElement
in interface ArtifactEditorEx
public boolean isModified()
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isDisposed()
isDisposed
in interface ArtifactEditor
public LayoutTreeComponent getLayoutTreeComponent()
getLayoutTreeComponent
in interface ArtifactEditorEx
public void updateOutputPath(java.lang.String oldArtifactName, java.lang.String newArtifactName)
public void updateLayoutTree()
updateLayoutTree
in interface ArtifactEditor
public void putLibraryIntoDefaultLocation(Library library)
putLibraryIntoDefaultLocation
in interface ArtifactEditor
public void putModuleIntoDefaultLocation(Module module)
putModuleIntoDefaultLocation
in interface ArtifactEditor
public void addToClasspath(CompositePackagingElement<?> element, java.util.List<java.lang.String> classpath)
addToClasspath
in interface ArtifactEditor
public void setArtifactType(ArtifactType artifactType)
public ArtifactValidationManagerImpl getValidationManager()
public java.lang.String getHelpTopic()