Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the "preview preferences" and enable the clean up option by default (#1932) #1933

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading