Task #2128

Task #2425: Check the default preferences of all commands

Concordances, default preferences

Added by Sebastien Jacquot about 2 years ago. Updated 4 months 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.concordance.core/src/org/txm/concordance/preferences/ConcordancePreferences.java

Names:

    public static final String PREFERENCES_PREFIX = "concordance_"; //$NON-NLS-1$
    public static final String N_LINE_PER_PAGE = PREFERENCES_PREFIX + "n_line_per_page"; //$NON-NLS-1$
    public static final String LEFT_CONTEXT_SIZE = PREFERENCES_PREFIX + "left_context_size"; //$NON-NLS-1$
    public static final String RIGHT_CONTEXT_SIZE = PREFERENCES_PREFIX + "right_context_size"; //$NON-NLS-1$

Values:

    preferences.putInt(N_LINE_PER_PAGE, 100);
    preferences.putInt(LEFT_CONTEXT_SIZE, 8);
    preferences.putInt(RIGHT_CONTEXT_SIZE, 12);

Validation tests

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

History

#1 Updated by Sebastien Jacquot about 2 years ago

  • Parent task changed from #1464 to #2134

#2 Updated by Sebastien Jacquot almost 2 years ago

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

#3 Updated by Sebastien Jacquot about 1 year ago

  • Description updated (diff)

#4 Updated by Sebastien Jacquot 10 months ago

  • Parent task changed from #2134 to #2425

#5 Updated by Sebastien Jacquot 4 months ago

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

Also available in: Atom PDF