Task #2131
Task #2425: Check the default preferences of all commands
Texts Balance, default preferences
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.textsbalance.core/src/org/txm/textsbalance/core/preferences/TextsBalancePreferences.java
Names:
public static final String PREFERENCES_PREFIX = "texts_balance_"; //$NON-NLS-1$ public static final String GROUP_BY_WORDS = PREFERENCES_PREFIX + "count_by_words"; //$NON-NLS-1$ public static final String METHOD = PREFERENCES_PREFIX + "method"; //$NON-NLS-1$ // local result preferences public static final String STRUCTURAL_UNIT = PREFERENCES_PREFIX + "structural_unit"; //$NON-NLS-1$ public static final String STRUCTURAL_UNIT_PROPERTY_INDEX = PREFERENCES_PREFIX + "structural_unit_property_index"; //$NON-NLS-1$
Values:
preferences.putBoolean(GROUP_BY_WORDS, true); preferences.putInt(METHOD, 2); preferences.put(STRUCTURAL_UNIT, "text"); preferences.putInt(STRUCTURAL_UNIT_PROPERTY_INDEX, 0);
Validation tests¶
- check the preferences are well filled in the user command preferences page
History
#1 Updated by Sebastien Jacquot almost 4 years ago
- Parent task set to #1464
#2 Updated by Sebastien Jacquot almost 4 years ago
- Parent task changed from #1464 to #2135
#3 Updated by Sebastien Jacquot almost 4 years ago
- Description updated (diff)
#4 Updated by Sebastien Jacquot almost 4 years ago
- Description updated (diff)
- Status changed from New to Feedback
- % Done changed from 0 to 80
#5 Updated by Sebastien Jacquot about 3 years ago
- Description updated (diff)
#6 Updated by Sebastien Jacquot over 2 years ago
- Parent task changed from #2135 to #2425
#7 Updated by Sebastien Jacquot about 2 years ago
- Status changed from Feedback to Closed
- % Done changed from 80 to 100