Révision 2535
tmp/org.txm.rcp/src/main/java/org/txm/rcp/preferences/UserPreferencePage.java (revision 2535) | ||
---|---|---|
39 | 39 |
* |
40 | 40 |
*/ |
41 | 41 |
public class UserPreferencePage extends RCPPreferencesPage { |
42 |
|
|
42 |
|
|
43 | 43 |
/** |
44 | 44 |
* Instantiates a new user preference page. |
45 | 45 |
*/ |
46 | 46 |
public UserPreferencePage() { |
47 | 47 |
super(); |
48 | 48 |
} |
49 |
|
|
49 |
|
|
50 | 50 |
@Override |
51 | 51 |
protected void createFieldEditors() { |
52 | 52 |
this.addField(new BooleanFieldEditor(RCPPreferences.USER_ALERT_DELETE, TXMUIMessages.doNotConfirmToDeleteAnObject, BooleanFieldEditor.SEPARATE_LABEL, this.getFieldEditorParent())); |
53 |
|
|
53 |
|
|
54 | 54 |
// Auto compute the result when a parameter changes |
55 |
this.addField(new BooleanFieldEditor(RCPPreferences.AUTO_UPDATE_EDITOR, TXMUIMessages.automaticRecomputingWhenChangingAParameter, BooleanFieldEditor.SEPARATE_LABEL, this.getFieldEditorParent())); |
|
55 |
this.addField(new BooleanFieldEditor(RCPPreferences.AUTO_UPDATE_EDITOR, TXMUIMessages.automaticRecomputingWhenChangingAParameter, BooleanFieldEditor.SEPARATE_LABEL, this |
|
56 |
.getFieldEditorParent())); |
|
56 | 57 |
|
57 | 58 |
this.addField(new BooleanFieldEditor(RCPPreferences.AUTO_COMPUTE_ON_EDITOR_OPEN, "Compute when opening its window", BooleanFieldEditor.SEPARATE_LABEL, this.getFieldEditorParent())); |
58 |
|
|
59 |
|
|
59 | 60 |
// Auto save each result after computing and auto load them at startup |
60 |
this.addField(new BooleanFieldEditor(TBXPreferences.AUTO_PERSISTENCE_ENABLED, TXMUIMessages.enableAutomaticSaveOfAllResultsPersistence, BooleanFieldEditor.SEPARATE_LABEL, this.getFieldEditorParent())); |
|
61 |
this.addField(new BooleanFieldEditor(TBXPreferences.AUTO_PERSISTENCE_ENABLED, TXMUIMessages.enableAutomaticSaveOfAllResultsPersistence, BooleanFieldEditor.SEPARATE_LABEL, this |
|
62 |
.getFieldEditorParent())); |
|
61 | 63 |
} |
62 |
} |
|
64 |
} |
Formats disponibles : Unified diff