diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java index 97514b5c1d7..67e5c87c63c 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/PreferenceConstants.java @@ -637,109 +637,6 @@ public class PreferenceConstants { */ public static final String ID_BESTMATCH_HOVER= "org.eclipse.cdt.ui.BestMatchHover"; //$NON-NLS-1$ - - public static final String REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD= "Refactoring.ErrorPage.severityThreshold"; //$NON-NLS-1$ - public static final String REFACTOR_FATAL_SEVERITY= "4"; //$NON-NLS-1$ - public static final String REFACTOR_ERROR_SEVERITY= "3"; //$NON-NLS-1$ - public static final String REFACTOR_WARNING_SEVERITY= "2"; //$NON-NLS-1$ - public static final String REFACTOR_INFO_SEVERITY= "1"; //$NON-NLS-1$ - public static final String REFACTOR_OK_SEVERITY= "0"; //$NON-NLS-1$ - public static final String REFACTOR_SAVE_ALL_EDITORS= "Refactoring.savealleditors"; //$NON-NLS-1$ - - - /** - * A named preference that controls if the C Browsing views are linked to the active editor. - *
- * Value is of type Boolean
.
- *
- * Value is of type Boolean
. If true
the views are stacked vertical.
- * If
false
they are stacked horizontal.
- *
- * Value is of type Boolean
.
- *
- * Value is of type Boolean
.
- *
- * Value is of type Boolean
.
- *
- * Value is of type Boolean
.
- *
- * Value is of type Boolean
.
- *
- * Value is of type String
: possible values are
- * OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE
or
- * OPEN_TYPE_HIERARCHY_IN_VIEW_PART
.
- *
OPEN_TYPE_HIERARCHY
.
- *
- * @see #OPEN_TYPE_HIERARCHY
- */
- public static final String OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE= "perspective"; //$NON-NLS-1$
-
- /**
- * A string value used by the named preference OPEN_TYPE_HIERARCHY
.
- *
- * @see #OPEN_TYPE_HIERARCHY
- */
- public static final String OPEN_TYPE_HIERARCHY_IN_VIEW_PART= "viewPart"; //$NON-NLS-1$
-
/**
* A named preference that controls if the Outline view.
* @@ -899,15 +796,6 @@ public class PreferenceConstants { */ public final static String ENSURE_NEWLINE_AT_EOF = "ensureNewlineAtEOF"; //$NON-NLS-1$ - /** - * Returns the CDT-UI preference store. - * - * @return the CDT-UI preference store - */ - public static IPreferenceStore getPreferenceStore() { - return CUIPlugin.getDefault().getPreferenceStore(); - } - /** * A named preference that defines whether the hint to make hover sticky should be shown. * @@ -995,6 +883,14 @@ public class PreferenceConstants { */ public static final String EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED= "semanticHighlighting.enabled"; //$NON-NLS-1$ + /** + * Returns the CDT-UI preference store. + * + * @return the CDT-UI preference store + */ + public static IPreferenceStore getPreferenceStore() { + return CUIPlugin.getDefault().getPreferenceStore(); + } /** * Initializes the given preference store with the default values.