public class ReplaceFileConfirmationDialog
extends java.lang.Object
Constructor and Description |
---|
ReplaceFileConfirmationDialog(Project project,
java.lang.String actionName) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<VirtualFile> |
collectModifiedFiles(VirtualFile[] files) |
boolean |
confirmFor(VirtualFile[] files) |
protected java.lang.String |
createMessage(java.util.Collection modifiedFiles) |
protected java.lang.String |
getCancelButtonText() |
protected java.lang.String |
getOkButtonTextForFiles() |
protected java.lang.String |
getOkButtonTextForOneFile() |
boolean |
requestConfirmation(java.util.Collection modifiedFiles) |
public ReplaceFileConfirmationDialog(Project project, java.lang.String actionName)
public boolean confirmFor(VirtualFile[] files)
public boolean requestConfirmation(java.util.Collection modifiedFiles)
protected java.lang.String getCancelButtonText()
protected java.lang.String getOkButtonTextForOneFile()
protected java.lang.String getOkButtonTextForFiles()
protected java.lang.String createMessage(java.util.Collection modifiedFiles)
public java.util.Collection<VirtualFile> collectModifiedFiles(VirtualFile[] files)