case OPEN_LDIF_FILE:
fc.setFileSelectionMode(JFileChooser.FILES_ONLY);
fc.setDialogType(JFileChooser.OPEN_DIALOG);
fc.setDialogTitle(INFO_OPEN_LDIF_FILE_DIALOG_TITLE.get().toString());
ExtensionFileFilter ldifFiles =
new ExtensionFileFilter("ldif",
INFO_LDIF_FILES_DESCRIPTION.get().toString());
fc.addChoosableFileFilter(ldifFiles);
fc.setFileFilter(ldifFiles);
break;
case CREATE_LDIF_FILE:
fc.setFileSelectionMode(JFileChooser.FILES_ONLY);
fc.setDialogType(JFileChooser.SAVE_DIALOG);
fc.setDialogTitle(INFO_OPEN_LDIF_FILE_DIALOG_TITLE.get().toString());
ldifFiles = new ExtensionFileFilter("ldif",
INFO_LDIF_FILES_DESCRIPTION.get().toString());
fc.addChoosableFileFilter(ldifFiles);
fc.setFileFilter(ldifFiles);
break;
case OPEN_ZIP_FILE:
fc.setFileSelectionMode(JFileChooser.FILES_ONLY);
fc.setDialogType(JFileChooser.OPEN_DIALOG);
fc.setDialogTitle(INFO_OPEN_ZIP_FILE_DIALOG_TITLE.get().toString());
ExtensionFileFilter zipFiles =
new ExtensionFileFilter("zip",
INFO_ZIP_FILES_DESCRIPTION.get().toString());
fc.addChoosableFileFilter(zipFiles);
fc.setFileFilter(zipFiles);
break;