Community
Participate
Working Groups
That support has been lost since moving from the pref dialog to wizard /** * The default extension for preferences files. */ protected static final String PREFERENCE_EXT = ".epf"; //$NON-NLS-1$
Here's the old code /** * Return the file name setting or a default value if there isn't one. * * @param export * <code>true</code> if an export file name is being looked * for. * * @return String if there is a good value to choose. Otherwise return * <code>null</code>. */ private String getFileNameSetting(boolean export) { String lastFileName = WorkbenchPlugin.getDefault().getDialogSettings().get( WorkbenchPreferenceDialog.FILE_PATH_SETTING); if (lastFileName == null) { if (export) return System.getProperty("user.dir") + System.getProperty("file.separator") + WorkbenchMessages.ImportExportPages_preferenceFileName + AbstractPreferenceImportExportPage.PREFERENCE_EXT; //$NON-NLS-1$//$NON-NLS-2$ } else if ((export) || (new File(lastFileName).exists())) { return lastFileName; } return null; }
/** * The accepted extensions for the file chooser dialog. */ public static final String[] DIALOG_PREFERENCE_EXTENSIONS = new String[] { "*" + PREFERENCE_EXT, "*.*" }; //$NON-NLS-1$ //$NON-NLS-2$
Shujie why were you removing the target milestone from this.
What I considered was moving all unresolved bugs for RC1 to RC2 since The deadline for RP1 has past. Sorry I'm not sure how to process changing the target milestones. I think I should talk with you or nick before I did.
MVM should this still be RC2?
yes
Created attachment 22525 [details] add ".epf" for export file add "*.*" to file browser dialog and extension ".epf" for export file
Created attachment 22621 [details] Patch 1of 3 Apply from: /org.eclipse.jface/src/org/eclipse/jface/wizard/WizardPage.java
Created attachment 22622 [details] Patch 2of 3 Apply from: org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardArchiveFileResourceExportPage1.java
Created attachment 22623 [details] Patch 2of 3 Apply from: org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardArchiveFileResourceExportPage1.java
Created attachment 22624 [details] Patch 3 of 3 Apply from: org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/wizards/preferences/
fixed in HEAD
Varified in Build 20050609-0010
Varified (again)in Build id: I20050610-1200