Skip to content

Commit

Permalink
Rename the "preview preferences" and enable the clean up option by
Browse files Browse the repository at this point in the history
default (#1932)
  • Loading branch information
speckyspooky committed Oct 6, 2024
1 parent ee625c6 commit 9acb09f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Properties file for org.eclipse.birt.report.designer.ui.preview.static_html
page.name = New Preview Prototype Preferences
page.name = Preview Preferences
Bundle-Name = BIRT Static HTML
Bundle-Vendor = Eclipse BIRT Project
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
*/
public class PreferenceConstants {

/** property: temporary path preference */
public static final String TEMP_PATH = "tempPathPreference"; //$NON-NLS-1$

/** property: clean up preference of temporary path */
public static final String CLEAM_TEMP = "cleanTempPreference"; //$NON-NLS-1$

}
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ public void createFieldEditors() {
getFieldEditorParent());
addField(tempFolder);

addField(new BooleanFieldEditor(PreferenceConstants.CLEAM_TEMP, "&Clean temporary folder on exist", //$NON-NLS-1$
getFieldEditorParent()));

BooleanFieldEditor cleanTemp = new BooleanFieldEditor(PreferenceConstants.CLEAM_TEMP, "&Clean temporary folder on exist", //$NON-NLS-1$
getFieldEditorParent());
cleanTemp.setEnabled(true, getFieldEditorParent());
addField(cleanTemp);
}

/*
Expand Down

0 comments on commit 9acb09f

Please sign in to comment.