| /*=============================================================================# |
| # Copyright (c) 2011, 2019 Stephan Wahlbrink and others. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License 2.0 which is available at |
| # https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 |
| # which is available at https://www.apache.org/licenses/LICENSE-2.0. |
| # |
| # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 |
| # |
| # Contributors: |
| # Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation |
| #=============================================================================*/ |
| |
| package org.eclipse.statet.yaml.ui.editors; |
| |
| import org.eclipse.statet.jcommons.lang.NonNullByDefault; |
| |
| import org.eclipse.statet.ecommons.preferences.core.Preference.BooleanPref; |
| |
| import org.eclipse.statet.yaml.ui.sourceediting.YamlEditingSettings; |
| |
| |
| @NonNullByDefault |
| public class YamlEditorBuild { |
| |
| |
| public static final String GROUP_ID= "Yaml/editor/build"; //$NON-NLS-1$ |
| |
| |
| public static final BooleanPref PROBLEMCHECKING_ENABLED_PREF= new BooleanPref( |
| YamlEditingSettings.EDITING_PREF_QUALIFIER, "ProblemChecking.enabled"); //$NON-NLS-1$ |
| |
| |
| public static final String ERROR_ANNOTATION_TYPE= "org.eclipse.statet.yaml.ui.error"; //$NON-NLS-1$ |
| public static final String WARNING_ANNOTATION_TYPE= "org.eclipse.statet.yaml.ui.warning"; //$NON-NLS-1$ |
| public static final String INFO_ANNOTATION_TYPE= "org.eclipse.statet.yaml.ui.info"; //$NON-NLS-1$ |
| |
| } |