~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.ui/src/com/bdaum/zoom/ui/internal/wizards/PreferenceTargetPage.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
import org.eclipse.swt.layout.GridData;
8
8
import org.eclipse.swt.widgets.Composite;
9
9
 
 
10
import com.bdaum.zoom.program.BatchConstants;
10
11
import com.bdaum.zoom.ui.internal.widgets.FileEditor;
11
12
import com.bdaum.zoom.ui.wizards.ColoredWizardPage;
12
13
 
29
30
                fileEditor = new FileEditor(composite, SWT.SAVE, Messages.PreferenceTargetPage_target_file, true,
30
31
                                new String[] { "*.zpf" }, //$NON-NLS-1$
31
32
                                new String[] { Messages.PreferenceTargetPage_user_preferences }, null,
32
 
                                path == null ? "ZoraPD_Preferences.zpf" : path, true); //$NON-NLS-1$
 
33
                                path == null ? BatchConstants.APP_PREFERENCES : path, true);
33
34
                fileEditor.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
34
35
                                false, 3, 1));
35
36
                fileEditor.addModifyListener(new ModifyListener() {