/**
* Copyright (c) 2016 Yasser Aziza.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Yasser Aziza - initial implementation
*/
package org.eclipse.recommenders.completion.rcp;
public final class PreferenceConstants {
private PreferenceConstants() {
// Not meant to be instantiated
}
/**
* The minimum percentage (in the range [0, 100]) that a proposal needs to have before displaying it in the UI.
*/
public static final String PREF_MIN_PROPOSAL_PERCENTAGE = "min_proposal_percentage"; //$NON-NLS-1$
/**
* The maximal number of proposals recommended by the recommender.
*/
public static final String PREF_MAX_NUMBER_OF_PROPOSALS = "max_number_of_proposals"; //$NON-NLS-1$
/**
* Preference key for enabling a proposal relevance adjustment.
*/
public static final String PREF_UPDATE_PROPOSAL_RELEVANCE = "change_proposal_relevance"; //$NON-NLS-1$
/**
* Preference key for proposal icon decoration enablement.
*/
public static final String PREF_DECORATE_PROPOSAL_ICON = "decorate_proposal_icons"; //$NON-NLS-1$
/**
* Preference key to decorate the completion proposal's display string.
*/
public static final String PREF_DECORATE_PROPOSAL_TEXT = "decorate_proposal_text"; //$NON-NLS-1$
}