protected ArtifactConfigurableBase( Artifact originalArtifact, ArtifactsStructureConfigurableContextImpl artifactsStructureContext, Runnable updateTree, final boolean nameEditable) { super(nameEditable, updateTree); myOriginalArtifact = originalArtifact; myArtifactsStructureContext = artifactsStructureContext; myProjectStructureElement = myArtifactsStructureContext.getOrCreateArtifactElement(myOriginalArtifact); }
protected Artifact getArtifact() { return myArtifactsStructureContext.getArtifactModel().getArtifactByOriginal(myOriginalArtifact); }