properties = new Properties();
}
FileExistsDialogPanel dialog = new FileExistsDialogPanel(file, FileExistsDialogPanel.class.getSimpleName().toLowerCase(Locale.ENGLISH)+".file.text");
int opt = JOptionPane.showConfirmDialog(UITools.getFrame(), dialog, TextUtils.getText("workspace.fileexists.title."+ properties.getProperty("opType", "1")), JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
if(opt == JOptionPane.CANCEL_OPTION) {
throw new CancelExecutionException();
}
if(opt == JOptionPane.NO_OPTION) {
throw new SkipTaskException();
}
properties.setProperty("overwriteAll", String.valueOf(dialog.applyToAll()));