Task #2132

Task #2425: Check the default preferences of all commands

Wordcloud, default preferences

Added by Sebastien Jacquot about 2 years ago. Updated 5 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.wordcloud.core/src/org/txm/wordcloud/core/preferences/WordCloudPreferences.java

Names:

public static final String PREFERENCES_PREFIX = "wordcloud_";

public static final String MAX_WORDS = PREFERENCES_PREFIX + "max_words"; //$NON-NLS-1$
public static final String FMIN = PREFERENCES_PREFIX + "f_min"; //$NON-NLS-1$
public static final String ROT = PREFERENCES_PREFIX + "rotation_percent"; //$NON-NLS-1$
public static final String RANDOM_POSITION = PREFERENCES_PREFIX + "random_positions"; //$NON-NLS-1$

Values:

preferences.putInt(MAX_WORDS, 50);
preferences.putInt(FMIN, 20);
preferences.putInt(ROT, 10);
preferences.putBoolean(RANDOM_POSITION, false);

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 #1861

#2 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot about 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 80

#4 Updated by Sebastien Jacquot about 2 years ago

  • Description updated (diff)

#5 Updated by Sebastien Jacquot over 1 year ago

  • Description updated (diff)

#6 Updated by Sebastien Jacquot 11 months ago

  • Parent task changed from #1861 to #2425

#7 Updated by Sebastien Jacquot 5 months ago

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

Also available in: Atom PDF