Task #2128
Mis à jour par Sebastien Jacquot il y a plus de 7 ans
Done.
Location: /org.txm.concordance.core/src/org/txm/concordance/preferences/ConcordancePreferences.java
Names:
<pre>
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$
</pre>
Values:
<pre>
preferences.putInt(N_LINE_PER_PAGE, 100);
preferences.putInt(LEFT_CONTEXT_SIZE, 8);
preferences.putInt(RIGHT_CONTEXT_SIZE, 12);
</pre>
h3. Validation tests
* check the preferences are well filled in the user command preferences page
Location: /org.txm.concordance.core/src/org/txm/concordance/preferences/ConcordancePreferences.java
Names:
<pre>
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$
</pre>
Values:
<pre>
preferences.putInt(N_LINE_PER_PAGE, 100);
preferences.putInt(LEFT_CONTEXT_SIZE, 8);
preferences.putInt(RIGHT_CONTEXT_SIZE, 12);
</pre>
h3. Validation tests
* check the preferences are well filled in the user command preferences page