Task #2125
Task #2425: Check the default preferences of all commands
AHC, 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.cah.core/src/org/txm/cah/core/preferences/CAHPreferences.java
Names:
public static final String PREFERENCES_PREFIX = "cah_"; //$NON-NLS-1$ public static final String DISPLAY_2D = PREFERENCES_PREFIX + "display_2d"; //$NON-NLS-1$ public static final String METHOD = PREFERENCES_PREFIX + "method"; //$NON-NLS-1$ public static final String METRIC = PREFERENCES_PREFIX + "metric"; //$NON-NLS-1$ public static final String N_CLUSTERS = PREFERENCES_PREFIX + "n_clusters"; //$NON-NLS-1$ public static final String COLUMNS_COMPUTING = PREFERENCES_PREFIX + "columns_computing"; //$NON-NLS-1$
Values:
preferences.putBoolean(DISPLAY_2D, true); preferences.putInt(N_CLUSTERS, 2); preferences.put(METHOD, "ward"); preferences.put(METRIC, "euclidean"); preferences.putBoolean(COLUMNS_COMPUTING, true);
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 changed from #1464 to #2112
#2 Updated by Sebastien Jacquot almost 4 years ago
- Description updated (diff)
- Status changed from New to Feedback
- % Done changed from 0 to 80
#3 Updated by Sebastien Jacquot about 3 years ago
- Description updated (diff)
#4 Updated by Sebastien Jacquot over 2 years ago
- Parent task changed from #2112 to #2425
#5 Updated by Sebastien Jacquot over 2 years ago
- Subject changed from CAH, default preferences to AHC, default preferences
#6 Updated by Sebastien Jacquot about 2 years ago
- Status changed from Feedback to Closed
- % Done changed from 80 to 100