Task #2129

Task #2425: Check the default preferences of all commands

Progression, default preferences

Added by Sebastien Jacquot over 2 years ago. Updated about 1 year ago.

Status:Closed Start date:04/10/2017
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Development Spent time: -
Target version:TXM 0.8.0a (split/restructuration)

Description

Done.

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

Names:

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$

Values:

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

Validation tests

  • check the preferences are well filled in the user command preferences page

History

#1 Updated by Sebastien Jacquot over 2 years ago

  • Parent task changed from #1464 to #2137

#2 Updated by Sebastien Jacquot over 2 years ago

  • Description updated (diff)
  • Status changed from New to Feedback
  • % Done changed from 0 to 80

#3 Updated by Sebastien Jacquot almost 2 years ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot over 1 year ago

  • Parent task changed from #2137 to #2425

#5 Updated by Sebastien Jacquot about 1 year ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF