Task #2129

Updated by Sebastien Jacquot about 3 years ago

Done.

Location: /org.txm.progression.core/src/org/txm/progression/core/preferences/ProgressionPreferences.java

Names:

<pre>
public static final String PREFERENCES_PREFIX = "progression_"; //$NON-NLS-1$

/** The Constant CUMULATIVE. */
public static final String CHART_CUMULATIVE = PREFERENCES_PREFIX + "chart_cumulative"; //$NON-NLS-1$

/** The Constant REPEAT_VALUES. */
public static final String CHART_REPEAT_VALUES = PREFERENCES_PREFIX + "chart_repeat_values"; //$NON-NLS-1$

/** The Constant BANDE_MULTIPLIER. */
public static final String CHART_BANDE_MULTIPLIER = PREFERENCES_PREFIX + "chart_bande_multiplier"; //$NON-NLS-1$

/** The Constant MONO_STYLE. */
public static final String CHART_MONO_STYLE = PREFERENCES_PREFIX + "chart_mono_style"; //$NON-NLS-1$
</pre>

Values:

<pre>
preferences.putBoolean(CHART_CUMULATIVE, true);
preferences.putBoolean(CHART_REPEAT_VALUES, false);
preferences.putDouble(CHART_BANDE_MULTIPLIER, 1.0d);
preferences.putBoolean(CHART_MONO_STYLE, true);
</pre>

Back