Task #2132

Updated by Sebastien Jacquot about 3 years ago

Done.

Names:

<pre>
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$
</pre>

Values:

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

Back